template<typename BAS = BaseBpGraphComponent>
class lemon::concepts::ExtendableBpGraphComponent< BAS >
This class describes the interface of extendable undirected bipartite graphs. It extends BaseGraphComponent with functions for adding nodes and edges to the graph. This concept requires AlterableBpGraphComponent.
|
| RedNode | addRedNode () |
| | Add a new red node to the digraph.
|
| BlueNode | addBlueNode () |
| | Add a new blue node to the digraph.
|
| Edge | addEdge (const RedNode &, const BlueNode &) |
| | Add a new edge connecting the given two nodes.
|
| bool | red (const Node &) const |
| | Gives back true for red nodes.
|
| bool | blue (const Node &) const |
| | Gives back true for blue nodes.
|
| RedNode | redNode (const Edge &) const |
| | Gives back the red end node of the edge.
|
| BlueNode | blueNode (const Edge &) const |
| | Gives back the blue end node of the edge.
|
| RedNode | asRedNodeUnsafe (const Node &) const |
| | Converts the node to red node object.
|
| BlueNode | asBlueNodeUnsafe (const Node &) const |
| | Converts the node to blue node object.
|
| RedNode | asRedNode (const Node &) const |
| | Converts the node to red node object.
|
| BlueNode | asBlueNode (const Node &) const |
| | Converts the node to blue node object.
|
| Node | u (const Edge &) const |
| | Return one end node of an edge.
|
| Node | v (const Edge &) const |
| | Return the other end node of an edge.
|
| Arc | direct (const Edge &, bool) const |
| | Return a directed arc related to an edge.
|
| Arc | direct (const Edge &, const Node &) const |
| | Return a directed arc related to an edge.
|
| bool | direction (const Arc &) const |
| | Return the direction of the arc.
|
| Arc | oppositeArc (const Arc &) const |
| | Return the opposite arc.
|
| Node | source (const Arc &) const |
| | Return the source node of an arc.
|
| Node | target (const Arc &) const |
| | Return the target node of an arc.
|
| Node | oppositeNode (const Node &, const Arc &) const |
| | Return the opposite node on the given arc.
|