Evoplex  0.2.1
Public Member Functions | Friends | List of all members
evoplex::NodeInterface Class Referenceabstract

A common interface for the node's classes. More...

#include <node_p.h>

Inheritance diagram for evoplex::NodeInterface:
evoplex::BaseNode evoplex::DNode evoplex::UNode

Public Member Functions

virtual ~NodeInterface ()=default
 Destructor.
 
virtual NodePtr clone () const =0
 Creates a new std::shared_ptr<BaseNode> with the same data of the current Node.
 
virtual const EdgesinEdges () const =0
 Gets the edges entering the node.
 
virtual const EdgesoutEdges () const =0
 Gets the edges leaving the node.
 
virtual int degree () const =0
 Gets the node's degree.
 
virtual int inDegree () const =0
 Gets the node's in-degree, i.e., the number of edges entering the node.
 
virtual int outDegree () const =0
 Gets the node's out-degree, i.e., the number of edges leaving the node.
 

Friends

class AbstractGraph
 
class Nodes
 
class TestNode
 
class TestEdge
 

Detailed Description

A common interface for the node's classes.

See also
BaseNode, UNode, DNode

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