Go to the documentation of this file.
50 template<
typename GraphNode,
typename GraphEdge>
53 typedef std::set<GraphNode*, typename GraphNode::Comparator >
NodeSet;
54 typedef std::set<GraphEdge*, typename GraphEdge::Comparator >
EdgeSet;
67 virtual Node&
node(
const int index)
const = 0;
68 virtual Edge&
edge(
const int index)
const = 0;
85 const Node& nHead)
const = 0;
88 const Node& nTail,
const Node& nHead)
const = 0;
virtual TCEString dotString() const
virtual Node & headNode(const Edge &edge) const =0
virtual int outDegree(const Node &node) const =0
virtual Node & tailNode(const Edge &edge) const =0
virtual bool hasEdge(const Node &nTail, const Node &nHead) const =0
virtual void removeEdge(Edge &e)=0
virtual void removeNode(Node &node)=0
virtual void addNode(Node &node)=0
virtual EdgeSet outEdges(const Node &node) const =0
virtual Edge & inEdge(const Node &node, const int index) const =0
std::set< GraphEdge *, typename GraphEdge::Comparator > EdgeSet
virtual void connectNodes(const Node &nTail, const Node &nHead, Edge &e)=0
virtual int inDegree(const Node &node) const =0
virtual EdgeSet connectingEdges(const Node &nTail, const Node &nHead) const =0
virtual const TCEString & name() const =0
std::set< GraphNode *, typename GraphNode::Comparator > NodeSet
virtual EdgeSet inEdges(const Node &node) const =0
virtual int edgeCount() const =0
virtual void disconnectNodes(const Node &nTail, const Node &nHead)=0
virtual void writeToDotFile(const TCEString &fileName) const
virtual int nodeCount() const =0
virtual Edge & outEdge(const Node &node, const int index) const =0
virtual Edge & edge(const int index) const =0
GraphNode Node
Node type of this graph (possibly, a base class).
virtual Node & node(const int index) const =0
GraphEdge Edge
Edge type of this graph (possibly, a base class).
virtual bool hasNode(const Node &) const =0