1 #ifndef GRAPH_ANALYSIS_NWEIGHTED_VERTEX_HPP 2 #define GRAPH_ANALYSIS_NWEIGHTED_VERTEX_HPP 15 template<
typename T,
size_t Dim = 2>
19 typedef shared_ptr< NWeightedVertex >
Ptr;
30 "graph_analysis::NWeightedVertex_" + std::string(
typeid(T).name()) +
"_" + std::to_string(Dim); }
39 #endif // GRAPH_ANALYSIS_NWEIGHTED_VERTEX_HPP
static const VertexRegistration< NWeightedVertex< T, Dim > > __attribute__((used)) msRegistration
virtual ~NWeightedVertex()
Definition: NWeightedVertex.hpp:25
const VertexRegistration< MultiCommodityVertex > msRegistration
Definition: MultiCommodityVertex.cpp:13
Main namespace of the graph analysis library.
Definition: BFS.cpp:3
shared_ptr< NWeightedVertex > Ptr
Definition: NWeightedVertex.hpp:19
NWeighted is a template to associate N-weights with either a vertex or an edge, i.e., adds a vector of weights.
Definition: NWeighted.hpp:26
Definition: VertexRegistration.hpp:14
NWeightedVertex is an Vertex which can be associated with N-weights, i.e., a vector of weights...
Definition: NWeightedVertex.hpp:16
NWeightedVertex(const T &weight=T())
Definition: NWeightedVertex.hpp:21
virtual Vertex * getClone() const
Definition: NWeightedVertex.hpp:33
A vertex inherited to allow storing data of any type.
Definition: Vertex.hpp:19
virtual std::string getClassName() const
Definition: NWeightedVertex.hpp:29