Tulip  4.6.0
Better Visualization Through Research
tlp::NumericProperty Class Reference

#include <NumericProperty.h>

+ Inheritance diagram for tlp::NumericProperty:
+ Collaboration diagram for tlp::NumericProperty:

List of all members.

Public Member Functions

virtual NumericPropertycopyProperty (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)

Detailed Description

Interface all numerical properties. Property values are always returned as double.

Definition at line 31 of file NumericProperty.h.


Member Function Documentation

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.

Parameters:
graphThe Graph in which to create the new property.
Returns:
The newly created property.
virtual void tlp::NumericProperty::edgesUniformQuantification ( unsigned  int) [pure virtual]

computes a uniform quantification for the edges associated values

+ Here is the caller graph for this function:

virtual double tlp::NumericProperty::getEdgeDoubleDefaultValue ( ) const [pure virtual]

Gets the default edge value of the property.

Returns:
The default value of edges.
virtual double tlp::NumericProperty::getEdgeDoubleMax ( Graph graph = NULL) [pure virtual]

Gets the maximum value on the edges.

Parameters:
graphThe graph on which to compute.
Returns:
The maximal value on this graph for this property.
virtual double tlp::NumericProperty::getEdgeDoubleMin ( Graph graph = NULL) [pure virtual]

Gets the minimum value on the edges.

Parameters:
graphThe graph on which to compute.
Returns:
The minimal value on this graph for this property.
virtual double tlp::NumericProperty::getEdgeDoubleValue ( const edge  e) const [pure virtual]

Returns the value associated with the edge e in this property.

Parameters:
eThe 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.

Returns:
The default value of nodes.
virtual double tlp::NumericProperty::getNodeDoubleMax ( Graph graph = NULL) [pure virtual]

Gets the maximum value on the nodes.

Parameters:
graphThe graph on which to compute.
Returns:
The maximal value on this graph for this property.
virtual double tlp::NumericProperty::getNodeDoubleMin ( Graph graph = NULL) [pure virtual]

Gets the minimum value on the nodes.

Parameters:
graphThe graph on which to compute.
Returns:
The minimal value on this graph for this property.
virtual double tlp::NumericProperty::getNodeDoubleValue ( const node  n) const [pure virtual]

Returns the value associated with the node n in this property.

Parameters:
nThe 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

+ Here is the caller graph for this function:

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.

+ Here is the call graph for this function:

 All Classes Files Functions Variables Enumerations Enumerator Properties