bpp-core3  3.0.0
bpp::AssociationDAGraphImplObserver< N, E, DAGraphImpl > Class Template Referenceabstract

#include <Bpp/Graph/AssociationDAGraphImplObserver.h>

+ Inheritance diagram for bpp::AssociationDAGraphImplObserver< N, E, DAGraphImpl >:
+ Collaboration diagram for bpp::AssociationDAGraphImplObserver< N, E, DAGraphImpl >:

Public Types

typedef AssociationGraphObserver< N, E >::NodeIndex NodeIndex
 
typedef AssociationGraphObserver< N, E >::EdgeIndex EdgeIndex
 
typedef Graph::NodeId NodeGraphid
 
typedef Graph::EdgeId EdgeGraphid
 
typedef AssociationGraphObserver< N, E >::NodeIterator NodeIterator
 
typedef AssociationGraphObserver< N, E >::EdgeIterator EdgeIterator
 
using Eref = std::shared_ptr< E >
 
using Nref = std::shared_ptr< N >
 

Public Member Functions

 AssociationDAGraphImplObserver ()
 
 AssociationDAGraphImplObserver (std::shared_ptr< DAGraphImpl > subjectDAGraph)
 
 AssociationDAGraphImplObserver (bpp::AssociationDAGraphImplObserver< N, E, DAGraphImpl > const &dAGraphObserver)
 
template<class N2 , class E2 >
 AssociationDAGraphImplObserver (bpp::AssociationDAGraphImplObserver< N2, E2, DAGraphImpl > const &dAGraphObserver)
 
AssociationDAGraphImplObserver< N, E, DAGraphImpl > & operator= (bpp::AssociationDAGraphImplObserver< N, E, DAGraphImpl > const &dAGraphObserver)
 
 ~AssociationDAGraphImplObserver ()
 
AssociationDAGraphImplObserver< N, E, DAGraphImpl > * clone () const
 
bool isValid () const
 
bool isRooted () const
 
std::vector< std::shared_ptr< N > > getFathers (const std::shared_ptr< N > node) const
 
std::vector< NodeIndexgetFathers (const NodeIndex node) const
 
void rootAt (const std::shared_ptr< N > root)
 Sets the root and make the DAG directed from root to leaves. More...
 
bool hasFather (const std::shared_ptr< N > nodeObject) const
 
bool hasFather (const NodeIndex node) const
 
std::vector< std::shared_ptr< N > > getSons (const std::shared_ptr< N > node) const
 
std::vector< NodeIndexgetSons (const NodeIndex node) const
 
std::shared_ptr< N > getSon (const std::shared_ptr< E > edge) const
 
NodeIndex getSon (const EdgeIndex edgeId) const
 
std::shared_ptr< N > getFatherOfEdge (const std::shared_ptr< E > edge) const
 
NodeIndex getFatherOfEdge (const EdgeIndex edge) const
 
size_t getNumberOfFathers (const std::shared_ptr< N > node) const
 
size_t getNumberOfSons (const std::shared_ptr< N > node) const
 
std::vector< std::shared_ptr< N > > getLeavesUnderNode (std::shared_ptr< N > node) const
 
std::vector< std::shared_ptr< N > > removeFathers (const std::shared_ptr< N > node)
 
void removeFather (const std::shared_ptr< N > node, const std::shared_ptr< N > father)
 
std::vector< std::shared_ptr< N > > removeSons (const std::shared_ptr< N > node)
 
void removeSon (const std::shared_ptr< N > node, const std::shared_ptr< N > son)
 
void addFather (const std::shared_ptr< N > nodeObject, const std::shared_ptr< N > fatherNodeObject, const std::shared_ptr< E > edgeObject=0)
 
void addSon (const std::shared_ptr< N > nodeObject, const std::shared_ptr< N > sonNodeObject, const std::shared_ptr< E > edgeObject=0)
 
std::unique_ptr< typename AssociationDAGraphObserver< N, E >::NodeIteratorfathersIterator (std::shared_ptr< N > node)
 
std::unique_ptr< typename AssociationDAGraphObserver< N, E >::NodeIteratorfathersIterator (std::shared_ptr< N > node) const
 
std::unique_ptr< typename AssociationDAGraphObserver< N, E >::NodeIteratorsonsIterator (std::shared_ptr< N > node)
 
std::unique_ptr< typename AssociationDAGraphObserver< N, E >::NodeIteratorsonsIterator (std::shared_ptr< N > node) const
 
std::vector< std::shared_ptr< N > > getBelowNodes (const std::shared_ptr< N > localRoot)
 Get Below Objects. More...
 
std::vector< std::shared_ptr< E > > getBelowEdges (const std::shared_ptr< N > localRoot)
 
virtual std::vector< NodeIndexgetFathers (const NodeIndex node) const =0
 
virtual bool hasFather (const NodeIndex node) const =0
 
virtual std::vector< NodeIndexgetSons (const NodeIndex node) const =0
 
virtual NodeIndex getSon (const EdgeIndex edge) const =0
 
virtual NodeIndex getFatherOfEdge (const EdgeIndex edge) const =0
 
Graph Relations Management

Modificating the structure of the graph.

virtual void createNode (std::shared_ptr< N > newNodeObject)=0
 
virtual void createNode (std::shared_ptr< N > objectOriginNode, std::shared_ptr< N > newNodeObject, std::shared_ptr< E > newEdgeObject=00)=0
 
virtual void link (std::shared_ptr< N > nodeObjectA, std::shared_ptr< N > nodeObjectB, std::shared_ptr< E > edgeObject=00)=0
 
virtual void unlink (std::shared_ptr< N > nodeObjectA, std::shared_ptr< N > nodeObjectB)=0
 
virtual void deleteNode (std::shared_ptr< N > nodeObject)=0
 
Object Association

Associate or dissociate N and E objects to pre-existing Graph Nodes and Graph Edges

virtual void associateNode (std::shared_ptr< N > nodeObject, NodeGraphid node)=0
 
virtual void associateEdge (std::shared_ptr< E > edgeObject, EdgeGraphid edge)=0
 
virtual void dissociateNode (std::shared_ptr< N > nodeObject)=0
 
virtual void dissociateEdge (std::shared_ptr< E > edgeObject)=0
 
virtual NodeGraphid getNodeGraphid (const std::shared_ptr< N > nodeObject) const =0
 
virtual EdgeGraphid getEdgeGraphid (const std::shared_ptr< E > edgeObject) const =0
 
virtual const std::shared_ptr< N > getNodeFromGraphid (NodeGraphid) const =0
 
virtual std::shared_ptr< N > getNodeFromGraphid (NodeGraphid)=0
 
virtual std::vector< std::shared_ptr< N > > getNodesFromGraphid (std::vector< NodeGraphid >) const =0
 
virtual std::shared_ptr< E > getEdgeFromGraphid (EdgeGraphid)=0
 
virtual const std::shared_ptr< E > getEdgeFromGraphid (EdgeGraphid) const =0
 
virtual std::vector< std::shared_ptr< E > > getEdgesFromGraphid (std::vector< EdgeGraphid >) const =0
 
virtual std::shared_ptr< N > getRoot () const =0
 
virtual NodeIndex getRootIndex () const =0
 
Object Indexation

Get or set indexes to nodes and edges

virtual bool hasNodeIndex (const std::shared_ptr< N > nodeObject) const =0
 return if the object has an index. More...
 
virtual bool hasEdgeIndex (const std::shared_ptr< E > edgeObject) const =0
 
virtual NodeIndex getNodeIndex (const std::shared_ptr< N > nodeObject) const =0
 
virtual std::vector< NodeIndexgetNodeIndexes (std::vector< std::shared_ptr< N > > nodeObjects) const =0
 
virtual EdgeIndex getEdgeIndex (const std::shared_ptr< E > edgeObject) const =0
 
virtual std::vector< EdgeIndexgetEdgeIndexes (std::vector< std::shared_ptr< E > > edgeObjects) const =0
 
virtual NodeIndex setNodeIndex (const std::shared_ptr< N > nodeObject, NodeIndex index)=0
 
virtual EdgeIndex setEdgeIndex (const std::shared_ptr< E > edgeObject, EdgeIndex index)=0
 
virtual bool hasNode (NodeIndex nodeIndex) const =0
 
virtual bool hasEdge (EdgeIndex edgeIndex) const =0
 
virtual std::shared_ptr< N > getNode (NodeIndex nodeIndex) const =0
 
virtual std::shared_ptr< E > getEdge (EdgeIndex edgeIndex) const =0
 
Iterator interface on Nodes
virtual std::unique_ptr< NodeIteratorallNodesIterator ()=0
 
virtual std::unique_ptr< NodeIteratorallNodesIterator () const =0
 
virtual std::unique_ptr< NodeIteratoroutgoingNeighborNodesIterator (std::shared_ptr< N > node)=0
 
virtual std::unique_ptr< NodeIteratoroutgoingNeighborNodesIterator (std::shared_ptr< N > node) const =0
 
virtual std::unique_ptr< NodeIteratorincomingNeighborNodesIterator (std::shared_ptr< N > node)=0
 
virtual std::unique_ptr< NodeIteratorincomingNeighborNodesIterator (std::shared_ptr< N > node) const =0
 
virtual std::vector< std::shared_ptr< N > > getNeighbors (const std::shared_ptr< N > node) const =0
 
virtual std::vector< NodeIndexgetNeighbors (NodeIndex node) const =0
 
virtual std::vector< std::shared_ptr< E > > getEdges (const std::shared_ptr< N > node) const =0
 
virtual std::vector< EdgeIndexgetEdges (NodeIndex node) const =0
 
virtual std::vector< std::shared_ptr< N > > getOutgoingNeighbors (const std::shared_ptr< N > node) const =0
 
virtual std::vector< NodeIndexgetOutgoingNeighbors (NodeIndex node) const =0
 
virtual std::vector< std::shared_ptr< E > > getOutgoingEdges (const std::shared_ptr< N > node) const =0
 
virtual std::vector< EdgeIndexgetOutgoingEdges (NodeIndex node) const =0
 
virtual std::vector< std::shared_ptr< N > > getIncomingNeighbors (const std::shared_ptr< N > node) const =0
 
virtual std::vector< NodeIndexgetIncomingNeighbors (NodeIndex node) const =0
 
virtual std::vector< std::shared_ptr< E > > getIncomingEdges (const std::shared_ptr< N > node) const =0
 
virtual std::vector< EdgeIndexgetIncomingEdges (NodeIndex node) const =0
 
virtual std::vector< std::shared_ptr< N > > getLeavesFromNode (std::shared_ptr< N > node, unsigned int maxDepth) const =0
 
virtual std::vector< std::shared_ptr< N > > getAllLeaves () const =0
 
virtual std::vector< NodeIndexgetAllLeavesIndexes () const =0
 
virtual std::vector< std::shared_ptr< N > > getAllInnerNodes () const =0
 
virtual std::vector< NodeIndexgetAllInnerNodesIndexes () const =0
 
virtual std::vector< std::shared_ptr< N > > getAllNodes () const =0
 
virtual std::vector< NodeIndexgetAllNodesIndexes () const =0
 
Iterator interface on Edges
virtual std::unique_ptr< EdgeIteratorallEdgesIterator ()=0
 
virtual std::unique_ptr< EdgeIteratoroutgoingEdgesIterator (std::shared_ptr< N > node)=0
 
virtual std::unique_ptr< EdgeIteratorincomingEdgesIterator (std::shared_ptr< N > node)=0
 
virtual std::vector< std::shared_ptr< E > > getAllEdges () const =0
 
virtual std::vector< EdgeIndexgetAllEdgesIndexes () const =0
 
virtual std::shared_ptr< E > getEdgeLinking (std::shared_ptr< N > nodeA, std::shared_ptr< N > nodeB) const =0
 
virtual void setEdgeLinking (std::shared_ptr< N > nodeA, std::shared_ptr< N > nodeB, std::shared_ptr< E > edge)=0
 
Function called by the subjectGraph

Methods called by the subject graph to make this observer so fit the subject graph

virtual void deletedEdgesUpdate (const std::vector< unsigned int > &edgesToDelete)=0
 
virtual void deletedNodesUpdate (const std::vector< unsigned int > &nodesToDelete)=0
 
Object Indexation

Get or set indexes to nodes and edges

bool hasNode (NodeIndex node) const
 
bool hasEdge (EdgeIndex edge) const
 
bool hasNodeIndex (const Nref nodeObject) const
 return if the object has an index. More...
 
bool hasEdgeIndex (const Eref edgeObject) const
 
NodeIndex getNodeIndex (const Nref nodeObject) const
 
