All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Defines
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 >:

List of all members.

Public Types

typedef AlterationNotifier
< AlterableBpGraphComponent,
RedNode > 
RedNodeNotifier
 Red node alteration notifier class.
typedef AlterationNotifier
< AlterableBpGraphComponent,
BlueNode > 
BlueNodeNotifier
 Blue node alteration notifier class.

Public Member Functions

RedNodeNotifiernotifier (RedNode) const
 Return the red node alteration notifier.
BlueNodeNotifiernotifier (BlueNode) const
 Return the blue node alteration notifier.

Member Function Documentation

RedNodeNotifier& notifier ( RedNode  ) const [inline]

This function gives back the red node alteration notifier.

BlueNodeNotifier& notifier ( BlueNode  ) const [inline]

This function gives back the blue node alteration notifier.

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Defines