BpUGraphCopy< To, From > Class Template Reference
[Basic Graph Utilities]


Detailed Description

template<typename To, typename From>
class lemon::BpUGraphCopy< To, From >

Class to copy a bipartite undirected graph to another graph (duplicate a graph). The simplest way of using it is through the copyBpUGraph() function. #include <lemon/graph_utils.h>

List of all members.

Public Member Functions

 BpUGraphCopy (To &_to, const From &_from)
 Constructor for the GraphCopy.
 ~BpUGraphCopy ()
 Destructor of the GraphCopy.
template<typename ANodeRef >
BpUGraphCopyaNodeRef (ANodeRef &map)
template<typename ANodeCrossRef >
BpUGraphCopyaNodeCrossRef (ANodeCrossRef &map)
 Copies the A-node cross references into the given map.
template<typename ToMap , typename FromMap >
BpUGraphCopyaNodeMap (ToMap &tmap, const FromMap &map)
 Make copy of the given A-node map.
template<typename BNodeRef >
BpUGraphCopybNodeRef (BNodeRef &map)
template<typename BNodeCrossRef >
BpUGraphCopybNodeCrossRef (BNodeCrossRef &map)
 Copies the B-node cross references into the given map.
template<typename ToMap , typename FromMap >
BpUGraphCopybNodeMap (ToMap &tmap, const FromMap &map)
 Make copy of the given B-node map.
template<typename NodeRef >
BpUGraphCopynodeRef (NodeRef &map)
template<typename NodeCrossRef >
BpUGraphCopynodeCrossRef (NodeCrossRef &map)
 Copies the node cross references into the given map.
template<typename ToMap , typename FromMap >
BpUGraphCopynodeMap (ToMap &tmap, const FromMap &map)
 Make copy of the given map.
BpUGraphCopynode (TNode &tnode, const Node &snode)
template<typename EdgeRef >
BpUGraphCopyedgeRef (EdgeRef &map)
template<typename EdgeCrossRef >
BpUGraphCopyedgeCrossRef (EdgeCrossRef &map)
 Copies the edge cross references into the given map.
template<typename ToMap , typename FromMap >
BpUGraphCopyedgeMap (ToMap &tmap, const FromMap &map)
 Make copy of the given map.
BpUGraphCopyedge (TEdge &tedge, const Edge &sedge)
template<typename UEdgeRef >
BpUGraphCopyuEdgeRef (UEdgeRef &map)
template<typename UEdgeCrossRef >
BpUGraphCopyuEdgeCrossRef (UEdgeCrossRef &map)
 Copies the undirected edge cross references into the given map.
template<typename ToMap , typename FromMap >
BpUGraphCopyuEdgeMap (ToMap &tmap, const FromMap &map)
 Make copy of the given map.
BpUGraphCopyuEdge (TUEdge &tuedge, const UEdge &suedge)
void run ()


Constructor & Destructor Documentation

BpUGraphCopy ( To &  _to,
const From &  _from 
) [inline]

It copies the content of the _from graph into the _to graph.

~BpUGraphCopy (  )  [inline]

Destructor of the GraphCopy


Member Function Documentation

BpUGraphCopy& aNodeRef ( ANodeRef &  map  )  [inline]

Copies the A-node references into the given map.

BpUGraphCopy& aNodeCrossRef ( ANodeCrossRef &  map  )  [inline]

Copies the A-node cross references (reverse references) into the given map.

BpUGraphCopy& aNodeMap ( ToMap &  tmap,
const FromMap &  map 
) [inline]

Makes copy of the given map for the newly created graph. The new map's key type is the to graph's node type, and the copied map's key type is the from graph's node type.

BpUGraphCopy& bNodeRef ( BNodeRef &  map  )  [inline]

Copies the B-node references into the given map.

BpUGraphCopy& bNodeCrossRef ( BNodeCrossRef &  map  )  [inline]

Copies the B-node cross references (reverse references) into the given map.

BpUGraphCopy& bNodeMap ( ToMap &  tmap,
const FromMap &  map 
) [inline]

Makes copy of the given map for the newly created graph. The new map's key type is the to graph's node type, and the copied map's key type is the from graph's node type.

BpUGraphCopy& nodeRef ( NodeRef &  map  )  [inline]

Copies the node references into the given map.

BpUGraphCopy& nodeCrossRef ( NodeCrossRef &  map  )  [inline]

Copies the node cross references (reverse references) into the given map.

BpUGraphCopy& nodeMap ( ToMap &  tmap,
const FromMap &  map 
) [inline]

Makes copy of the given map for the newly created graph. The new map's key type is the to graph's node type, and the copied map's key type is the from graph's node type.

BpUGraphCopy& node ( TNode &  tnode,
const Node &  snode 
) [inline]

Make a copy of the given node.

BpUGraphCopy& edgeRef ( EdgeRef &  map  )  [inline]

Copies the edge references into the given map.

BpUGraphCopy& edgeCrossRef ( EdgeCrossRef &  map  )  [inline]

Copies the edge cross references (reverse references) into the given map.

BpUGraphCopy& edgeMap ( ToMap &  tmap,
const FromMap &  map 
) [inline]

Makes copy of the given map for the newly created graph. The new map's key type is the to graph's edge type, and the copied map's key type is the from graph's edge type.

BpUGraphCopy& edge ( TEdge &  tedge,
const Edge &  sedge 
) [inline]

Make a copy of the given edge.

BpUGraphCopy& uEdgeRef ( UEdgeRef &  map  )  [inline]

Copies the undirected edge references into the given map.

BpUGraphCopy& uEdgeCrossRef ( UEdgeCrossRef &  map  )  [inline]

Copies the undirected edge cross references (reverse references) into the given map.

BpUGraphCopy& uEdgeMap ( ToMap &  tmap,
const FromMap &  map 
) [inline]

Makes copy of the given map for the newly created graph. The new map's key type is the to graph's undirected edge type, and the copied map's key type is the from graph's undirected edge type.

BpUGraphCopy& uEdge ( TUEdge &  tuedge,
const UEdge &  suedge 
) [inline]

Make a copy of the given undirected edge.

void run (  )  [inline]

Executes the copies.


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