All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
List of all members | Public Member Functions
ExtendableBpGraphComponent< BAS > Class Template Reference

Detailed Description

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.

Public Member Functions

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.
 

Member Function Documentation

RedNode addRedNode ( )
inline

This function adds a red new node to the digraph.

BlueNode addBlueNode ( )
inline

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.