Main Page   Class Hierarchy   Compound List   File List   Compound Members  

RelabeledEdgeWithoutSource Class Reference

Represents a relabeled edge without the source vertex. More...

#include <relabeledEdge.h>

Inheritance diagram for RelabeledEdgeWithoutSource:

EdgeWithoutSource List of all members.

Public Methods

 RelabeledEdgeWithoutSource ()
 The default constructor.

 RelabeledEdgeWithoutSource (const RelabeledEdge &edge)
 Creates a RelabeledEdgeWithoutSource from a RelabeledEdge.

NodeID originalSource () const
 Returns the identifier of the original source vertex.

NodeID originalTarget () const
 Returns the identifier of the original target vertex.


Private Attributes

NodeID _originalSource
NodeID _originalTarget

Friends

std::ostream & operator<< (std::ostream &os, const RelabeledEdgeWithoutSource &e)
 Writes a string representation of a RelabeledEdgeWithoutSource to an output stream.


Detailed Description

Represents a relabeled edge without the source vertex.

This makes sense when the source vertex is clear from the context.

Definition at line 24 of file relabeledEdge.h.


Constructor & Destructor Documentation

RelabeledEdgeWithoutSource::RelabeledEdgeWithoutSource const RelabeledEdge   edge
 

Creates a RelabeledEdgeWithoutSource from a RelabeledEdge.

The source vertex is thrown away.

Definition at line 130 of file relabeledEdge.h.


The documentation for this class was generated from the following file:
Generated on Thu Aug 14 15:13:28 2003 for External Memory Minimum Spanning Trees by doxygen1.2.17