1 #ifndef GRAPH_ANALYSIS_HYPER_EDGE_HPP 2 #define GRAPH_ANALYSIS_HYPER_EDGE_HPP 20 typedef shared_ptr< HyperEdge >
Ptr;
22 HyperEdge(
const std::string& label = std::string());
36 virtual std::string
toString()
const;
42 virtual std::string
toString(uint32_t indent)
const;
76 #endif // GRAPH_ANALYSIS_HYPER_EDGE_HPP Vertex::PtrList mVertices
Definition: HyperEdge.hpp:72
virtual ~HyperEdge()
Definition: HyperEdge.hpp:26
virtual std::string getClassName() const
Definition: HyperEdge.cpp:18
virtual Vertex * getClone() const
Definition: HyperEdge.hpp:70
shared_ptr< HyperEdge > Ptr
Definition: HyperEdge.hpp:20
virtual std::string toString() const
Definition: HyperEdge.cpp:23
std::vector< Ptr > PtrList
Definition: Vertex.hpp:24
static std::vector< Vertex::Ptr > getInvolvedVertices(const HyperEdge::Ptr &e0, const HyperEdge::Ptr &e1)
Definition: HyperEdge.cpp:41
Main namespace of the graph analysis library.
Definition: BFS.cpp:3
virtual const Vertex::PtrList & getVertices() const
Definition: HyperEdge.hpp:47
A HyperEdge represents a set of vertices.
Definition: HyperEdge.hpp:17
virtual void setVertices(const Vertex::PtrList &vertices)
Definition: HyperEdge.hpp:52
HyperEdge(const std::string &label=std::string())
Definition: HyperEdge.cpp:8
static bool areMeeting(const HyperEdge::Ptr &e0, const HyperEdge::Ptr &e1)
Definition: HyperEdge.cpp:49
A vertex inherited to allow storing data of any type.
Definition: Vertex.hpp:19