std::vector< NodeIndexgetNodeIndexes (std::vector< Nref > nodes) const
 
EdgeIndex getEdgeIndex (const Eref edgeObject) const
 
std::vector< EdgeIndexgetEdgeIndexes (std::vector< Eref > edges) const
 
NodeIndex setNodeIndex (const Nref nodeObject, NodeIndex index)
 
EdgeIndex setEdgeIndex (const Eref edgeObject, EdgeIndex index)
 
NodeIndex addNodeIndex (const Nref nodeObject)
 
EdgeIndex addEdgeIndex (const Eref edgeObject)
 
Nref getNode (NodeIndex node) const
 
Eref getEdge (EdgeIndex edge) const
 
Graph Relations Management

Modificating the structure of the graph.

void createNode (Nref nodeObject)
 
void createNode (Nref objectOriginNode, Nref newNodeObject, Eref newEdgeObject=00)
 
void link (Nref nodeObjectA, Nref nodeObjectB, Eref edgeObject=00)
 
void unlink (Nref nodeObjectA, Nref nodeObjectB)
 
void deleteNode (Nref nodeObject)
 
Object Association

Associate or dissociate N and E objects to pre-existing Graph Nodes and Graph Edges

void associateNode (Nref nodeObject, NodeGraphid graphNode)
 
void associateEdge (Eref edgeObject, EdgeGraphid graphEdge)
 
void dissociateNode (Nref nodeObject)
 
void dissociateEdge (Eref edgeObject)
 
NodeGraphid getNodeGraphid (const Nref nodeObject) const
 
EdgeGraphid getEdgeGraphid (const Eref edgeObject) const
 
Nref getNodeFromGraphid (NodeGraphid node)
 
const Nref getNodeFromGraphid (NodeGraphid node) const
 
std::vector< NrefgetNodesFromGraphid (std::vector< NodeGraphid > nodes) const
 
Eref getEdgeFromGraphid (EdgeGraphid edge)
 
const Eref getEdgeFromGraphid (EdgeGraphid edge) const
 
std::vector< ErefgetEdgesFromGraphid (std::vector< EdgeGraphid > edges) const
 
void setRoot (const Nref newRoot)
 set the root (but no checking, to be used at first construction) More...
 
Nref getRoot () const
 
NodeIndex getRootIndex () const
 
Topology exploration

These methodes of the graph concern the topology exploration.

void outputToDot (const std::string &fname, const std::string &name) const
 
void outputToDot (std::ostream &out, const std::string &name) const
 
Iterators on Nodes
std::unique_ptr< typename AssociationGraphObserver< N, E >::NodeIteratorallNodesIterator ()
 
std::unique_ptr< typename AssociationGraphObserver< N, E >::NodeIteratorallNodesIterator () const
 
std::unique_ptr< typename AssociationGraphObserver< N, E >::NodeIteratoroutgoingNeighborNodesIterator (Nref node)
 
std::unique_ptr< typename AssociationGraphObserver< N, E >::NodeIteratoroutgoingNeighborNodesIterator (Nref node) const
 
std::unique_ptr< typename AssociationGraphObserver< N, E >::NodeIteratorincomingNeighborNodesIterator (Nref node)
 
std::unique_ptr< typename AssociationGraphObserver< N, E >::NodeIteratorincomingNeighborNodesIterator (Nref node) const
 
std::vector< NrefgetNeighbors (const Nref node) const
 
std::vector< NodeIndexgetNeighbors (NodeIndex node) const
 
std::vector< ErefgetEdges (const Nref node) const
 
std::vector< EdgeIndexgetEdges (NodeIndex node) const
 
std::vector< NrefgetOutgoingNeighbors (const Nref node) const
 
std::vector< NodeIndexgetOutgoingNeighbors (NodeIndex node) const
 
std::vector< ErefgetOutgoingEdges (const Nref node) const
 
std::vector< EdgeIndexgetOutgoingEdges (NodeIndex node) const
 
std::vector< NrefgetIncomingNeighbors (const Nref node) const
 
std::vector< NodeIndexgetIncomingNeighbors (NodeIndex node) const
 
std::vector< ErefgetIncomingEdges (const Nref node) const
 
std::vector< EdgeIndexgetIncomingEdges (NodeIndex node) const
 
std::vector< NrefgetLeavesFromNode (Nref node, unsigned int maxDepth) const
 
std::vector< NrefgetAllLeaves () const
 
std::vector< NodeIndexgetAllLeavesIndexes () const
 
std::vector< NrefgetAllInnerNodes () const
 
std::vector< NodeIndexgetAllInnerNodesIndexes () const
 
std::vector< NrefgetAllNodes () const
 
std::vector< NodeIndexgetAllNodesIndexes () const
 
std::vector< EdgeIndexgetAllEdgesIndexes () const
 
std::unique_ptr< typename AssociationGraphObserver< N, E >::EdgeIteratorallEdgesIterator ()
 
std::unique_ptr< typename AssociationGraphObserver< N, E >::EdgeIteratorallEdgesIterator () const
 
std::unique_ptr< typename AssociationGraphObserver< N, E >::EdgeIteratoroutgoingEdgesIterator (Nref node)
 
std::unique_ptr< typename AssociationGraphObserver< N, E >::EdgeIteratoroutgoingEdgesIterator (Nref node) const
 
std::unique_ptr< typename AssociationGraphObserver< N, E >::EdgeIteratorincomingEdgesIterator (Nref node)
 
std::unique_ptr< typename AssociationGraphObserver< N, E >::EdgeIteratorincomingEdgesIterator (Nref node) const
 
std::vector< ErefgetAllEdges () const
 
bool isLeaf (const Nref node) const
 Is the node a leaf? More...
 
bool isLeaf (const NodeIndex nodeid) const
 
std::pair< Nref, NrefgetNodes (Eref edge) const
 
Eref getEdgeLinking (Nref nodeA, Nref nodeB) const
 
void setEdgeLinking (Nref nodeA, Nref nodeB, Eref edge)
 
Function called by the subjectGraph

These methodes are called by the subject graph to make this observer so fit the subject graph

void deletedEdgesUpdate (const std::vector< unsigned int > &edgesToDelete)
 
void deletedNodesUpdate (const std::vector< unsigned int > &nodesToDelete)
 
General Info

General information about the graph

size_t getNumberOfNodes () const
 
size_t getNumberOfEdges () const
 
size_t getNumberOfLeaves () const
 
size_t getDegree (const Nref node) const
 

Static Public Member Functions

template<class A , class B >
static B * copy (const A &a, typename std::enable_if< !std::is_base_of< B, A >::value &&!std::is_abstract< B >::value, B * >::type *=0)
 
template<class A , class B >
static B * copy (const A &a, typename std::enable_if< !std::is_base_of< B, A >::value &&std::is_abstract< B >::value, B * >::type *=0)
 
template<class A , class B >
static B * copy (const A &a, typename std::enable_if< std::is_base_of< B, A >::value &&!std::is_abstract< A >::value, B * >::type *=0)
 
template<class A , class B >
static B * copy (const A &a, typename std::enable_if< std::is_base_of< B, A >::value &&std::is_abstract< A >::value &&std::is_base_of< Clonable, A >::value, B * >::type *=0)
 
template<class A , class B >
static B * copy (const A &a, typename std::enable_if< std::is_base_of< B, A >::value &&std::is_abstract< A >::value &&!std::is_base_of< Clonable, A >::value, B * >::type *=0)
 

Protected Attributes

std::shared_ptr< DAGraphImplsubjectGraph_
 
const std::shared_ptr< DAGraphImplgetGraph () const
 
std::shared_ptr< DAGraphImplgetGraph ()
 
bool hasNode (Nref nodeObject) const
 
bool hasEdge (Eref edgeObject) const
 
std::string nodeToString (const Nref nodeObject) const
 
std::string edgeToString (const Eref edgeObject) const
 
enum  neighborType
 
std::vector< NrefgraphidToN_
 
std::vector< ErefgraphidToE_
 
std::map< Nref, NodeGraphidNToGraphid_
 
std::map< Eref, EdgeGraphidEToGraphid_
 
std::vector< NrefindexToN_
 
std::vector< ErefindexToE_
 
std::map< Nref, NodeIndexNToIndex_
 
std::map< Eref, EdgeIndexEToIndex_
 
std::vector< NrefgetNeighbors_ (const Nref nodeObject, neighborType type) const
 
std::vector< ErefgetEdges_ (const Nref nodeObject, neighborType type) const
 

Detailed Description

template<class N, class E, class DAGraphImpl>
class bpp::AssociationDAGraphImplObserver< N, E, DAGraphImpl >

Definition at line 57 of file AssociationDAGraphImplObserver.h.

Member Typedef Documentation

◆ EdgeGraphid

template<class N , class E , class DAGraphImpl >
typedef Graph::EdgeId bpp::AssociationDAGraphImplObserver< N, E, DAGraphImpl >::EdgeGraphid

Definition at line 66 of file AssociationDAGraphImplObserver.h.

◆ EdgeIndex

template<class N , class E , class DAGraphImpl >
typedef AssociationGraphObserver<N, E>::EdgeIndex bpp::AssociationDAGraphImplObserver< N, E, DAGraphImpl >::EdgeIndex

Definition at line 63 of file AssociationDAGraphImplObserver.h.

◆ EdgeIterator

template<class N , class E >
typedef AssociationGraphObserver<N, E>::EdgeIterator bpp::AssociationDAGraphObserver< N, E >::EdgeIterator
inherited

Definition at line 226 of file AssociationDAGraphObserver.h.

◆ Eref

using bpp::AssociationGraphImplObserver< N, E, DAGraphImpl >::Eref = std::shared_ptr<E>
inherited

Definition at line 71 of file AssociationGraphImplObserver.h.

◆ NodeGraphid

template<class N , class E , class DAGraphImpl >
typedef Graph::NodeId bpp::AssociationDAGraphImplObserver< N, E, DAGraphImpl >::NodeGraphid

Definition at line 65 of file AssociationDAGraphImplObserver.h.

◆ NodeIndex

template<class N , class E , class DAGraphImpl >
typedef AssociationGraphObserver<N, E>::NodeIndex bpp::AssociationDAGraphImplObserver< N, E, DAGraphImpl >::NodeIndex

Definition at line 62 of file AssociationDAGraphImplObserver.h.

◆ NodeIterator

template<class N , class E >
typedef AssociationGraphObserver<N, E>::NodeIterator bpp::AssociationDAGraphObserver< N, E >::NodeIterator
inherited

Iterators

Definition at line 225 of file AssociationDAGraphObserver.h.

◆ Nref

using bpp::AssociationGraphImplObserver< N, E, DAGraphImpl >::Nref = std::shared_ptr<N>
inherited

Definition at line 72 of file AssociationGraphImplObserver.h.

Member Enumeration Documentation

◆ neighborType

defines a type of neighbors : incoming and/or outgoing

Definition at line 415 of file AssociationGraphImplObserver.h.

Constructor & Destructor Documentation

◆ AssociationDAGraphImplObserver() [1/4]

template<class N , class E , class DAGraphImpl >
bpp::AssociationDAGraphImplObserver< N, E, DAGraphImpl >::AssociationDAGraphImplObserver ( )
inline

Constructor

Definition at line 73 of file AssociationDAGraphImplObserver.h.

◆ AssociationDAGraphImplObserver() [2/4]

template<class N , class E , class DAGraphImpl >
bpp::AssociationDAGraphImplObserver< N, E, DAGraphImpl >::AssociationDAGraphImplObserver ( std::shared_ptr< DAGraphImpl subjectDAGraph)
inline

Constructor

Parameters
subjectDAGraphthe DAGraph which is observed

Definition at line 82 of file AssociationDAGraphImplObserver.h.

◆ AssociationDAGraphImplObserver() [3/4]

template<class N , class E , class DAGraphImpl >
bpp::AssociationDAGraphImplObserver< N, E, DAGraphImpl >::AssociationDAGraphImplObserver ( bpp::AssociationDAGraphImplObserver< N, E, DAGraphImpl > const &  dAGraphObserver)
inline

Copy Constructor

Parameters
dAGraphObserverthe DAGraphObserver to be copied

Definition at line 91 of file AssociationDAGraphImplObserver.h.

◆ AssociationDAGraphImplObserver() [4/4]

template<class N , class E , class DAGraphImpl >
template<class N2 , class E2 >
bpp::AssociationDAGraphImplObserver< N, E, DAGraphImpl >::AssociationDAGraphImplObserver ( bpp::AssociationDAGraphImplObserver< N2, E2, DAGraphImpl > const &  dAGraphObserver)
inline

Copy Constructor

Parameters
dAGraphObserverthe DAGraphObserver to be copied

