21#ifndef _TLPGRAPHMEASEURE_H
22#define _TLPGRAPHMEASEURE_H
24#include <tulip/Node.h>
25#include <tulip/StaticProperty.h>
26#include <tulip/GraphTools.h>
39TLP_SCOPE
double averagePathLength(
const Graph *g);
46TLP_SCOPE
double averageClusteringCoefficient(
const Graph *);
57TLP_SCOPE
void clusteringCoefficient(
const Graph *g, tlp::NodeStaticProperty<double> &result,
58 _DEPRECATED
unsigned int maxDepth = 1);
69TLP_SCOPE
void degree(
const Graph *graph, tlp::NodeStaticProperty<double> °,
79TLP_SCOPE
void dagLevel(
const Graph *graph, tlp::NodeStaticProperty<unsigned int> &level);
81TLP_SCOPE
unsigned int maxDegree(
const Graph *);
83TLP_SCOPE
unsigned int minDegree(
const Graph *);
91TLP_SCOPE
unsigned int maxDistance(
const Graph *graph,
const unsigned int nPos,
92 tlp::NodeStaticProperty<unsigned int> &distance,
93 EDGE_TYPE direction = UNDIRECTED);
104TLP_SCOPE
double maxDistance(
const Graph *graph,
const unsigned int nPos,
105 tlp::NodeStaticProperty<double> &distance,
107 EDGE_TYPE direction = UNDIRECTED);
Interface all numerical properties. Property values are always returned as double.
PluginProcess subclasses are meant to notify about the progress state of some process (typically a pl...