Otawa
0.10
|
This class represents a directed edge between two nodes. More...
#include <otawa/graph/Graph.h>
Public Member Functions | |
Edge (Node *source, Node *target) | |
Build an edge between two nodes. More... | |
Node * | source (void) const |
Get the source node. More... | |
Node * | target (void) const |
Get the target node. More... | |
Protected Member Functions | |
virtual | ~Edge (void) |
Private Attributes | |
Node * | src |
Node * | tgt |
Edge * | sedges |
Edge * | tedges |
Friends | |
class | Node |
class | Graph |
class | Node::Successor |
class | Node::Predecessor |
This class represents a directed edge between two nodes.
|
protectedvirtual |
Reimplemented in otawa::ccg::Edge.
Build an edge between two nodes.
source | Source node. |
target | Target node. |
References otawa::graph::Node::graph(), otawa::graph::Node::ins, otawa::graph::Node::outs, sedges, src, tedges, and tgt.
|
inline |
Get the source node.
References src.
Referenced by otawa::GenGraph< N, E >::GenEdge::source(), and otawa::graph::Graph::sourceOf().
|
inline |
Get the target node.
References tgt.
Referenced by otawa::graph::Graph::sinkOf(), and otawa::GenGraph< N, E >::GenEdge::target().
|
friend |
|
friend |
|
friend |
|
friend |
|
private |
Referenced by Edge(), and otawa::graph::Graph::remove().
|
private |
Referenced by Edge(), otawa::graph::Graph::remove(), and source().
|
private |
Referenced by Edge(), and otawa::graph::Graph::remove().
|
private |
Referenced by Edge(), otawa::graph::Graph::remove(), and target().