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.
#include <lemon/concepts/graph_components.h>
Inherits BAS.
|
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.
|
|
This function adds a red new node to the digraph.
This function adds a blue new node to the digraph.
Edge addEdge |
( |
const RedNode & |
, |
|
|
const BlueNode & |
|
|
) |
| |
|
inline |
This function adds a new edge connecting the given two nodes of the graph. The first node has to be a red node, and the second one a blue node.