Definition at line 102 of file AssociationDAGraphImplObserver.h.

◆ ~AssociationDAGraphImplObserver()

template<class N , class E , class DAGraphImpl >
bpp::AssociationDAGraphImplObserver< N, E, DAGraphImpl >::~AssociationDAGraphImplObserver ( )
inline

Destructor

Definition at line 119 of file AssociationDAGraphImplObserver.h.

Member Function Documentation

◆ addEdgeIndex()

EdgeIndex bpp::AssociationGraphImplObserver< N, E, DAGraphImpl >::addEdgeIndex ( const Eref  edgeObject)
inlineinherited

Add an index associated to an edge

Parameters
edgeObjectobject to which one want to set the index
Returns
the given index

Definition at line 888 of file AssociationGraphImplObserver.h.

◆ addFather()

template<class N , class E , class DAGraphImpl >
void bpp::AssociationDAGraphImplObserver< N, E, DAGraphImpl >::addFather ( const std::shared_ptr< N >  nodeObject,
const std::shared_ptr< N >  fatherNodeObject,
const std::shared_ptr< E >  edgeObject = 0 
)
inlinevirtual

Add a father to a node

Parameters
nodeObjectthe concerned node
fatherNodeObjectthe node to be added as a father to the node
edgeObjectthe optional edge between the nodes (default = 00)

Implements bpp::AssociationDAGraphObserver< N, E >.

Definition at line 307 of file AssociationDAGraphImplObserver.h.

References bpp::AssociationGraphImplObserver< N, E, DAGraphImpl >::getEdgeGraphid(), bpp::AssociationGraphImplObserver< N, E, DAGraphImpl >::getGraph(), bpp::AssociationGraphImplObserver< N, E, DAGraphImpl >::getNodeGraphid(), and bpp::AssociationGraphImplObserver< N, E, DAGraphImpl >::link().

◆ addNodeIndex()

NodeIndex bpp::AssociationGraphImplObserver< N, E, DAGraphImpl >::addNodeIndex ( const Nref  nodeObject)
inlineinherited

Set an new index associated to a node

Parameters
nodeObjectobject to which one want to set the index
Returns
the given index

Definition at line 857 of file AssociationGraphImplObserver.h.

◆ addSon()

template<class N , class E , class DAGraphImpl >
void bpp::AssociationDAGraphImplObserver< N, E, DAGraphImpl >::addSon ( const std::shared_ptr< N >  nodeObject,
const std::shared_ptr< N >  sonNodeObject,
const std::shared_ptr< E >  edgeObject = 0 
)
inlinevirtual

Add a son to a node

Parameters
nodeObjectthe concerned node
sonNodeObjectthe node to be added as a son to the father
edgeObjectthe optional edge between the nodes (default = 00)

Implements bpp::AssociationDAGraphObserver< N, E >.

Definition at line 329 of file AssociationDAGraphImplObserver.h.

References bpp::AssociationGraphImplObserver< N, E, DAGraphImpl >::getEdgeGraphid(), bpp::AssociationGraphImplObserver< N, E, DAGraphImpl >::getGraph(), bpp::AssociationGraphImplObserver< N, E, DAGraphImpl >::getNodeGraphid(), and bpp::AssociationGraphImplObserver< N, E, DAGraphImpl >::link().

◆ allEdgesIterator() [1/3]

std::unique_ptr<typename AssociationGraphObserver<N, E>::EdgeIterator> bpp::AssociationGraphImplObserver< N, E, DAGraphImpl >::allEdgesIterator ( )
inlinevirtualinherited

◆ allEdgesIterator() [2/3]

std::unique_ptr<typename AssociationGraphObserver<N, E>::EdgeIterator> bpp::AssociationGraphImplObserver< N, E, DAGraphImpl >::allEdgesIterator ( ) const
inlineinherited

Definition at line 1404 of file AssociationGraphImplObserver.h.

◆ allEdgesIterator() [3/3]

◆ allNodesIterator() [1/4]

std::unique_ptr<typename AssociationGraphObserver<N, E>::NodeIterator> bpp::AssociationGraphImplObserver< N, E, DAGraphImpl >::allNodesIterator ( )
inlinevirtualinherited

◆ allNodesIterator() [2/4]

std::unique_ptr<typename AssociationGraphObserver<N, E>::NodeIterator> bpp::AssociationGraphImplObserver< N, E, DAGraphImpl >::allNodesIterator ( ) const
inlinevirtualinherited

◆ allNodesIterator() [3/4]

template<class N , class E >
virtual std::unique_ptr<NodeIterator> bpp::AssociationGraphObserver< N, E >::allNodesIterator ( ) const
pure virtualinherited

◆ allNodesIterator() [4/4]

◆ associateEdge() [1/2]

void bpp::AssociationGraphImplObserver< N, E, DAGraphImpl >::associateEdge ( Eref  edgeObject,
EdgeGraphid  graphEdge 
)
inlinevirtualinherited

Associate a E object to an edge in the graph.

Parameters
edgeObjectobject to associate
graphEdgeexisting edge to be associated

Implements bpp::AssociationGraphObserver< N, E >.

Definition at line 590 of file AssociationGraphImplObserver.h.

◆ associateEdge() [2/2]

template<class N , class E >
virtual void bpp::AssociationGraphObserver< N, E >::associateEdge ( std::shared_ptr< E >  edgeObject,
EdgeGraphid  edge 
)
pure virtualinherited

Associate a E object to an edge in the graph.

Parameters
edgeObjectobject to associate
edgeexisting edge to be associated

Implemented in bpp::AssociationGraphImplObserver< N, E, GraphImpl >, bpp::AssociationGraphImplObserver< N, E, DAGraphImpl >, and bpp::AssociationGraphImplObserver< N, E, TreeGraphImpl >.

◆ associateNode() [1/2]

void bpp::AssociationGraphImplObserver< N, E, DAGraphImpl >::associateNode ( Nref  nodeObject,
NodeGraphid  graphNode 
)
inlinevirtualinherited

Associate a N object to a node in the graph.

Parameters
nodeObjectobject to associate
graphNodeexisting node to be associated

Implements bpp::AssociationGraphObserver< N, E >.

Definition at line 570 of file AssociationGraphImplObserver.h.

◆ associateNode() [2/2]

template<class N , class E >
virtual void bpp::AssociationGraphObserver< N, E >::associateNode ( std::shared_ptr< N >  nodeObject,
NodeGraphid  node 
)
pure virtualinherited

Associate a N object to a node in the graph.

Parameters
nodeObjectobject to associate
nodeexisting node to be associated

Implemented in bpp::AssociationGraphImplObserver< N, E, GraphImpl >, bpp::AssociationGraphImplObserver< N, E, DAGraphImpl >, and bpp::AssociationGraphImplObserver< N, E, TreeGraphImpl >.

◆ clone()

template<class N , class E , class DAGraphImpl >
AssociationDAGraphImplObserver<N, E, DAGraphImpl>* bpp::AssociationDAGraphImplObserver< N, E, DAGraphImpl >::clone ( ) const
inlinevirtual

clone function

Implements bpp::Clonable.

Definition at line 125 of file AssociationDAGraphImplObserver.h.

◆ copy() [1/5]

template<class N , class E >
template<class A , class B >
static B* bpp::AssociationGraphObserver< N, E >::copy ( const A &  a,
typename std::enable_if< !std::is_base_of< B, A >::value &&!std::is_abstract< B >::value, B * >::type *  = 0 
)
inlinestaticinherited

Specific copy of A and B objects, if clonable or not.

Definition at line 82 of file AssociationGraphObserver.h.

◆ copy() [2/5]

template<class N , class E >
template<class A , class B >
static B* bpp::AssociationGraphObserver< N, E >::copy ( const A &  a,
typename std::enable_if< !std::is_base_of< B, A >::value &&std::is_abstract< B >::value, B * >::type *  = 0 
)
inlinestaticinherited

Definition at line 88 of file AssociationGraphObserver.h.

◆ copy() [3/5]

template<class N , class E >
template<class A , class B >
static B* bpp::AssociationGraphObserver< N, E >::copy ( const A &  a,
typename std::enable_if< std::is_base_of< B, A >::value &&!std::is_abstract< A >::value, B * >::type *  = 0 
)
inlinestaticinherited

Definition at line 95 of file AssociationGraphObserver.h.

◆ copy() [4/5]

template<class N , class E >
template<class A , class B >
static B* bpp::AssociationGraphObserver< N, E >::copy ( const A &  a,
typename std::enable_if< std::is_base_of< B, A >::value &&std::is_abstract< A >::value &&!std::is_base_of< Clonable, A >::value, B * >::type *  = 0 
)
inlinestaticinherited

Definition at line 107 of file AssociationGraphObserver.h.

◆ copy() [5/5]

template<class N , class E >
template<class A , class B >
static B* bpp::AssociationGraphObserver< N, E >::copy ( const A &  a,
typename std::enable_if< std::is_base_of< B, A >::value &&std::is_abstract< A >::value &&std::is_base_of< Clonable, A >::value, B * >::type *  = 0 
)
inlinestaticinherited

Definition at line 101 of file AssociationGraphObserver.h.

◆ createNode() [1/4]

void bpp::AssociationGraphImplObserver< N, E, DAGraphImpl >::createNode ( Nref  nodeObject)
inlinevirtualinherited

Creates an orphaned node from a NodeClass object.

Parameters
nodeObjectthe N object associated to the node in the graph.

Implements bpp::AssociationGraphObserver< N, E >.

Definition at line 474 of file AssociationGraphImplObserver.h.

◆ createNode() [2/4]

void bpp::AssociationGraphImplObserver< N, E, DAGraphImpl >::createNode ( Nref  objectOriginNode,
Nref  newNodeObject,
Eref  newEdgeObject = 00 
)
inlinevirtualinherited

Creates an node linked to an existing node. Order of parameters match the link method.

Parameters
objectOriginNodeexisting node. In a directed graph: origin -> newNode.
newNodeObjectthe N object associated to the node in the graph.
newEdgeObjectthe optional edge between the nodes (default = 00)

Implements bpp::AssociationGraphObserver< N, E >.

Definition at line 491 of file AssociationGraphImplObserver.h.

◆ createNode() [3/4]

template<class N , class E >
virtual void bpp::AssociationGraphObserver< N, E >::createNode ( std::shared_ptr< N >  newNodeObject)
pure virtualinherited

Creates an orphaned node from a NodeClass object.

Parameters
newNodeObjectthe N object associated to the node in the graph.

Implemented in bpp::AssociationGraphImplObserver< N, E, GraphImpl >, bpp::AssociationGraphImplObserver< N, E, DAGraphImpl >, and bpp::AssociationGraphImplObserver< N, E, TreeGraphImpl >.

◆ createNode() [4/4]

template<class N , class E >
virtual void bpp::AssociationGraphObserver< N, E >::createNode ( std::shared_ptr< N >  objectOriginNode,
std::shared_ptr< N >  newNodeObject,
std::shared_ptr< E >  newEdgeObject = 00 
)
pure virtualinherited

Creates an node linked to an existing node. Order of parameters match the link method.

Parameters
newNodeObjectthe N object associated to the node in the graph.
objectOriginNodeexisting node. In a directed graph: origin -> newNode.
newEdgeObjectoptional edge between nodes (default = 00)

Implemented in bpp::AssociationGraphImplObserver< N, E, GraphImpl >, bpp::AssociationGraphImplObserver< N, E, DAGraphImpl >, and bpp::AssociationGraphImplObserver< N, E, TreeGraphImpl >.

◆ deletedEdgesUpdate() [1/2]

void bpp::AssociationGraphImplObserver< N, E, DAGraphImpl >::deletedEdgesUpdate ( const std::vector< unsigned int > &  edgesToDelete)
inlinevirtualinherited

Delete unused object edges, since they have been deleted in the graph

Parameters
edgesToDeletea vector of Edges to delete

Implements bpp::GraphObserver.

Definition at line 1513 of file AssociationGraphImplObserver.h.

◆ deletedEdgesUpdate() [2/2]

virtual void bpp::GraphObserver::deletedEdgesUpdate ( const std::vector< unsigned int > &  edgesToDelete)
pure virtualinherited

Delete unused object edges, since they have been deleted in the graph

Parameters
edgesToDeletea vector of Edges to delete

Implemented in bpp::AssociationGraphImplObserver< N, E, GraphImpl >, bpp::AssociationGraphImplObserver< N, E, DAGraphImpl >, and bpp::AssociationGraphImplObserver< N, E, TreeGraphImpl >.

◆ deletedNodesUpdate() [1/2]

