UndirGraphExtender< Base > Class Template Reference
[Tools for Graph Implementation]

template<typename Base>
class lemon::UndirGraphExtender< Base >

#include <lemon/bits/base_extender.h>

List of all members.

Public Member Functions

Node source (const Edge &e) const
 Source of the given Edge.
Node target (const Edge &e) const
 Target of the given Edge.

Static Public Member Functions

static Edge direct (const UEdge &ue, bool d)
 Directed edge from an undirected edge.
static bool direction (const Edge &e)


Member Function Documentation

static Edge direct ( const UEdge &  ue,
bool  d 
) [inline, static]

Returns a directed edge corresponding to the specified UEdge. If the given bool is true the given undirected edge and the returned edge have the same source node.

static bool direction ( const Edge &  e  )  [inline, static]

Returns whether the given directed edge is same orientation as the corresponding undirected edge.

Todo:
reference to the corresponding point of the undirected graph concept. "What does the direction of an undirected edge mean?"


Generated on Thu Jun 4 04:06:42 2009 for LEMON by  doxygen 1.5.9