20 #ifndef NUMERICPROPERTY_H
21 #define NUMERICPROPERTY_H
23 #include <tulip/PropertyInterface.h>
118 #endif //NUMERICPROPERTY_H
virtual double getNodeDoubleMax(Graph *graph=NULL)=0
Gets the maximum value on the nodes.
virtual double getNodeDoubleDefaultValue() const =0
Gets the default node value of the property.
virtual NumericProperty * copyProperty(Graph *graph)=0
Creates a property of the same type (e.g. tlp::DoubleProperty) The new property will be a copy of thi...
PropertyInterface describes the interface of a graph property.
virtual double getNodeDoubleValue(const node n) const =0
Returns the value associated with the node n in this property.
virtual void edgesUniformQuantification(unsigned int)=0
computes a uniform quantification for the edges associated values
The edge struct represents an edge in a Graph object.
The node struct represents a node in a Graph object.
void uniformQuantification(unsigned int k)
computes a uniform quantification for the nodes/edges associated values
virtual void nodesUniformQuantification(unsigned int)=0
computes a uniform quantification for the nodes associated values
Interface all numerical properties. Property values are always returned as double.
virtual double getNodeDoubleMin(Graph *graph=NULL)=0
Gets the minimum value on the nodes.
virtual double getEdgeDoubleMax(Graph *graph=NULL)=0
Gets the maximum value on the edges.
virtual double getEdgeDoubleMin(Graph *graph=NULL)=0
Gets the minimum value on the edges.
virtual double getEdgeDoubleDefaultValue() const =0
Gets the default edge value of the property.
virtual double getEdgeDoubleValue(const edge e) const =0
Returns the value associated with the edge e in this property.