void bpp::AssociationGraphImplObserver< N, E, DAGraphImpl >::deletedNodesUpdate ( const std::vector< unsigned int > &  nodesToDelete)
inlinevirtualinherited

Delete unused object nodes, since they have been deleted in the graph

Parameters
nodesToDeletea vector of N to delete

Implements bpp::GraphObserver.

Definition at line 1531 of file AssociationGraphImplObserver.h.

◆ deletedNodesUpdate() [2/2]

virtual void bpp::GraphObserver::deletedNodesUpdate ( const std::vector< unsigned int > &  nodesToDelete)
pure virtualinherited

Delete unused object nodes, since they have been deleted in the graph

Parameters
nodesToDeletea vector of N to delete

Implemented in bpp::AssociationGraphImplObserver< N, E, GraphImpl >, bpp::AssociationGraphImplObserver< N, E, DAGraphImpl >, and bpp::AssociationGraphImplObserver< N, E, TreeGraphImpl >.

◆ deleteNode() [1/2]

void bpp::AssociationGraphImplObserver< N, E, DAGraphImpl >::deleteNode ( Nref  nodeObject)
inlinevirtualinherited

Deletes a node

Parameters
nodeObjectnode to be deleted. The N node object given in argument is not deleted.

Implements bpp::AssociationGraphObserver< N, E >.

Definition at line 549 of file AssociationGraphImplObserver.h.

◆ deleteNode() [2/2]

template<class N , class E >
virtual void bpp::AssociationGraphObserver< N, E >::deleteNode ( std::shared_ptr< N >  nodeObject)
pure virtualinherited

◆ dissociateEdge() [1/2]

void bpp::AssociationGraphImplObserver< N, E, DAGraphImpl >::dissociateEdge ( Eref  edgeObject)
inlinevirtualinherited

◆ dissociateEdge() [2/2]

template<class N , class E >
virtual void bpp::AssociationGraphObserver< N, E >::dissociateEdge ( std::shared_ptr< E >  edgeObject)
pure virtualinherited

◆ dissociateNode() [1/2]

void bpp::AssociationGraphImplObserver< N, E, DAGraphImpl >::dissociateNode ( Nref  nodeObject)
inlinevirtualinherited

Dissociate a N or E object to a node or an edge in the graph.

Parameters
nodeObjectobject to dissociate

Implements bpp::AssociationGraphObserver< N, E >.

Definition at line 609 of file AssociationGraphImplObserver.h.

◆ dissociateNode() [2/2]

template<class N , class E >
virtual void bpp::AssociationGraphObserver< N, E >::dissociateNode ( std::shared_ptr< N >  nodeObject)
pure virtualinherited

Dissociate a N or E object to a node or an edge in the graph. Graph is not changed.

Parameters
nodeObjectobject to dissociate

Implemented in bpp::AssociationGraphImplObserver< N, E, GraphImpl >, bpp::AssociationGraphImplObserver< N, E, DAGraphImpl >, and bpp::AssociationGraphImplObserver< N, E, TreeGraphImpl >.

◆ edgeToString()

std::string bpp::AssociationGraphImplObserver< N, E, DAGraphImpl >::edgeToString ( const Eref  edgeObject) const
inlineinherited

Definition at line 397 of file AssociationGraphImplObserver.h.

◆ fathersIterator() [1/2]

template<class N , class E , class DAGraphImpl >
std::unique_ptr<typename AssociationDAGraphObserver<N, E>::NodeIterator> bpp::AssociationDAGraphImplObserver< N, E, DAGraphImpl >::fathersIterator ( std::shared_ptr< N >  node)
inlinevirtual

◆ fathersIterator() [2/2]

template<class N , class E , class DAGraphImpl >
std::unique_ptr<typename AssociationDAGraphObserver<N, E>::NodeIterator> bpp::AssociationDAGraphImplObserver< N, E, DAGraphImpl >::fathersIterator ( std::shared_ptr< N >  node) const
inlinevirtual

◆ getAllEdges() [1/2]

std::vector<Eref > bpp::AssociationGraphImplObserver< N, E, DAGraphImpl >::getAllEdges ( ) const
inlinevirtualinherited

Get all the defined branches of a graph,

Returns
a vector containing the branchesObjects

Implements bpp::AssociationGraphObserver< N, E >.

Definition at line 1441 of file AssociationGraphImplObserver.h.

◆ getAllEdges() [2/2]

template<class N , class E >
virtual std::vector<std::shared_ptr<E> > bpp::AssociationGraphObserver< N, E >::getAllEdges ( ) const
pure virtualinherited

Get all the defined edges of a graphO,

Returns
a vector containing the branchesObjects

Implemented in bpp::AssociationGraphImplObserver< N, E, GraphImpl >, bpp::AssociationGraphImplObserver< N, E, DAGraphImpl >, and bpp::AssociationGraphImplObserver< N, E, TreeGraphImpl >.

◆ getAllEdgesIndexes() [1/2]

std::vector<EdgeIndex> bpp::AssociationGraphImplObserver< N, E, DAGraphImpl >::getAllEdgesIndexes ( ) const
inlinevirtualinherited

Get indexes of all defined edges of a graph,

Returns
a vector containing the edgesObjects

They are in the same order as the graphIds (and not necessary Indexes).

Implements bpp::AssociationGraphObserver< N, E >.

Definition at line 1352 of file AssociationGraphImplObserver.h.

◆ getAllEdgesIndexes() [2/2]

template<class N , class E >
virtual std::vector<EdgeIndex> bpp::AssociationGraphObserver< N, E >::getAllEdgesIndexes ( ) const
pure virtualinherited

◆ getAllInnerNodes() [1/2]

std::vector<Nref > bpp::AssociationGraphImplObserver< N, E, DAGraphImpl >::getAllInnerNodes ( ) const
inlinevirtualinherited

Get all the inner nodes of a graph, ie, nodes with degree >= 2.

Returns
a vector containing the inner nodes.

They are in the same order as the graphIds (and not necessary Indexes).

Implements bpp::AssociationGraphObserver< N, E >.

Definition at line 1272 of file AssociationGraphImplObserver.h.

◆ getAllInnerNodes() [2/2]

template<class N , class E >
virtual std::vector<std::shared_ptr<N> > bpp::AssociationGraphObserver< N, E >::getAllInnerNodes ( ) const
pure virtualinherited

Get all the inner nodes of a graph, ie, nodes with degree >= 2.

Returns
a vector containing the inner nodes.

Implemented in bpp::AssociationGraphImplObserver< N, E, GraphImpl >, bpp::AssociationGraphImplObserver< N, E, DAGraphImpl >, and bpp::AssociationGraphImplObserver< N, E, TreeGraphImpl >.

◆ getAllInnerNodesIndexes() [1/2]

std::vector<NodeIndex> bpp::AssociationGraphImplObserver< N, E, DAGraphImpl >::getAllInnerNodesIndexes ( ) const
inlinevirtualinherited

Get the indexes of all inner nodes of a graph, ie, nodes with degree >= 2.

Returns
a vector containing the inner nodes.

They are in the same order as the graphIds (and not necessary Indexes).

Implements bpp::AssociationGraphObserver< N, E >.

Definition at line 1293 of file AssociationGraphImplObserver.h.

◆ getAllInnerNodesIndexes() [2/2]

template<class N , class E >
virtual std::vector<NodeIndex> bpp::AssociationGraphObserver< N, E >::getAllInnerNodesIndexes ( ) const
pure virtualinherited

◆ getAllLeaves() [1/2]

std::vector<Nref > bpp::AssociationGraphImplObserver< N, E, DAGraphImpl >::getAllLeaves ( ) const
inlinevirtualinherited

Get all the leaves objects of a graph, ie, nodes with only one neighbor,

Returns
a vector containing the leaves

They are in the same order as the graphIds (and not necessary Indexes).

Implements bpp::AssociationGraphObserver< N, E >.

Definition at line 1229 of file AssociationGraphImplObserver.h.

◆ getAllLeaves() [2/2]

template<class N , class E >
virtual std::vector<std::shared_ptr<N> > bpp::AssociationGraphObserver< N, E >::getAllLeaves ( ) const
pure virtualinherited

Get all the leaves objects of a graph, ie, nodes with only one neighbor,

Returns
a vector containing the leaves

Implemented in bpp::AssociationGraphImplObserver< N, E, GraphImpl >, bpp::AssociationGraphImplObserver< N, E, DAGraphImpl >, and bpp::AssociationGraphImplObserver< N, E, TreeGraphImpl >.

◆ getAllLeavesIndexes() [1/2]

std::vector<NodeIndex> bpp::AssociationGraphImplObserver< N, E, DAGraphImpl >::getAllLeavesIndexes ( ) const
inlinevirtualinherited

Get index of the leaves objects of a graph, ie, nodes with only one neighbor,

Returns
a vector containing the leaves

They are in the same order as the graphIds (and not necessary Indexes).

Implements bpp::AssociationGraphObserver< N, E >.

Definition at line 1250 of file AssociationGraphImplObserver.h.

◆ getAllLeavesIndexes() [2/2]

template<class N , class E >
virtual std::vector<NodeIndex> bpp::AssociationGraphObserver< N, E >::getAllLeavesIndexes ( ) const
pure virtualinherited

◆ getAllNodes() [1/2]

std::vector<Nref > bpp::AssociationGraphImplObserver< N, E, DAGraphImpl >::getAllNodes ( ) const
inlinevirtualinherited

Get all the defined nodes of a graph,

Returns
a vector containing the nodesObjects

They are in the same order as the graphIds (and not necessary Indexes).

Implements bpp::AssociationGraphObserver< N, E >.

Definition at line 1314 of file AssociationGraphImplObserver.h.

◆ getAllNodes() [2/2]

template<class N , class E >
virtual std::vector<std::shared_ptr<N> > bpp::AssociationGraphObserver< N, E >::getAllNodes ( ) const
pure virtualinherited

Get all the defined nodes of a graphO,

Returns
a vector containing the nodesObjects

Implemented in bpp::AssociationGraphImplObserver< N, E, GraphImpl >, bpp::AssociationGraphImplObserver< N, E, DAGraphImpl >, and bpp::AssociationGraphImplObserver< N, E, TreeGraphImpl >.

◆ getAllNodesIndexes() [1/2]

std::vector<NodeIndex> bpp::AssociationGraphImplObserver< N, E, DAGraphImpl >::getAllNodesIndexes ( ) const
inlinevirtualinherited

Get indexes of all defined nodes of a graph,

Returns
a vector containing the nodesObjects

They are in the same order as the graphIds (and not necessary Indexes).

Implements bpp::AssociationGraphObserver< N, E >.

Definition at line 1333 of file AssociationGraphImplObserver.h.

◆ getAllNodesIndexes() [2/2]

template<class N , class E >
virtual std::vector<NodeIndex> bpp::AssociationGraphObserver< N, E >::getAllNodesIndexes ( ) const
pure virtualinherited

◆ getBelowEdges()

template<class N , class E , class DAGraphImpl >
std::vector<std::shared_ptr<E> > bpp::AssociationDAGraphImplObserver< N, E, DAGraphImpl >::getBelowEdges ( const std::shared_ptr< N >  localRoot)
inlinevirtual

◆ getBelowNodes()

template<class N , class E , class DAGraphImpl >
std::vector<std::shared_ptr<N> > bpp::AssociationDAGraphImplObserver< N, E, DAGraphImpl >::getBelowNodes ( const std::shared_ptr< N >  localRoot)
inlinevirtual

◆ getDegree()

size_t bpp::AssociationGraphImplObserver< N, E, DAGraphImpl >::getDegree ( const Nref  node) const
inlineinherited

Return the number of neighbors of a node

Parameters
nodethe concerned node
Returns
the number of neighbors

Definition at line 1595 of file AssociationGraphImplObserver.h.

◆ getEdge() [1/2]

Eref bpp::AssociationGraphImplObserver< N, E, DAGraphImpl >::getEdge ( EdgeIndex  edge) const
inlinevirtualinherited

Return the associated Node index

Parameters
edgeobject which to return the node index
Returns
a node index

Implements bpp::AssociationGraphObserver< N, E >.

Definition at line 947 of file AssociationGraphImplObserver.h.

◆ getEdge() [2/2]

template<class N , class E >
virtual std::shared_ptr<E> bpp::AssociationGraphObserver< N, E >::getEdge ( EdgeIndex  edgeIndex) const
pure virtualinherited

Return the associated Node index

Parameters
edgeIndexthe index of the wanted edge
Returns
E, an edge object

Implemented in bpp::AssociationGraphImplObserver< N, E, GraphImpl >, bpp::AssociationGraphImplObserver< N, E, DAGraphImpl >, and bpp::AssociationGraphImplObserver< N, E, TreeGraphImpl >.

