LEMON 1.0.7
|
This class provides beside the core digraph features alteration notifier interface for the digraph structure. This implements an observer-notifier pattern for each digraph item. More obsevers can be registered into the notifier and whenever an alteration occured in the digraph all the observers will notified about it.
#include <lemon/concepts/graph_components.h>
Public Types | |
typedef AlterationNotifier < AlterableDigraphComponent, Node > | NodeNotifier |
The node observer registry. | |
typedef AlterationNotifier < AlterableDigraphComponent, Arc > | ArcNotifier |
The arc observer registry. | |
Public Member Functions | |
NodeNotifier & | notifier (Node) const |
ArcNotifier & | notifier (Arc) const |
NodeNotifier& notifier | ( | Node | ) | const [inline] |
Gives back the node alteration notifier.
ArcNotifier& notifier | ( | Arc | ) | const [inline] |
Gives back the arc alteration notifier.