pygel::BaseElements::Edge::Edge Class Reference
[Basic Elements]

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 pygel::BaseElements::Edge::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 pygel::BaseElements::Edge::Edge::getEndVertex   self  ) 
 

Get the end vertex.

Returns:
endVertex End vertex of type BaseElements::Vertex

def pygel::BaseElements::Edge::Edge::getStartVertex   self  ) 
 

Get the start vertex.

Returns:
startVertex Start vertex of type BaseElements::Vertex

def pygel::BaseElements::Edge::Edge::setEndVertex   self,
  vertex
 

Set the end vertex.

Parameters:
endVertex End vertex of type BaseElements::Vertex

def pygel::BaseElements::Edge::Edge::setStartVertex   self,
  vertex
 

Set the start vertex.

Parameters:
startVertex Start vertex of type BaseElements::Vertex


Generated on Wed Aug 1 14:12:27 2007 for Python Webgraph Generator by  doxygen 1.4.6