◆ getEdgeFromGraphid() [1/4]

Eref bpp::AssociationGraphImplObserver< N, E, DAGraphImpl >::getEdgeFromGraphid ( EdgeGraphid  edge)
inlinevirtualinherited

◆ getEdgeFromGraphid() [2/4]

const Eref bpp::AssociationGraphImplObserver< N, E, DAGraphImpl >::getEdgeFromGraphid ( EdgeGraphid  edge) const
inlinevirtualinherited

◆ getEdgeFromGraphid() [3/4]

template<class N , class E >
virtual const std::shared_ptr<E> bpp::AssociationGraphObserver< N, E >::getEdgeFromGraphid ( EdgeGraphid  ) const
pure virtualinherited

◆ getEdgeFromGraphid() [4/4]

template<class N , class E >
virtual std::shared_ptr<E> bpp::AssociationGraphObserver< N, E >::getEdgeFromGraphid ( EdgeGraphid  )
pure virtualinherited

◆ getEdgeGraphid() [1/2]

EdgeGraphid bpp::AssociationGraphImplObserver< N, E, DAGraphImpl >::getEdgeGraphid ( const Eref  edgeObject) const
inlinevirtualinherited

Return the associated Edge ID

Parameters
edgeObjectobject which to return the node ID
Returns
a edge ID

Implements bpp::AssociationGraphObserver< N, E >.

Definition at line 644 of file AssociationGraphImplObserver.h.

◆ getEdgeGraphid() [2/2]

template<class N , class E >
virtual EdgeGraphid bpp::AssociationGraphObserver< N, E >::getEdgeGraphid ( const std::shared_ptr< E >  edgeObject) const
pure virtualinherited

Return the associated Node ID

Parameters
edgeObjectobject which to return the node ID
Returns
a node ID

Implemented in bpp::AssociationGraphImplObserver< N, E, GraphImpl >, bpp::AssociationGraphImplObserver< N, E, DAGraphImpl >, and bpp::AssociationGraphImplObserver< N, E, TreeGraphImpl >.

◆ getEdgeIndex() [1/2]

EdgeIndex bpp::AssociationGraphImplObserver< N, E, DAGraphImpl >::getEdgeIndex ( const Eref  edgeObject) const
inlinevirtualinherited

Return the associated Node index

Parameters
edgeObjectobject which to return the node index
Returns
a node index

Implements bpp::AssociationGraphObserver< N, E >.

Definition at line 787 of file AssociationGraphImplObserver.h.

◆ getEdgeIndex() [2/2]

template<class N , class E >
virtual EdgeIndex bpp::AssociationGraphObserver< N, E >::getEdgeIndex ( const std::shared_ptr< E >  edgeObject) const
pure virtualinherited

Return the associated Node index

Parameters
edgeObjectobject which to return the node index
Returns
a node index

Implemented in bpp::AssociationGraphImplObserver< N, E, GraphImpl >, bpp::AssociationGraphImplObserver< N, E, DAGraphImpl >, and bpp::AssociationGraphImplObserver< N, E, TreeGraphImpl >.

◆ getEdgeIndexes() [1/2]

std::vector<EdgeIndex> bpp::AssociationGraphImplObserver< N, E, DAGraphImpl >::getEdgeIndexes ( std::vector< Eref edges) const
inlinevirtualinherited

◆ getEdgeIndexes() [2/2]

template<class N , class E >
virtual std::vector<EdgeIndex> bpp::AssociationGraphObserver< N, E >::getEdgeIndexes ( std::vector< std::shared_ptr< E > >  edgeObjects) const
pure virtualinherited

◆ getEdgeLinking() [1/2]

Eref bpp::AssociationGraphImplObserver< N, E, DAGraphImpl >::getEdgeLinking ( Nref  nodeA,
Nref  nodeB 
) const
inlinevirtualinherited

Returns the Edge between two nodes nodeA -> nodeB

Parameters
nodeAsource node (if directed)
nodeBdestination node (if directed)
Returns
the edge between these two nodes, or 0 if edge does not exist

Implements bpp::AssociationGraphObserver< N, E >.

Definition at line 1485 of file AssociationGraphImplObserver.h.

◆ getEdgeLinking() [2/2]

template<class N , class E >
virtual std::shared_ptr<E> bpp::AssociationGraphObserver< N, E >::getEdgeLinking ( std::shared_ptr< N >  nodeA,
std::shared_ptr< N >  nodeB 
) const
pure virtualinherited

Returns the Edge between two nodes nodeA -> nodeB

Parameters
nodeAsource node (if directed)
nodeBdestination node (if directed)
Returns
the edge between these two nodes

Implemented in bpp::AssociationGraphImplObserver< N, E, GraphImpl >, bpp::AssociationGraphImplObserver< N, E, DAGraphImpl >, and bpp::AssociationGraphImplObserver< N, E, TreeGraphImpl >.

◆ getEdges() [1/4]

std::vector<Eref > bpp::AssociationGraphImplObserver< N, E, DAGraphImpl >::getEdges ( const Nref  node) const
inlinevirtualinherited

Get all the edges of a node in the graph.

Parameters
nodethe node one wants to get its edges
Returns
a vector containing the edges

Implements bpp::AssociationGraphObserver< N, E >.

Definition at line 1132 of file AssociationGraphImplObserver.h.

◆ getEdges() [2/4]

template<class N , class E >
virtual std::vector<std::shared_ptr<E> > bpp::AssociationGraphObserver< N, E >::getEdges ( const std::shared_ptr< N >  node) const
pure virtualinherited

Get all the edges from/to a node in the graph.

Parameters
nodethe node one wants to get its neighbor edges
Returns
a vector containing the edges

Implemented in bpp::AssociationGraphImplObserver< N, E, GraphImpl >, bpp::AssociationGraphImplObserver< N, E, DAGraphImpl >, and bpp::AssociationGraphImplObserver< N, E, TreeGraphImpl >.

◆ getEdges() [3/4]

std::vector<EdgeIndex> bpp::AssociationGraphImplObserver< N, E, DAGraphImpl >::getEdges ( NodeIndex  node) const
inlinevirtualinherited

◆ getEdges() [4/4]

◆ getEdges_()

std::vector<Eref > bpp::AssociationGraphImplObserver< N, E, DAGraphImpl >::getEdges_ ( const Nref  nodeObject,
neighborType  type 
) const
inlineprivateinherited

Get incoming / outgoing edges according to the enum type

Definition at line 443 of file AssociationGraphImplObserver.h.

◆ getEdgesFromGraphid() [1/2]

std::vector<Eref > bpp::AssociationGraphImplObserver< N, E, DAGraphImpl >::getEdgesFromGraphid ( std::vector< EdgeGraphid edges) const
inlinevirtualinherited

◆ getEdgesFromGraphid() [2/2]

template<class N , class E >
virtual std::vector<std::shared_ptr<E> > bpp::AssociationGraphObserver< N, E >::getEdgesFromGraphid ( std::vector< EdgeGraphid ) const
pure virtualinherited

◆ getFatherOfEdge() [1/3]

◆ getFatherOfEdge() [2/3]

template<class N , class E >
virtual NodeIndex bpp::AssociationDAGraphObserver< N, E >::getFatherOfEdge ( const EdgeIndex  edge) const
pure virtualinherited

◆ getFatherOfEdge() [3/3]

template<class N , class E , class DAGraphImpl >
std::shared_ptr<N> bpp::AssociationDAGraphImplObserver< N, E, DAGraphImpl >::getFatherOfEdge ( const std::shared_ptr< E >  edge) const
inlinevirtual

◆ getFathers() [1/3]

◆ getFathers() [2/3]

template<class N , class E >
virtual std::vector<NodeIndex> bpp::AssociationDAGraphObserver< N, E >::getFathers ( const NodeIndex  node) const
pure virtualinherited

◆ getFathers() [3/3]

template<class N , class E , class DAGraphImpl >
std::vector<std::shared_ptr<N> > bpp::AssociationDAGraphImplObserver< N, E, DAGraphImpl >::getFathers ( const std::shared_ptr< N >  node) const
inlinevirtual

◆ getGraph() [1/2]

std::shared_ptr<DAGraphImpl > bpp::AssociationGraphImplObserver< N, E, DAGraphImpl >::getGraph ( )
inlineinherited

Definition at line 356 of file AssociationGraphImplObserver.h.

◆ getGraph() [2/2]

const std::shared_ptr<DAGraphImpl > bpp::AssociationGraphImplObserver< N, E, DAGraphImpl >::getGraph ( ) const
inlineinherited

Definition at line 351 of file AssociationGraphImplObserver.h.

◆ getIncomingEdges() [1/4]

std::vector<Eref > bpp::AssociationGraphImplObserver< N, E, DAGraphImpl >::getIncomingEdges ( const Nref  node) const
inlinevirtualinherited

In an directed graph, get all the edges which are coming to a node in the graph.

Parameters
nodethe node one wants to get its edges
Returns
a vector containing the incoming edges

Implements bpp::AssociationGraphObserver< N, E >.

Definition at line 1198 of file AssociationGraphImplObserver.h.

◆ getIncomingEdges() [2/4]

template<class N , class E >
virtual std::vector<std::shared_ptr<E> > bpp::AssociationGraphObserver< N, E >::getIncomingEdges ( const std::shared_ptr< N >  node) const
pure virtualinherited

In an directed graph, get all the edges which are coming to a node in the graph.

Parameters
nodethe node one wants to get its edges
Returns
a vector containing the incoming edges

Implemented in bpp::AssociationGraphImplObserver< N, E, GraphImpl >, bpp::AssociationGraphImplObserver< N, E, DAGraphImpl >, and bpp::AssociationGraphImplObserver< N, E, TreeGraphImpl >.

◆ getIncomingEdges() [3/4]

std::vector<EdgeIndex> bpp::AssociationGraphImplObserver< N, E, DAGraphImpl >::getIncomingEdges ( NodeIndex  node) const
inlinevirtualinherited

◆ getIncomingEdges() [4/4]

template<class N , class E >
virtual std::vector<EdgeIndex> bpp::AssociationGraphObserver< N, E >::getIncomingEdges ( NodeIndex  node) const
pure virtualinherited

◆ getIncomingNeighbors() [1/4]

std::vector<Nref > bpp::AssociationGraphImplObserver< N, E, DAGraphImpl >::getIncomingNeighbors ( const Nref  node) const
inlinevirtualinherited

In an directed graph, get all the neighbors which are coming to a node in the graph.

Parameters
nodethe node one wants to get its neighbors
Returns
a vector containing the incoming neighbors

Implements bpp::AssociationGraphObserver< N, E >.

Definition at line 1181 of file AssociationGraphImplObserver.h.

◆ getIncomingNeighbors() [2/4]

template<class N , class E >
virtual std::vector<std::shared_ptr<N> > bpp::AssociationGraphObserver< N, E >::getIncomingNeighbors ( const std::shared_ptr< N >  node) const
pure virtualinherited

In an directed graph, get all the neighbors which are coming to a node in the graph.

Parameters
nodethe node one wants to get its neighbors
Returns
a vector containing the incoming neighbors

Implemented in bpp::AssociationGraphImplObserver< N, E, GraphImpl >, bpp::AssociationGraphImplObserver< N, E, DAGraphImpl >, and bpp::AssociationGraphImplObserver< N, E, TreeGraphImpl >.

◆ getIncomingNeighbors() [3/4]

std::vector<NodeIndex> bpp::AssociationGraphImplObserver< N, E, DAGraphImpl >::getIncomingNeighbors ( NodeIndex  node) const
inlinevirtualinherited

◆ getIncomingNeighbors() [4/4]

template<class N , class E >
virtual std::vector<NodeIndex> bpp::AssociationGraphObserver< N, E >::getIncomingNeighbors ( NodeIndex  node) const
pure virtualinherited

◆ getLeavesFromNode() [1/2]

std::vector<Nref > bpp::AssociationGraphImplObserver< N, E, DAGraphImpl >::getLeavesFromNode ( Nref  node,
unsigned int  maxDepth 
) const
inlinevirtualinherited

Get the leaves of a graph, ie, nodes with only one neighbor, starting from a peculiar node, with maxDepth recursion depths.

Parameters
nodethe starting node
maxDepththe max recursion depth
Returns
a vector containing the leaves

They are in the same order as the graphIds (and not necessary Indexes).

Implements bpp::AssociationGraphObserver< N, E >.

Definition at line 1218 of file AssociationGraphImplObserver.h.

◆ getLeavesFromNode() [2/2]

