Tulip
4.6.0
Better Visualization Through Research
|
#include <NumericProperty.h>
Public Member Functions | |
virtual NumericProperty * | copyProperty (Graph *graph)=0 |
virtual void | edgesUniformQuantification (unsigned int)=0 |
virtual double | getEdgeDoubleDefaultValue () const =0 |
virtual double | getEdgeDoubleMax (Graph *graph=NULL)=0 |
virtual double | getEdgeDoubleMin (Graph *graph=NULL)=0 |
virtual double | getEdgeDoubleValue (const edge e) const =0 |
virtual double | getNodeDoubleDefaultValue () const =0 |
virtual double | getNodeDoubleMax (Graph *graph=NULL)=0 |
virtual double | getNodeDoubleMin (Graph *graph=NULL)=0 |
virtual double | getNodeDoubleValue (const node n) const =0 |
virtual void | nodesUniformQuantification (unsigned int)=0 |
void | uniformQuantification (unsigned int k) |
Interface all numerical properties. Property values are always returned as double.
Definition at line 31 of file NumericProperty.h.
virtual NumericProperty* tlp::NumericProperty::copyProperty | ( | Graph * | graph | ) | [pure virtual] |
Creates a property of the same type (e.g. tlp::DoubleProperty) The new property will be a copy of this property's values for all the elements of the graph.
graph | The Graph in which to create the new property. |
virtual void tlp::NumericProperty::edgesUniformQuantification | ( | unsigned | int | ) | [pure virtual] |
computes a uniform quantification for the edges associated values
virtual double tlp::NumericProperty::getEdgeDoubleDefaultValue | ( | ) | const [pure virtual] |
Gets the default edge value of the property.
virtual double tlp::NumericProperty::getEdgeDoubleMax | ( | Graph * | graph = NULL | ) | [pure virtual] |
Gets the maximum value on the edges.
graph | The graph on which to compute. |
virtual double tlp::NumericProperty::getEdgeDoubleMin | ( | Graph * | graph = NULL | ) | [pure virtual] |
Gets the minimum value on the edges.
graph | The graph on which to compute. |
virtual double tlp::NumericProperty::getEdgeDoubleValue | ( | const edge | e | ) | const [pure virtual] |
Returns the value associated with the edge e in this property.
e | The edge for which we want to get the value of the property. |
virtual double tlp::NumericProperty::getNodeDoubleDefaultValue | ( | ) | const [pure virtual] |
Gets the default node value of the property.
virtual double tlp::NumericProperty::getNodeDoubleMax | ( | Graph * | graph = NULL | ) | [pure virtual] |
Gets the maximum value on the nodes.
graph | The graph on which to compute. |
virtual double tlp::NumericProperty::getNodeDoubleMin | ( | Graph * | graph = NULL | ) | [pure virtual] |
Gets the minimum value on the nodes.
graph | The graph on which to compute. |
virtual double tlp::NumericProperty::getNodeDoubleValue | ( | const node | n | ) | const [pure virtual] |
Returns the value associated with the node n in this property.
n | The node for which we want to get the value of the property. |
virtual void tlp::NumericProperty::nodesUniformQuantification | ( | unsigned | int | ) | [pure virtual] |
computes a uniform quantification for the nodes associated values
void tlp::NumericProperty::uniformQuantification | ( | unsigned int | k | ) | [inline] |
computes a uniform quantification for the nodes/edges associated values
Definition at line 101 of file NumericProperty.h.