concepts::ClearableDigraphComponent

Declared in lemon/concepts/graph_components.h, in the group Graph Structure Concepts; the same class on the Doxygen site.

template< typename BAS = BaseDigraphComponent >
class ClearableDigraphComponent : public BaseDigraphComponent

Skeleton class for clearable directed graphs.

This class describes the interface of clearable directed graphs. It extends BaseDigraphComponent with a function for clearing the digraph. This concept requires AlterableDigraphComponent.

Public Types

typedef BAS Base

Public Functions

inline void clear()

Erase all nodes and arcs from the digraph.

This function erases all nodes and arcs from the digraph.

template< typename _Digraph >
struct Constraints

Public Functions

inline void constraints()
inline Constraints()

Public Members

_Digraph & digraph