40 #ifndef _BPP_GRAPH_ONODE_H_ 41 #define _BPP_GRAPH_ONODE_H_ 71 #ifndef NO_VIRTUAL_COV 123 virtual bool hasSons()
const = 0;
170 #endif //_BPP_GRAPH_ONODE_H_ virtual int getNumberOfSons() const =0
Give the number of son nodes for this node.
virtual const ONode * getFather(int pos) const =0
Get a particular father in const environment.
virtual bool hasFathers() const =0
Tell if this node has one or more father nodes.
virtual bool hasSons() const =0
Tell if this node has one or more son nodes.
This class allows to perform a correspondence analysis.
virtual const ONode * getSon(int pos) const =0
Get a particular son in const environment.
Unoriented node interface.
virtual int getNumberOfFathers() const =0
Give the number of father nodes for this node.
virtual const ONode * getNeighbor(int pos) const =0
Get a neighbor of this node in const context.
ONode * clone() const =0
Create a copy of this object and send a pointer to it.
virtual const ONode * operator[](int i) const =0
Direct access to a neighbor in const context.