Public Member Functions | |
def | __init__ |
Initialize an empty collection. | |
def | addVertex |
Add vertex to the collection. | |
def | delVertex |
Delete vertex from the collection. | |
def | getVertices |
Get all vertices from the collection. | |
def | findVertex |
Find vertex in the collection. | |
def | findWeight |
Find weight of a given vertex. | |
def | hasVertex |
Checks if vertex is present. | |
Public Attributes | |
weightedVertices | |
A dictonary of weighted vertices indexed by vertex numbers and values of type BaseElements::WeightedVertex. |
|
Add vertex to the collection.
|
|
Delete vertex from the collection.
|
|
Find vertex in the collection.
|
|
Find weight of a given vertex.
|
|
Get all vertices from the collection.
|
|
Checks if vertex is present.
|