My Project
Loading...
Searching...
No Matches
List of all members | Public Types | Public Member Functions
AlterableBpGraphComponent< BAS > Class Template Reference

Detailed Description

template<typename BAS = BaseBpGraphComponent>
class lemon::concepts::AlterableBpGraphComponent< BAS >

This class describes the interface of alterable undirected bipartite graphs. It extends AlterableGraphComponent with the alteration notifier interface of bipartite graphs. It implements an observer-notifier pattern for the red and blue nodes. More obsevers can be registered into the notifier and whenever an alteration occured in the graph all the observers will be notified about it.

#include <lemon/concepts/graph_components.h>

+ Inheritance diagram for AlterableBpGraphComponent< BAS >:

Public Types

typedef AlterationNotifier< AlterableBpGraphComponent, RedNode > RedNodeNotifier
 Red node alteration notifier class.
 
typedef AlterationNotifier< AlterableBpGraphComponent, BlueNode > BlueNodeNotifier
 Blue node alteration notifier class.
 
- Public Types inherited from AlterableGraphComponent< BAS >
typedef AlterationNotifier< AlterableGraphComponent, Edge > EdgeNotifier
 Edge alteration notifier class.
 
- Public Types inherited from AlterableDigraphComponent< BAS >
typedef AlterationNotifier< AlterableDigraphComponent, Node > NodeNotifier
 Node alteration notifier class.
 
typedef AlterationNotifier< AlterableDigraphComponent, Arc > ArcNotifier
 Arc alteration notifier class.
 
- Public Types inherited from BaseDigraphComponent
typedef GraphItem< 'n'> Node
 Node class of the digraph.
 
typedef GraphItem< 'a'> Arc
 Arc class of the digraph.
 

Public Member Functions

RedNodeNotifiernotifier (RedNode) const
 Return the red node alteration notifier.
 
BlueNodeNotifiernotifier (BlueNode) const
 Return the blue node alteration notifier.
 
EdgeNotifiernotifier (Edge) const
 Return the edge alteration notifier.
 
NodeNotifiernotifier (Node) const
 Return the node alteration notifier.
 
ArcNotifiernotifier (Arc) const
 Return the arc alteration notifier.
 
- Public Member Functions inherited from AlterableGraphComponent< BAS >
EdgeNotifiernotifier (Edge) const
 Return the edge alteration notifier.
 
NodeNotifiernotifier (Node) const
 Return the node alteration notifier.
 
ArcNotifiernotifier (Arc) const
 Return the arc alteration notifier.
 
- Public Member Functions inherited from AlterableDigraphComponent< BAS >
NodeNotifiernotifier (Node) const
 Return the node alteration notifier.
 
ArcNotifiernotifier (Arc) const
 Return the arc alteration notifier.
 
- Public Member Functions inherited from BaseDigraphComponent
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.
 

Member Function Documentation

◆ notifier() [1/5]

template<typename BAS = BaseBpGraphComponent>
RedNodeNotifier & notifier ( RedNode  ) const
inline

This function gives back the red node alteration notifier.

◆ notifier() [2/5]

template<typename BAS = BaseBpGraphComponent>
BlueNodeNotifier & notifier ( BlueNode  ) const
inline

This function gives back the blue node alteration notifier.

◆ notifier() [3/5]

template<typename BAS = BaseBpGraphComponent>
EdgeNotifier & notifier ( Edge  ) const
inline

This function gives back the edge alteration notifier.

◆ notifier() [4/5]

template<typename BAS = BaseBpGraphComponent>
NodeNotifier & notifier ( Node  ) const
inline

This function gives back the node alteration notifier.

◆ notifier() [5/5]

template<typename BAS = BaseBpGraphComponent>
ArcNotifier & notifier ( Arc  ) const
inline

This function gives back the arc alteration notifier.