template<class N , class E >
virtual std::vector<std::shared_ptr<N> > bpp::AssociationGraphObserver< N, E >::getLeavesFromNode ( std::shared_ptr< N >  node,
unsigned int  maxDepth 
) const
pure virtualinherited

Get the leaves of a graph, ie, nodes with only one neighbor, starting from a peculiar node, up to a specific depth.

Parameters
nodethe starting node
maxDepththe max recursion depth
Returns
a vector containing the leaves

Implemented in bpp::AssociationGraphImplObserver< N, E, GraphImpl >, bpp::AssociationGraphImplObserver< N, E, DAGraphImpl >, and bpp::AssociationGraphImplObserver< N, E, TreeGraphImpl >.

◆ getLeavesUnderNode()

template<class N , class E , class DAGraphImpl >
std::vector<std::shared_ptr<N> > bpp::AssociationDAGraphImplObserver< N, E, DAGraphImpl >::getLeavesUnderNode ( std::shared_ptr< N >  node) const
inlinevirtual

◆ getNeighbors() [1/4]

std::vector<Nref > bpp::AssociationGraphImplObserver< N, E, DAGraphImpl >::getNeighbors ( const Nref  node) const
inlinevirtualinherited

Get all the neighbors of a node in the graph.

Parameters
nodethe node one wants to get its neighbors
Returns
a vector containing the neighbors

They are in the same order as the graphIds (and not necessary Indexes).

Implements bpp::AssociationGraphObserver< N, E >.

Definition at line 1109 of file AssociationGraphImplObserver.h.

◆ getNeighbors() [2/4]

template<class N , class E >
virtual std::vector<std::shared_ptr<N> > bpp::AssociationGraphObserver< N, E >::getNeighbors ( const std::shared_ptr< N >  node) const
pure virtualinherited

Get all the neighbors of a node in the graph.

Parameters
nodethe node one wants to get its neighbors
Returns
a vector containing the neighbors

Implemented in bpp::AssociationGraphImplObserver< N, E, GraphImpl >, bpp::AssociationGraphImplObserver< N, E, DAGraphImpl >, and bpp::AssociationGraphImplObserver< N, E, TreeGraphImpl >.

◆ getNeighbors() [3/4]

std::vector<NodeIndex> bpp::AssociationGraphImplObserver< N, E, DAGraphImpl >::getNeighbors ( NodeIndex  node) const
inlinevirtualinherited

Get the index of all neighbors of a node in the graph.

Parameters
nodethe node one wants to get its neighbors
Returns
a vector containing the neighbors

They are in the same order as the graphIds (and not necessary Indexes).

Implements bpp::AssociationGraphObserver< N, E >.

Definition at line 1121 of file AssociationGraphImplObserver.h.

◆ getNeighbors() [4/4]

◆ getNeighbors_()

std::vector<Nref > bpp::AssociationGraphImplObserver< N, E, DAGraphImpl >::getNeighbors_ ( const Nref  nodeObject,
neighborType  type 
) const
inlineprivateinherited

Get incoming / outgoing neighbors according to the enum type

Definition at line 420 of file AssociationGraphImplObserver.h.

◆ getNode() [1/2]

Nref bpp::AssociationGraphImplObserver< N, E, DAGraphImpl >::getNode ( NodeIndex  node) const
inlinevirtualinherited

Return the associated Node index

Parameters
nodeobject which to return the node index
Returns
a node index

Implements bpp::AssociationGraphObserver< N, E >.

Definition at line 937 of file AssociationGraphImplObserver.h.

◆ getNode() [2/2]

template<class N , class E >
virtual std::shared_ptr<N> bpp::AssociationGraphObserver< N, E >::getNode ( NodeIndex  nodeIndex) const
pure virtualinherited

Return the associated Node, querying with an index

Parameters
nodeIndexthe index of the wanted node
Returns
N, a node object

Implemented in bpp::AssociationGraphImplObserver< N, E, GraphImpl >, bpp::AssociationGraphImplObserver< N, E, DAGraphImpl >, and bpp::AssociationGraphImplObserver< N, E, TreeGraphImpl >.

◆ getNodeFromGraphid() [1/4]

Nref bpp::AssociationGraphImplObserver< N, E, DAGraphImpl >::getNodeFromGraphid ( NodeGraphid  node)
inlinevirtualinherited

Transforms an (a list of) id(s) into an (a list of) object(s)

Implements bpp::AssociationGraphObserver< N, E >.

Definition at line 656 of file AssociationGraphImplObserver.h.

◆ getNodeFromGraphid() [2/4]

const Nref bpp::AssociationGraphImplObserver< N, E, DAGraphImpl >::getNodeFromGraphid ( NodeGraphid  node) const
inlinevirtualinherited

Transforms an (a list of) id(s) into an (a list of) object(s)

Implements bpp::AssociationGraphObserver< N, E >.

Definition at line 663 of file AssociationGraphImplObserver.h.

◆ getNodeFromGraphid() [3/4]

template<class N , class E >
virtual const std::shared_ptr<N> bpp::AssociationGraphObserver< N, E >::getNodeFromGraphid ( NodeGraphid  ) const
pure virtualinherited

◆ getNodeFromGraphid() [4/4]

template<class N , class E >
virtual std::shared_ptr<N> bpp::AssociationGraphObserver< N, E >::getNodeFromGraphid ( NodeGraphid  )
pure virtualinherited

◆ getNodeGraphid() [1/2]

NodeGraphid bpp::AssociationGraphImplObserver< N, E, DAGraphImpl >::getNodeGraphid ( const Nref  nodeObject) const
inlinevirtualinherited

Return the associated Node ID

Parameters
nodeObjectobject which to return the node ID
Returns
a node ID

Implements bpp::AssociationGraphObserver< N, E >.

Definition at line 630 of file AssociationGraphImplObserver.h.

◆ getNodeGraphid() [2/2]

template<class N , class E >
virtual NodeGraphid bpp::AssociationGraphObserver< N, E >::getNodeGraphid ( const std::shared_ptr< N >  nodeObject) const
pure virtualinherited

Return the associated Node ID

Parameters
nodeObjectobject which to return the node ID
Returns
a node ID

Implemented in bpp::AssociationGraphImplObserver< N, E, GraphImpl >, bpp::AssociationGraphImplObserver< N, E, DAGraphImpl >, and bpp::AssociationGraphImplObserver< N, E, TreeGraphImpl >.

◆ getNodeIndex() [1/2]

NodeIndex bpp::AssociationGraphImplObserver< N, E, DAGraphImpl >::getNodeIndex ( const Nref  nodeObject) const
inlinevirtualinherited

Return the associated Node index

Parameters
nodeObjectobject which to return the node index
Returns
a node index

Implements bpp::AssociationGraphObserver< N, E >.

Definition at line 764 of file AssociationGraphImplObserver.h.

◆ getNodeIndex() [2/2]

template<class N , class E >
virtual NodeIndex bpp::AssociationGraphObserver< N, E >::getNodeIndex ( const std::shared_ptr< N >  nodeObject) const
pure virtualinherited

Return the associated Node index

Parameters
nodeObjectobject which to return the node index
Returns
a node index

Implemented in bpp::AssociationGraphImplObserver< N, E, GraphImpl >, bpp::AssociationGraphImplObserver< N, E, DAGraphImpl >, and bpp::AssociationGraphImplObserver< N, E, TreeGraphImpl >.

◆ getNodeIndexes() [1/2]

std::vector<NodeIndex> bpp::AssociationGraphImplObserver< N, E, DAGraphImpl >::getNodeIndexes ( std::vector< Nref nodes) const
inlinevirtualinherited

◆ getNodeIndexes() [2/2]

template<class N , class E >
virtual std::vector<NodeIndex> bpp::AssociationGraphObserver< N, E >::getNodeIndexes ( std::vector< std::shared_ptr< N > >  nodeObjects) const
pure virtualinherited

◆ getNodes()

std::pair<Nref, Nref> bpp::AssociationGraphImplObserver< N, E, DAGraphImpl >::getNodes ( Eref  edge) const
inlineinherited

Get nodes located at the extremities of an edge

Parameters
edgean edge
Returns
a pair of the Nodes at each extremity of the edge example : N1–E1-->N2; getNodes(E1) will return (N1,N2);

Definition at line 1473 of file AssociationGraphImplObserver.h.

◆ getNodesFromGraphid() [1/2]

std::vector<Nref > bpp::AssociationGraphImplObserver< N, E, DAGraphImpl >::getNodesFromGraphid ( std::vector< NodeGraphid nodes) const
inlinevirtualinherited

◆ getNodesFromGraphid() [2/2]

template<class N , class E >
virtual std::vector<std::shared_ptr<N> > bpp::AssociationGraphObserver< N, E >::getNodesFromGraphid ( std::vector< NodeGraphid ) const
pure virtualinherited

◆ getNumberOfEdges()

size_t bpp::AssociationGraphImplObserver< N, E, DAGraphImpl >::getNumberOfEdges ( ) const
inlineinherited

Return the number of defined edges, ie edges that have a corresponding object in this GraphObserver

Returns
the number of edges

Definition at line 1567 of file AssociationGraphImplObserver.h.

◆ getNumberOfFathers()

template<class N , class E , class DAGraphImpl >
size_t bpp::AssociationDAGraphImplObserver< N, E, DAGraphImpl >::getNumberOfFathers ( const std::shared_ptr< N >  node) const
inlinevirtual

Return the number of fathers

Parameters
nodethe concerned node
Returns
the number of fathers

Implements bpp::AssociationDAGraphObserver< N, E >.

Definition at line 239 of file AssociationDAGraphImplObserver.h.

References bpp::AssociationGraphImplObserver< N, E, DAGraphImpl >::getGraph(), and bpp::AssociationGraphImplObserver< N, E, DAGraphImpl >::getNodeGraphid().

◆ getNumberOfLeaves()

size_t bpp::AssociationGraphImplObserver< N, E, DAGraphImpl >::getNumberOfLeaves ( ) const
inlineinherited

Return the number of defined leaves, ie leaves that have a corresponding object in this GraphObserver

Returns
the number of leaves

Definition at line 1578 of file AssociationGraphImplObserver.h.

◆ getNumberOfNodes()

size_t bpp::AssociationGraphImplObserver< N, E, DAGraphImpl >::getNumberOfNodes ( ) const
inlineinherited

Return the number of defined nodes, ie nodes that have a corresponding object in this GraphObserver

Returns
the number of nodes

Definition at line 1557 of file AssociationGraphImplObserver.h.

◆ getNumberOfSons()

template<class N , class E , class DAGraphImpl >
size_t bpp::AssociationDAGraphImplObserver< N, E, DAGraphImpl >::getNumberOfSons ( const std::shared_ptr< N >  node) const
inlinevirtual

Return the number of sons

Parameters
nodethe concerned node
Returns
the number of sons

Implements bpp::AssociationDAGraphObserver< N, E >.

Definition at line 249 of file AssociationDAGraphImplObserver.h.

References bpp::AssociationGraphImplObserver< N, E, DAGraphImpl >::getGraph(), and bpp::AssociationGraphImplObserver< N, E, DAGraphImpl >::getNodeGraphid().

◆ getOutgoingEdges() [1/4]

std::vector<Eref > bpp::AssociationGraphImplObserver< N, E, DAGraphImpl >::getOutgoingEdges ( const Nref  node) const
inlinevirtualinherited

In an directed graph, get all the edges which are leaving a node in the graph.

Parameters
nodethe node one wants to get its edges
Returns
a vector containing the outgoing edges

Implements bpp::AssociationGraphObserver< N, E >.

Definition at line 1165 of file AssociationGraphImplObserver.h.

◆ getOutgoingEdges() [2/4]

template<class N , class E >
virtual std::vector<std::shared_ptr<E> > bpp::AssociationGraphObserver< N, E >::getOutgoingEdges ( const std::shared_ptr< N >  node) const
pure virtualinherited

In an directed graph, get all the edges which are leaving a node in the graph.

Parameters
nodethe node one wants to get its edges
Returns
a vector containing the outgoing edges

Implemented in bpp::AssociationGraphImplObserver< N, E, GraphImpl >, bpp::AssociationGraphImplObserver< N, E, DAGraphImpl >, and bpp::AssociationGraphImplObserver< N, E, TreeGraphImpl >.

◆ getOutgoingEdges() [3/4]

std::vector<EdgeIndex> bpp::AssociationGraphImplObserver< N, E, DAGraphImpl >::getOutgoingEdges ( NodeIndex  node) const
inlinevirtualinherited

◆ getOutgoingEdges() [4/4]

template<class N , class E >
virtual std::vector<EdgeIndex> bpp::AssociationGraphObserver< N, E >::getOutgoingEdges ( NodeIndex  node) const
pure virtualinherited

