Revision 437fd680 custompackages/graph-parser/src/common.h
custompackages/graph-parser/src/common.h | ||
---|---|---|
57 | 57 |
|
58 | 58 |
typedef map<Vertex, size_t> VertexIndexStdMap; |
59 | 59 |
// This property map is an adaptor that converts any type that is a model of Unique Associative Container such as std::map into a mutable Lvalue Property Map. |
60 |
typedef boost::associative_property_map<VertexIndexStdMap> VertexIndexMap; |
|
60 |
typedef boost::associative_property_map<VertexIndexStdMap> VertexIndexPMap;
|
|
61 | 61 |
|
62 | 62 |
typedef map<Edge, size_t> EdgeIndexStdMap; |
63 |
typedef boost::associative_property_map<EdgeIndexStdMap> EdgeIndexMap; |
|
63 |
typedef boost::associative_property_map<EdgeIndexStdMap> EdgeIndexPMap;
|
|
64 | 64 |
|
65 | 65 |
typedef std::vector<Vertex> VertexVec; |
66 | 66 |
typedef std::vector<Vertex>::iterator VertexVecIter; |
... | ... | |
69 | 69 |
typedef std::map<Vertex, int>::iterator VertexMapIter; |
70 | 70 |
|
71 | 71 |
typedef std::map<std::string, int> NameToIntMap; |
72 |
typedef std::map<std::string, double> NameToDoubleMap; |
|
72 | 73 |
|
73 | 74 |
typedef std::vector<std::string> StringVec; |
74 | 75 |
typedef std::vector<std::string>::iterator StringVecIter; |
... | ... | |
77 | 78 |
typedef std::set<std::string>::iterator StringSetIter; |
78 | 79 |
|
79 | 80 |
typedef std::vector<double> CentralityVec; |
80 |
typedef boost::iterator_property_map<CentralityVec::iterator, VertexIndexMap> CentralityMap;
|
|
81 |
typedef boost::iterator_property_map<CentralityVec::iterator, VertexIndexPMap> CentralityPMap;
|
|
81 | 82 |
|
82 | 83 |
#endif //GRAPH_PARSER_COMMON_H |
83 | 84 |
|
Also available in: Unified diff