|
graph_analysis
|
NWeightedEdge is an Edge which can be associated with N-weights, i.e., a vector of weights. More...
#include <NWeightedEdge.hpp>


Public Types | |
| typedef shared_ptr< NWeightedEdge > | Ptr |
Public Types inherited from graph_analysis::NWeighted< T, Dim, Edge > | |
| typedef shared_ptr< NWeighted > | Ptr |
| typedef T | value_t |
Public Types inherited from graph_analysis::Edge | |
| typedef shared_ptr< Edge > | Ptr |
| typedef shared_ptr< const Edge > | 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 | |
| NWeightedEdge (const T &weight) | |
| NWeightedEdge (const std::vector< T > &weights=std::vector< T >(Dim)) | |
| NWeightedEdge (const Vertex::Ptr &source, const Vertex::Ptr &target, const T &weight) | |
| NWeightedEdge (const Vertex::Ptr &source, const Vertex::Ptr &target, const std::vector< T > &weights) | |
| virtual | ~NWeightedEdge () |
| virtual std::string | getClassName () const |
Public Member Functions inherited from graph_analysis::NWeighted< T, Dim, Edge > | |
| NWeighted (const T &weight) | |
| NWeighted (const std::vector< T > &weights=std::vector< T >(Dim)) | |
| NWeighted (const NWeighted &other) | |
| virtual | ~NWeighted () |
| virtual std::string | toString () const |
| void | setWeights (const std::vector< T > &weights) |
| std::vector< T > | getWeights () const |
| void | setWeight (T value, size_t index=0) |
| const T & | getWeight (size_t index=0) const |
| std::string | serializeWeights () |
| void | deserializeWeights (const std::string &s) |
Public Member Functions inherited from graph_analysis::Edge | |
| Edge (const std::string &label=std::string()) | |
| Edge (const Vertex::Ptr &source, const Vertex::Ptr &target, const std::string &label=std::string()) | |
| virtual | ~Edge () |
| Edge::Ptr | clone () const |
| virtual std::string | toString (uint32_t indent) const |
| Vertex::Ptr | getSourceVertex () const |
| Vertex::Ptr | getTargetVertex () const |
| void | setSourceVertex (const Vertex::Ptr &source) |
| void | setTargetVertex (const Vertex::Ptr &target) |
| Edge::Ptr | getSharedPointerFromGraph (const shared_ptr< BaseGraph > &pGraph) const |
| Edge::Ptr | getPtr () |
| Edge::ConstPtr | getPtr () const |
| virtual void | registerAttributes (EdgeTypeManager *) 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 Edge * | getClone () const |
Protected Member Functions inherited from graph_analysis::NWeighted< T, Dim, Edge > | |
| void | validateDimensions (const std::vector< T > &weights) 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) |
Static Protected Attributes | |
| static const EdgeRegistration< NWeightedEdge< T, Dim > > | msRegistration |
Static Protected Attributes inherited from graph_analysis::GraphElement | |
| static boost::uuids::random_generator | msUuidGenerator |
| static std::map< GraphElementUuid, function< GraphElement::Ptr()> > | msGraphElements |
Additional Inherited Members | |
Static Public Member Functions inherited from graph_analysis::Edge | |
| static std::vector< Vertex::Ptr > | getInvolvedVertices (const Edge::Ptr &e0, const Edge::Ptr &e1) |
| static bool | areMeeting (const Edge::Ptr &e0, const Edge::Ptr &e1) |
Static Public Member Functions inherited from graph_analysis::GraphElement | |
| static GraphElement::Ptr | fromUuid (const GraphElementUuid &uuid) |
Protected Attributes inherited from graph_analysis::NWeighted< T, Dim, Edge > | |
| std::vector< T > | mWeights |
Protected Attributes inherited from graph_analysis::GraphElement | |
| GraphElementMap | mGraphElementMap |
| GraphElementUuid | mUuid |
| std::string | mLabel |
NWeightedEdge is an Edge which can be associated with N-weights, i.e., a vector of weights.
| typedef shared_ptr< NWeightedEdge > graph_analysis::NWeightedEdge< T, Dim >::Ptr |
|
inline |
|
inline |
|
inline |
|
inline |
|
inlinevirtual |
|
inlinevirtual |
Reimplemented from graph_analysis::NWeighted< T, Dim, Edge >.
|
inlineprotectedvirtual |
Get instance of an edge
Reimplemented from graph_analysis::NWeighted< T, Dim, Edge >.
|
staticprotected |
1.8.13