◆ getOutgoingNeighbors() [1/4]

std::vector<Nref > bpp::AssociationGraphImplObserver< N, E, DAGraphImpl >::getOutgoingNeighbors ( const Nref  node) const
inlinevirtualinherited

In an directed graph, get all the neighbors which are leaving a node in the graph.

Parameters
nodethe node one wants to get its neighbors
Returns
a vector containing the outgoing neighbors

Implements bpp::AssociationGraphObserver< N, E >.

Definition at line 1149 of file AssociationGraphImplObserver.h.

◆ getOutgoingNeighbors() [2/4]

template<class N , class E >
virtual std::vector<std::shared_ptr<N> > bpp::AssociationGraphObserver< N, E >::getOutgoingNeighbors ( const std::shared_ptr< N >  node) const
pure virtualinherited

In an directed graph, get all the neighbors which are leaving a node in the graph.

Parameters
nodethe node one wants to get its neighbors
Returns
a vector containing the outgoing neighbors

Implemented in bpp::AssociationGraphImplObserver< N, E, GraphImpl >, bpp::AssociationGraphImplObserver< N, E, DAGraphImpl >, and bpp::AssociationGraphImplObserver< N, E, TreeGraphImpl >.

◆ getOutgoingNeighbors() [3/4]

std::vector<NodeIndex> bpp::AssociationGraphImplObserver< N, E, DAGraphImpl >::getOutgoingNeighbors ( NodeIndex  node) const
inlinevirtualinherited

◆ getOutgoingNeighbors() [4/4]

template<class N , class E >
virtual std::vector<NodeIndex> bpp::AssociationGraphObserver< N, E >::getOutgoingNeighbors ( NodeIndex  node) const
pure virtualinherited

◆ getRoot() [1/2]

Nref bpp::AssociationGraphImplObserver< N, E, DAGraphImpl >::getRoot ( ) const
inlinevirtualinherited
Returns
the root

Implements bpp::AssociationGraphObserver< N, E >.

Definition at line 728 of file AssociationGraphImplObserver.h.

◆ getRoot() [2/2]

template<class N , class E >
virtual std::shared_ptr<N> bpp::AssociationGraphObserver< N, E >::getRoot ( ) const
pure virtualinherited

◆ getRootIndex() [1/2]

NodeIndex bpp::AssociationGraphImplObserver< N, E, DAGraphImpl >::getRootIndex ( ) const
inlinevirtualinherited

◆ getRootIndex() [2/2]

◆ getSon() [1/3]

template<class N , class E >
virtual NodeIndex bpp::AssociationDAGraphObserver< N, E >::getSon ( const EdgeIndex  edge) const
pure virtualinherited

◆ getSon() [2/3]

◆ getSon() [3/3]

template<class N , class E , class DAGraphImpl >
std::shared_ptr<N> bpp::AssociationDAGraphImplObserver< N, E, DAGraphImpl >::getSon ( const std::shared_ptr< E >  edge) const
inlinevirtual

◆ getSons() [1/3]

◆ getSons() [2/3]

template<class N , class E >
virtual std::vector<NodeIndex> bpp::AssociationDAGraphObserver< N, E >::getSons ( const NodeIndex  node) const
pure virtualinherited

◆ getSons() [3/3]

template<class N , class E , class DAGraphImpl >
std::vector<std::shared_ptr<N> > bpp::AssociationDAGraphImplObserver< N, E, DAGraphImpl >::getSons ( const std::shared_ptr< N >  node) const
inlinevirtual

◆ hasEdge() [1/3]

bool bpp::AssociationGraphImplObserver< N, E, DAGraphImpl >::hasEdge ( EdgeIndex  edge) const
inlinevirtualinherited

Return if has Edge matching EdgeIndex

Parameters
edgeEdgeIndex index

Implements bpp::AssociationGraphObserver< N, E >.

Definition at line 927 of file AssociationGraphImplObserver.h.

◆ hasEdge() [2/3]

template<class N , class E >
virtual bool bpp::AssociationGraphObserver< N, E >::hasEdge ( EdgeIndex  edgeIndex) const
pure virtualinherited

Return if the Graph has an edge matching edgeIndex

Parameters
edgeIndexthe index of the wanted edge

Implemented in bpp::AssociationGraphImplObserver< N, E, GraphImpl >, bpp::AssociationGraphImplObserver< N, E, DAGraphImpl >, and bpp::AssociationGraphImplObserver< N, E, TreeGraphImpl >.

◆ hasEdge() [3/3]

bool bpp::AssociationGraphImplObserver< N, E, DAGraphImpl >::hasEdge ( Eref  edgeObject) const
inlineinherited

Definition at line 373 of file AssociationGraphImplObserver.h.

◆ hasEdgeIndex() [1/2]

bool bpp::AssociationGraphImplObserver< N, E, DAGraphImpl >::hasEdgeIndex ( const Eref  edgeObject) const
inlinevirtualinherited

◆ hasEdgeIndex() [2/2]

template<class N , class E >
virtual bool bpp::AssociationGraphObserver< N, E >::hasEdgeIndex ( const std::shared_ptr< E >  edgeObject) const
pure virtualinherited

◆ hasFather() [1/3]

◆ hasFather() [2/3]

template<class N , class E >
virtual bool bpp::AssociationDAGraphObserver< N, E >::hasFather ( const NodeIndex  node) const
pure virtualinherited

◆ hasFather() [3/3]

template<class N , class E , class DAGraphImpl >
bool bpp::AssociationDAGraphImplObserver< N, E, DAGraphImpl >::hasFather ( const std::shared_ptr< N >  nodeObject) const
inlinevirtual

◆ hasNode() [1/3]

bool bpp::AssociationGraphImplObserver< N, E, DAGraphImpl >::hasNode ( NodeIndex  node) const
inlinevirtualinherited

Return if has Node matching NodeIndex

Parameters
nodeNodeIndex index

Implements bpp::AssociationGraphObserver< N, E >.

Definition at line 918 of file AssociationGraphImplObserver.h.

◆ hasNode() [2/3]

template<class N , class E >
virtual bool bpp::AssociationGraphObserver< N, E >::hasNode ( NodeIndex  nodeIndex) const
pure virtualinherited

Return if the Graph has a node matching nodeIndex

Parameters
nodeIndexthe index of the wanted node

Implemented in bpp::AssociationGraphImplObserver< N, E, GraphImpl >, bpp::AssociationGraphImplObserver< N, E, DAGraphImpl >, and bpp::AssociationGraphImplObserver< N, E, TreeGraphImpl >.

◆ hasNode() [3/3]

bool bpp::AssociationGraphImplObserver< N, E, DAGraphImpl >::hasNode ( Nref  nodeObject) const
inlineinherited

Definition at line 366 of file AssociationGraphImplObserver.h.

◆ hasNodeIndex() [1/2]

bool bpp::AssociationGraphImplObserver< N, E, DAGraphImpl >::hasNodeIndex ( const Nref  nodeObject) const
inlinevirtualinherited

return if the object has an index.

Implements bpp::AssociationGraphObserver< N, E >.

Definition at line 749 of file AssociationGraphImplObserver.h.

◆ hasNodeIndex() [2/2]

template<class N , class E >
virtual bool bpp::AssociationGraphObserver< N, E >::hasNodeIndex ( const std::shared_ptr< N >  nodeObject) const
pure virtualinherited

◆ incomingEdgesIterator() [1/3]

std::unique_ptr<typename AssociationGraphObserver<N, E>::EdgeIterator> bpp::AssociationGraphImplObserver< N, E, DAGraphImpl >::incomingEdgesIterator ( Nref  node)
inlinevirtualinherited

◆ incomingEdgesIterator() [2/3]

std::unique_ptr<typename AssociationGraphObserver<N, E>::EdgeIterator> bpp::AssociationGraphImplObserver< N, E, DAGraphImpl >::incomingEdgesIterator ( Nref  node) const
inlineinherited

Definition at line 1432 of file AssociationGraphImplObserver.h.

◆ incomingEdgesIterator() [3/3]

template<class N , class E >
virtual std::unique_ptr<EdgeIterator> bpp::AssociationGraphObserver< N, E >::incomingEdgesIterator ( std::shared_ptr< N >  node)
pure virtualinherited

◆ incomingNeighborNodesIterator() [1/4]

std::unique_ptr<typename AssociationGraphObserver<N, E>::NodeIterator> bpp::AssociationGraphImplObserver< N, E, DAGraphImpl >::incomingNeighborNodesIterator ( Nref  node)
inlinevirtualinherited

◆ incomingNeighborNodesIterator() [2/4]

std::unique_ptr<typename AssociationGraphObserver<N, E>::NodeIterator> bpp::AssociationGraphImplObserver< N, E, DAGraphImpl >::incomingNeighborNodesIterator ( Nref  node) const
inlinevirtualinherited

◆ incomingNeighborNodesIterator() [3/4]

template<class N , class E >
virtual std::unique_ptr<NodeIterator> bpp::AssociationGraphObserver< N, E >::incomingNeighborNodesIterator ( std::shared_ptr< N >  node) const
pure virtualinherited

◆ incomingNeighborNodesIterator() [4/4]

template<class N , class E >
virtual std::unique_ptr<NodeIterator> bpp::AssociationGraphObserver< N, E >::incomingNeighborNodesIterator ( std::shared_ptr< N >  node)
pure virtualinherited

◆ isLeaf() [1/2]

bool bpp::AssociationGraphImplObserver< N, E, DAGraphImpl >::isLeaf ( const NodeIndex  nodeid) const
inlineinherited

Definition at line 1462 of file AssociationGraphImplObserver.h.

◆ isLeaf() [2/2]

bool bpp::AssociationGraphImplObserver< N, E, DAGraphImpl >::isLeaf ( const Nref  node) const
inlineinherited

Is the node a leaf?

Definition at line 1457 of file AssociationGraphImplObserver.h.

◆ isRooted()

template<class N , class E , class DAGraphImpl >
bool bpp::AssociationDAGraphImplObserver< N, E, DAGraphImpl >::isRooted ( ) const
inlinevirtual

Is the DAG rooted? Ie with a unique node with no father.

Returns
true if rooted

Implements bpp::AssociationDAGraphObserver< N, E >.

Definition at line 144 of file AssociationDAGraphImplObserver.h.

References bpp::AssociationGraphImplObserver< N, E, DAGraphImpl >::getGraph().

◆ isValid()

template<class N , class E , class DAGraphImpl >
bool bpp::AssociationDAGraphImplObserver< N, E, DAGraphImpl >::isValid ( ) const
inlinevirtual

Is the graph a DAG? A DAG must be acyclic and with no isolated node.

Returns
true if valid DAG

Implements bpp::AssociationDAGraphObserver< N, E >.

Definition at line 135 of file AssociationDAGraphImplObserver.h.

References bpp::AssociationGraphImplObserver< N, E, DAGraphImpl >::getGraph().

◆ link() [1/2]

void bpp::AssociationGraphImplObserver< N, E, DAGraphImpl >::link ( Nref  nodeObjectA,
Nref  nodeObjectB,
Eref  edgeObject = 00 
)
inlinevirtualinherited

Creates a link between two existing nodes. If directed graph: nodeA -> nodeB.

Parameters
nodeObjectAsource node (or first node if undirected)
nodeObjectBtarget node (or second node if undirected)
edgeObjectthe optional edge between the nodes (default = 00)

Implements bpp::AssociationGraphObserver< N, E >.

Definition at line 506 of file AssociationGraphImplObserver.h.

◆ link() [2/2]

template<class N , class E >
virtual void bpp::AssociationGraphObserver< N, E >::link ( std::shared_ptr< N >  nodeObjectA,
std::shared_ptr< N >  nodeObjectB,
std::shared_ptr< E >  edgeObject = 00 
)
pure virtualinherited

Creates a link between two existing nodes. If directed graph: nodeA -> nodeB.

Parameters
nodeObjectAsource node (or first node if undirected)
nodeObjectBtarget node (or second node if undirected)
edgeObjectthe optional edge between the nodes (default = 00)

Implemented in bpp::AssociationGraphImplObserver< N, E, GraphImpl >, bpp::AssociationGraphImplObserver< N, E, DAGraphImpl >, and bpp::AssociationGraphImplObserver< N, E, TreeGraphImpl >.

◆ nodeToString()

std::string bpp::AssociationGraphImplObserver< N, E, DAGraphImpl >::nodeToString ( const Nref  nodeObject) const
inlineinherited

Definition at line 383 of file AssociationGraphImplObserver.h.

◆ operator=()

