tlp::DoubleProperty Class Reference
#include <DoubleProperty.h>
List of all members.
Public Types
Public Member Functions
- DoubleProperty (Graph *, std::string n="")
- DoubleType::RealType getNodeMin (Graph *sg=0)
- DoubleType::RealType getNodeMax (Graph *sg=0)
- DoubleType::RealType getEdgeMin (Graph *sg=0)
- DoubleType::RealType getEdgeMax (Graph *sg=0)
- void uniformQuantification (unsigned int)
- void nodesUniformQuantification (unsigned int)
- void edgesUniformQuantification (unsigned int)
- void clone_handler (AbstractProperty< DoubleType, DoubleType, DoubleAlgorithm > &)
- PropertyInterface * clonePrototype (Graph *, const std::string &)
- std::string getTypename () const
- virtual void setNodeValue (const node n, const double &v)
- virtual void setEdgeValue (const edge e, const double &v)
- virtual void setAllNodeValue (const double &v)
- virtual void setAllEdgeValue (const double &v)
- virtual void addNode (Graph *graph, const node n)
- virtual void addEdge (Graph *graph, const edge e)
- virtual void delNode (Graph *graph, const node n)
- virtual void delEdge (Graph *graph, const edge e)
- virtual void addSubGraph (Graph *graph, Graph *sub)
- virtual void delSubGraph (Graph *graph, Graph *sub)
- virtual void setMetaValueCalculator (PropertyInterface::MetaValueCalculator *calc)
- void setMetaValueCalculator (PredefinedMetaValueCalculator nodeCalc=AVG_CALC, PredefinedMetaValueCalculator edgeCalc=AVG_CALC)
Static Public Attributes
Friends
Member Enumeration Documentation
- Enumerator:
NO_CALC |
|
AVG_CALC |
|
SUM_CALC |
|
MAX_CALC |
|
MIN_CALC |
|
Constructor & Destructor Documentation
tlp::DoubleProperty::DoubleProperty |
( |
Graph * |
, |
|
|
std::string |
n = "" | |
|
) |
| | |
Member Function Documentation
virtual void tlp::DoubleProperty::addEdge |
( |
Graph * |
graph, |
|
|
const edge |
e | |
|
) |
| | [virtual] |
virtual void tlp::DoubleProperty::addNode |
( |
Graph * |
graph, |
|
|
const node |
n | |
|
) |
| | [virtual] |
virtual void tlp::DoubleProperty::addSubGraph |
( |
Graph * |
graph, |
|
|
Graph * |
sub | |
|
) |
| | [virtual] |
Creates an object of the same real type of the current property, in the the graph (first parameter) with the name (second parameter). Values are not copied.
Implements tlp::PropertyInterface.
virtual void tlp::DoubleProperty::delEdge |
( |
Graph * |
graph, |
|
|
const edge |
e | |
|
) |
| | [virtual] |
virtual void tlp::DoubleProperty::delNode |
( |
Graph * |
graph, |
|
|
const node |
n | |
|
) |
| | [virtual] |
virtual void tlp::DoubleProperty::delSubGraph |
( |
Graph * |
graph, |
|
|
Graph * |
sub | |
|
) |
| | [virtual] |
void tlp::DoubleProperty::edgesUniformQuantification |
( |
unsigned |
int |
) |
|
std::string tlp::DoubleProperty::getTypename |
( |
|
) |
const [inline, virtual] |
Returns a string describing the type of the property. i.e. "graph", "double", "layout", "string", "integer", "color", "size", ...
Implements tlp::PropertyInterface.
void tlp::DoubleProperty::nodesUniformQuantification |
( |
unsigned |
int |
) |
|
virtual void tlp::DoubleProperty::setAllEdgeValue |
( |
const double & |
v |
) |
[virtual] |
virtual void tlp::DoubleProperty::setAllNodeValue |
( |
const double & |
v |
) |
[virtual] |
virtual void tlp::DoubleProperty::setEdgeValue |
( |
const edge |
e, |
|
|
const double & |
v | |
|
) |
| | [virtual] |
virtual void tlp::DoubleProperty::setNodeValue |
( |
const node |
n, |
|
|
const double & |
v | |
|
) |
| | [virtual] |
void tlp::DoubleProperty::uniformQuantification |
( |
unsigned |
int |
) |
|
Friends And Related Function Documentation
Member Data Documentation
|