BaseElements::WeightedVertex Class Reference

Inheritance diagram for BaseElements::WeightedVertex:

BaseElements::Vertex List of all members.

Detailed Description

Represents a weighted vertex.


Public Member Functions

def __init__
 Constructs a weighted vertex given a vertex number and vertex weight.
def getWeight
 Get vertex weight.
def setWeight
 Set vertex weight.

Public Attributes

 vertexWeight
 Vertex weight.


Member Function Documentation

def BaseElements::WeightedVertex::__init__   self,
  vertexNumber,
  vertexWeight
 

Constructs a weighted vertex given a vertex number and vertex weight.

Parameters:
vertexNumber vertex number to be assigned to the created vertex
vertexWeight vertex weight to be assigned to the created vertex

def BaseElements::WeightedVertex::getWeight   self  ) 
 

Get vertex weight.

Returns:
vertexWeight Vertex weight of this vertex

def BaseElements::WeightedVertex::setWeight   self,
  vertexWeight
 

Set vertex weight.

Parameters:
vertexWeight New vertex weight


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