template<class N , class E , class DAGraphImpl >
AssociationDAGraphImplObserver<N, E, DAGraphImpl>& bpp::AssociationDAGraphImplObserver< N, E, DAGraphImpl >::operator= ( bpp::AssociationDAGraphImplObserver< N, E, DAGraphImpl > const &  dAGraphObserver)
inline

= Operator

Parameters
dAGraphObserverthe DAGraphObserver we want to copy the values

Definition at line 110 of file AssociationDAGraphImplObserver.h.

References bpp::AssociationGraphImplObserver< N, E, GraphImpl >::operator=().

◆ outgoingEdgesIterator() [1/3]

std::unique_ptr<typename AssociationGraphObserver<N, E>::EdgeIterator> bpp::AssociationGraphImplObserver< N, E, DAGraphImpl >::outgoingEdgesIterator ( Nref  node)
inlinevirtualinherited

◆ outgoingEdgesIterator() [2/3]

std::unique_ptr<typename AssociationGraphObserver<N, E>::EdgeIterator> bpp::AssociationGraphImplObserver< N, E, DAGraphImpl >::outgoingEdgesIterator ( Nref  node) const
inlineinherited

Definition at line 1418 of file AssociationGraphImplObserver.h.

◆ outgoingEdgesIterator() [3/3]

template<class N , class E >
virtual std::unique_ptr<EdgeIterator> bpp::AssociationGraphObserver< N, E >::outgoingEdgesIterator ( std::shared_ptr< N >  node)
pure virtualinherited

◆ outgoingNeighborNodesIterator() [1/4]

std::unique_ptr<typename AssociationGraphObserver<N, E>::NodeIterator> bpp::AssociationGraphImplObserver< N, E, DAGraphImpl >::outgoingNeighborNodesIterator ( Nref  node)
inlinevirtualinherited

◆ outgoingNeighborNodesIterator() [2/4]

std::unique_ptr<typename AssociationGraphObserver<N, E>::NodeIterator> bpp::AssociationGraphImplObserver< N, E, DAGraphImpl >::outgoingNeighborNodesIterator ( Nref  node) const
inlinevirtualinherited

◆ outgoingNeighborNodesIterator() [3/4]

template<class N , class E >
virtual std::unique_ptr<NodeIterator> bpp::AssociationGraphObserver< N, E >::outgoingNeighborNodesIterator ( std::shared_ptr< N >  node) const
pure virtualinherited

◆ outgoingNeighborNodesIterator() [4/4]

template<class N , class E >
virtual std::unique_ptr<NodeIterator> bpp::AssociationGraphObserver< N, E >::outgoingNeighborNodesIterator ( std::shared_ptr< N >  node)
pure virtualinherited

◆ outputToDot() [1/2]

void bpp::AssociationGraphImplObserver< N, E, DAGraphImpl >::outputToDot ( const std::string &  fname,
const std::string &  name 
) const
inlineinherited

Definition at line 971 of file AssociationGraphImplObserver.h.

◆ outputToDot() [2/2]

void bpp::AssociationGraphImplObserver< N, E, DAGraphImpl >::outputToDot ( std::ostream &  out,
const std::string &  name 
) const
inlineinherited

Definition at line 979 of file AssociationGraphImplObserver.h.

◆ removeFather()

template<class N , class E , class DAGraphImpl >
void bpp::AssociationDAGraphImplObserver< N, E, DAGraphImpl >::removeFather ( const std::shared_ptr< N >  node,
const std::shared_ptr< N >  father 
)
inlinevirtual

◆ removeFathers()

template<class N , class E , class DAGraphImpl >
std::vector<std::shared_ptr<N> > bpp::AssociationDAGraphImplObserver< N, E, DAGraphImpl >::removeFathers ( const std::shared_ptr< N >  node)
inlinevirtual

◆ removeSon()

template<class N , class E , class DAGraphImpl >
void bpp::AssociationDAGraphImplObserver< N, E, DAGraphImpl >::removeSon ( const std::shared_ptr< N >  node,
const std::shared_ptr< N >  son 
)
inlinevirtual

◆ removeSons()

template<class N , class E , class DAGraphImpl >
std::vector<std::shared_ptr<N> > bpp::AssociationDAGraphImplObserver< N, E, DAGraphImpl >::removeSons ( const std::shared_ptr< N >  node)
inlinevirtual

◆ rootAt()

template<class N , class E , class DAGraphImpl >
void bpp::AssociationDAGraphImplObserver< N, E, DAGraphImpl >::rootAt ( const std::shared_ptr< N >  root)
inlinevirtual

◆ setEdgeIndex() [1/2]

EdgeIndex bpp::AssociationGraphImplObserver< N, E, DAGraphImpl >::setEdgeIndex ( const Eref  edgeObject,
EdgeIndex  index 
)
inlinevirtualinherited

Set an index associated to an edge

Parameters
edgeObjectobject to which one want to set the index
indexintex to be given, 0 to get the first free index
Returns
the given index

Implements bpp::AssociationGraphObserver< N, E >.

Definition at line 834 of file AssociationGraphImplObserver.h.

◆ setEdgeIndex() [2/2]

template<class N , class E >
virtual EdgeIndex bpp::AssociationGraphObserver< N, E >::setEdgeIndex ( const std::shared_ptr< E >  edgeObject,
EdgeIndex  index 
)
pure virtualinherited

Set an index associated to an edge

Parameters
edgeObjectobject to which one want to set the index
indexintex to be given, 0 to get the first free index
Returns
the given index

Implemented in bpp::AssociationGraphImplObserver< N, E, GraphImpl >, bpp::AssociationGraphImplObserver< N, E, DAGraphImpl >, and bpp::AssociationGraphImplObserver< N, E, TreeGraphImpl >.

◆ setEdgeLinking() [1/2]

void bpp::AssociationGraphImplObserver< N, E, DAGraphImpl >::setEdgeLinking ( Nref  nodeA,
Nref  nodeB,
Eref  edge 
)
inlinevirtualinherited

Sets the Edge between two nodes nodeA -> nodeB

Parameters
nodeAsource node (if directed)
nodeBdestination node (if directed)
edgethe edge between these two nodes

Implements bpp::AssociationGraphObserver< N, E >.

Definition at line 1496 of file AssociationGraphImplObserver.h.

◆ setEdgeLinking() [2/2]

template<class N , class E >
virtual void bpp::AssociationGraphObserver< N, E >::setEdgeLinking ( std::shared_ptr< N >  nodeA,
std::shared_ptr< N >  nodeB,
std::shared_ptr< E >  edge 
)
pure virtualinherited

Sets the Edge between two nodes nodeA -> nodeB

Parameters
nodeAsource node (if directed)
nodeBdestination node (if directed)
edgethe edge between these two nodes

Implemented in bpp::AssociationGraphImplObserver< N, E, GraphImpl >, bpp::AssociationGraphImplObserver< N, E, DAGraphImpl >, and bpp::AssociationGraphImplObserver< N, E, TreeGraphImpl >.

◆ setNodeIndex() [1/2]

NodeIndex bpp::AssociationGraphImplObserver< N, E, DAGraphImpl >::setNodeIndex ( const Nref  nodeObject,
NodeIndex  index 
)
inlinevirtualinherited

Set an index associated to a node

Parameters
nodeObjectobject to which one want to set the index
indexindex to be given
Returns
the given index

Implements bpp::AssociationGraphObserver< N, E >.

Definition at line 810 of file AssociationGraphImplObserver.h.

◆ setNodeIndex() [2/2]

template<class N , class E >
virtual NodeIndex bpp::AssociationGraphObserver< N, E >::setNodeIndex ( const std::shared_ptr< N >  nodeObject,
NodeIndex  index 
)
pure virtualinherited

Set an index associated to a node

Parameters
nodeObjectobject to which one want to set the index
indexintex to be given, 0 to get the first free index
Returns
the given index

Implemented in bpp::AssociationGraphImplObserver< N, E, GraphImpl >, bpp::AssociationGraphImplObserver< N, E, DAGraphImpl >, and bpp::AssociationGraphImplObserver< N, E, TreeGraphImpl >.

◆ setRoot()

void bpp::AssociationGraphImplObserver< N, E, DAGraphImpl >::setRoot ( const Nref  newRoot)
inlineinherited

set the root (but no checking, to be used at first construction)

Definition at line 720 of file AssociationGraphImplObserver.h.

◆ sonsIterator() [1/2]

template<class N , class E , class DAGraphImpl >
std::unique_ptr<typename AssociationDAGraphObserver<N, E>::NodeIterator> bpp::AssociationDAGraphImplObserver< N, E, DAGraphImpl >::sonsIterator ( std::shared_ptr< N >  node)
inlinevirtual

◆ sonsIterator() [2/2]

template<class N , class E , class DAGraphImpl >
std::unique_ptr<typename AssociationDAGraphObserver<N, E>::NodeIterator> bpp::AssociationDAGraphImplObserver< N, E, DAGraphImpl >::sonsIterator ( std::shared_ptr< N >  node) const
inlinevirtual

◆ unlink() [1/2]

void bpp::AssociationGraphImplObserver< N, E, DAGraphImpl >::unlink ( Nref  nodeObjectA,
Nref  nodeObjectB 
)
inlinevirtualinherited

Deletes the link between two existing nodes in the graph.

Implements bpp::AssociationGraphObserver< N, E >.

Definition at line 533 of file AssociationGraphImplObserver.h.

◆ unlink() [2/2]

template<class N , class E >
virtual void bpp::AssociationGraphObserver< N, E >::unlink ( std::shared_ptr< N >  nodeObjectA,
std::shared_ptr< N >  nodeObjectB 
)
pure virtualinherited

Detroys a link between two existing nodes in the graph. If directed graph: nodeA -> nodeB.

Parameters
nodeObjectAsource node (or first node if undirected)
nodeObjectBtarget node (or second node if undirected)

Implemented in bpp::AssociationGraphImplObserver< N, E, GraphImpl >, bpp::AssociationGraphImplObserver< N, E, DAGraphImpl >, and bpp::AssociationGraphImplObserver< N, E, TreeGraphImpl >.

Member Data Documentation

◆ EToGraphid_

std::map<Eref, EdgeGraphid> bpp::AssociationGraphImplObserver< N, E, DAGraphImpl >::EToGraphid_
privateinherited

Can find an Edge with the corresponding object.

Definition at line 109 of file AssociationGraphImplObserver.h.

◆ EToIndex_

std::map<Eref, EdgeIndex> bpp::AssociationGraphImplObserver< N, E, DAGraphImpl >::EToIndex_
privateinherited

Can find an Edge index with the corresponding object.

Definition at line 139 of file AssociationGraphImplObserver.h.

◆ graphidToE_

std::vector<Eref > bpp::AssociationGraphImplObserver< N, E, DAGraphImpl >::graphidToE_
privateinherited

List of edges, stored at the same ID than the corresponding edges in the observed graph.

Definition at line 99 of file AssociationGraphImplObserver.h.

◆ graphidToN_

std::vector<Nref > bpp::AssociationGraphImplObserver< N, E, DAGraphImpl >::graphidToN_
privateinherited

Registration with Graph Ids. List of nodes, stored at the same ID than the corresponding nodes in the observed graph.

Definition at line 93 of file AssociationGraphImplObserver.h.

◆ indexToE_

std::vector<Eref > bpp::AssociationGraphImplObserver< N, E, DAGraphImpl >::indexToE_
privateinherited

List of edges, stored at a given index.

Definition at line 129 of file AssociationGraphImplObserver.h.

◆ indexToN_

std::vector<Nref > bpp::AssociationGraphImplObserver< N, E, DAGraphImpl >::indexToN_
privateinherited

Registration with own Ids (named as index). List of nodes, stored at a given index.

Definition at line 124 of file AssociationGraphImplObserver.h.

◆ NToGraphid_

std::map<Nref, NodeGraphid> bpp::AssociationGraphImplObserver< N, E, DAGraphImpl >::NToGraphid_
privateinherited

Can find a Node with the corresponding object.

Definition at line 104 of file AssociationGraphImplObserver.h.

◆ NToIndex_

std::map<Nref, NodeIndex> bpp::AssociationGraphImplObserver< N, E, DAGraphImpl >::NToIndex_
privateinherited

Can find a Node index with the corresponding object.

Definition at line 134 of file AssociationGraphImplObserver.h.

◆ subjectGraph_

std::shared_ptr<DAGraphImpl > bpp::AssociationGraphImplObserver< N, E, DAGraphImpl >::subjectGraph_
protectedinherited

The observed Graph. Anytime this graph is observed, the current object will be warned to take changes into account.

Definition at line 80 of file AssociationGraphImplObserver.h.


The documentation for this class was generated from the following file: