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

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 pygel::BaseElements::WeightedVertex::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 pygel::BaseElements::WeightedVertex::WeightedVertex::getWeight (   self  ) 

Get vertex weight.

Returns:
vertexWeight Vertex weight of this vertex

def pygel::BaseElements::WeightedVertex::WeightedVertex::setWeight (   self,
  vertexWeight 
)

Set vertex weight.

Parameters:
vertexWeight New vertex weight


Generated on Sat Dec 13 02:15:44 2008 for Python Webgraph Generator by  doxygen 1.5.6