20 #ifndef MINMAXPROPERTY_H
21 #define MINMAXPROPERTY_H
23 #include <tulip/tuliphash.h>
24 #include <tulip/Observable.h>
28 template<
class Tnode,
class Tedge>
29 class AbstractProperty;
37 template<
typename nodeType,
typename edgeType>
51 typename nodeType::RealType NodeMax,
typename edgeType::RealType EdgeMin,
typename edgeType::RealType EdgeMax);
126 TLP_HASH_MAP<unsigned int, typename nodeType::RealType> maxNode, minNode;
127 TLP_HASH_MAP<unsigned int, typename edgeType::RealType> maxEdge, minEdge;
128 TLP_HASH_MAP<unsigned int, bool> nodeValueUptodate;
129 TLP_HASH_MAP<unsigned int, bool> edgeValueUptodate;
131 typename nodeType::RealType _nodeMin;
132 typename nodeType::RealType _nodeMax;
133 typename edgeType::RealType _edgeMin;
134 typename edgeType::RealType _edgeMax;
136 void computeMinMaxNode(
Graph* graph);
137 void computeMinMaxEdge(
Graph* graph);
142 #include "cxx/minmaxproperty.cxx"
144 #endif //MINMAXPROPERTY_H