BaseElements::Edge Class Reference

List of all members.

Detailed Description

Represents graph edge.


Public Member Functions

def __init__
 Constructs an emtpy edge.
def __init__
 Constructs a graph edge with given start and end vertices.
def getStartVertex
 Get the start vertex.
def getEndVertex
 Get the end vertex.
def setStartVertex
 Set the start vertex.
def setEndVertex
 Set the end vertex.

Public Attributes

 startVertex
 Starting vertex of a edge of type BaseElements::Vertex.
 endVertex
 Ending vertex of a edge of type BaseElements::Vertex.


Member Function Documentation

def BaseElements::Edge::__init__   self,
  startVertex,
  endVertex
 

Constructs a graph edge with given start and end vertices.

Parameters:
startVertex start vertex of the edge
endVertex end vertex of the edge

def BaseElements::Edge::getEndVertex   self  ) 
 

Get the end vertex.

Returns:
endVertex End vertex of type BaseElements::Vertex

def BaseElements::Edge::getStartVertex   self  ) 
 

Get the start vertex.

Returns:
startVertex Start vertex of type BaseElements::Vertex

def BaseElements::Edge::setEndVertex   self,
  vertex
 

Set the end vertex.

Parameters:
endVertex End vertex of type BaseElements::Vertex

def BaseElements::Edge::setStartVertex   self,
  vertex
 

Set the start vertex.

Parameters:
startVertex Start vertex of type BaseElements::Vertex


Generated on Tue Jul 24 19:51:57 2007 for Python Webgraph Generator by  doxygen 1.4.6