1 #ifndef GRAPH_ANALYSIS_NWEIGHTED_VERTEX_HPP 2 #define GRAPH_ANALYSIS_NWEIGHTED_VERTEX_HPP 14 template<
typename T,
size_t Dim = 2>
18 typedef shared_ptr< NWeightedVertex >
Ptr;
28 virtual std::string
getClassName()
const {
return "graph_analysis::NWeightedVertex"; }
35 #endif // GRAPH_ANALYSIS_NWEIGHTED_VERTEX_HPP
virtual ~NWeightedVertex()
Definition: NWeightedVertex.hpp:24
Main namespace of the graph analysis library.
Definition: BFS.cpp:3
shared_ptr< NWeightedVertex > Ptr
Definition: NWeightedVertex.hpp:18
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
NWeightedVertex(const T &weight)
Definition: NWeightedVertex.hpp:20
NWeightedVertex is an Vertex which can be associated with N-weights, i.e., a vector of weights...
Definition: NWeightedVertex.hpp:15
virtual Vertex * getClone() const
Definition: NWeightedVertex.hpp:31
A vertex inherited to allow storing data of any type.
Definition: Vertex.hpp:19
virtual std::string getClassName() const
Definition: NWeightedVertex.hpp:28