|
graph_analysis
|
A DirectedHyperEdge represents a set of source vertices and target vertices. More...
#include <DirectedHyperEdge.hpp>


Public Types | |
| typedef shared_ptr< DirectedHyperEdge > | Ptr |
Public Types inherited from graph_analysis::HyperEdge | |
| typedef shared_ptr< HyperEdge > | Ptr |
Public Types inherited from graph_analysis::Vertex | |
| typedef shared_ptr< Vertex > | Ptr |
| typedef shared_ptr< const Vertex > | ConstPtr |
| typedef std::vector< Ptr > | PtrList |
| typedef std::set< Ptr > | PtrSet |
Public Types inherited from graph_analysis::GraphElement | |
| typedef shared_ptr< GraphElement > | Ptr |
| typedef weak_ptr< GraphElement > | WeakPtr |
| typedef std::vector< Ptr > | PtrList |
Public Member Functions | |
| DirectedHyperEdge (const std::string &label=std::string()) | |
| DirectedHyperEdge (const Vertex::PtrList &fromVertices, const Vertex::PtrList &toVertices, const std::string &label=std::string()) | |
| virtual | ~DirectedHyperEdge () |
| virtual std::string | getClassName () const |
| virtual std::string | toString () const |
| virtual std::string | toString (uint32_t indent) const |
| const Vertex::PtrList & | getSourceVertices () const |
| const Vertex::PtrList & | getTargetVertices () const |
| void | setSourceVertices (const Vertex::PtrList &vertices) |
| void | setTargetVertices (const Vertex::PtrList &vertices) |
Public Member Functions inherited from graph_analysis::HyperEdge | |
| HyperEdge (const std::string &label=std::string()) | |
| HyperEdge (const Vertex::PtrList &vertices, const std::string &label=std::string()) | |
| virtual | ~HyperEdge () |
| virtual const Vertex::PtrList & | getVertices () const |
| virtual void | setVertices (const Vertex::PtrList &vertices) |
Public Member Functions inherited from graph_analysis::Vertex | |
| virtual | ~Vertex () |
| Vertex (const std::string &label=std::string()) | |
| Vertex::Ptr | clone () const |
| Vertex::Ptr | getSharedPointerFromGraph (const shared_ptr< BaseGraph > &pGraph) const |
| Vertex::Ptr | getPtr () |
| Vertex::ConstPtr | getPtr () const |
| virtual void | registerAttributes (VertexTypeManager *) const |
Public Member Functions inherited from graph_analysis::GraphElement | |
| GraphElement (const std::string &label=std::string()) | |
| Default constructor. More... | |
| virtual | ~GraphElement () |
| virtual void | setLabel (const std::string &label) |
| virtual const std::string & | getLabel () const |
| bool | associated (GraphId graph) const |
| void | associate (GraphId graph, GraphElementId elementId) |
| void | disassociate (GraphId graph) |
| GraphElementId | getId (GraphId graph) const |
| GraphElementUuid | getUid () const |
| GraphElementUuid | getUuid () const |
| GraphIdList | getGraphAssociations () const |
| std::string | toPrefixedString (GraphId graph) const |
Protected Member Functions | |
| virtual Vertex * | getClone () const |
Protected Member Functions inherited from graph_analysis::GraphElement | |
| GraphElement::Ptr | getSharedFromThis () |
| void | disassociateFromAll () |
| void | setUuid (const GraphElementUuid &uuid) |
| void | setUuid (const std::string &uuid) |
Additional Inherited Members | |
Static Public Member Functions inherited from graph_analysis::HyperEdge | |
| static std::vector< Vertex::Ptr > | getInvolvedVertices (const HyperEdge::Ptr &e0, const HyperEdge::Ptr &e1) |
| static bool | areMeeting (const HyperEdge::Ptr &e0, const HyperEdge::Ptr &e1) |
Static Public Member Functions inherited from graph_analysis::GraphElement | |
| static GraphElement::Ptr | fromUuid (const GraphElementUuid &uuid) |
Protected Attributes inherited from graph_analysis::HyperEdge | |
| Vertex::PtrList | mVertices |
Protected Attributes inherited from graph_analysis::GraphElement | |
| GraphElementMap | mGraphElementMap |
| GraphElementUuid | mUuid |
| std::string | mLabel |
Static Protected Attributes inherited from graph_analysis::GraphElement | |
| static boost::uuids::random_generator | msUuidGenerator |
| static std::map< GraphElementUuid, function< GraphElement::Ptr()> > | msGraphElements |
A DirectedHyperEdge represents a set of source vertices and target vertices.
For the purpose of storing data in a DirectedHyperEdge, the storage type needs to be defined by inheriting from this class
| typedef shared_ptr< DirectedHyperEdge > graph_analysis::DirectedHyperEdge::Ptr |
| graph_analysis::DirectedHyperEdge::DirectedHyperEdge | ( | const std::string & | label = std::string() | ) |
| graph_analysis::DirectedHyperEdge::DirectedHyperEdge | ( | const Vertex::PtrList & | fromVertices, |
| const Vertex::PtrList & | toVertices, | ||
| const std::string & | label = std::string() |
||
| ) |
|
inlinevirtual |
|
virtual |
|
inlineprotectedvirtual |
Get instance of an edge
Reimplemented from graph_analysis::HyperEdge.
|
inline |
Get the source vertices
|
inline |
Get the target vertices
|
inline |
Set the source vertices
|
inline |
Set the target vertices
|
virtual |
Convert element to string
Reimplemented from graph_analysis::HyperEdge.
|
virtual |
Convert element to string
Reimplemented from graph_analysis::HyperEdge.
1.8.13