class documentation

class Vertex:

View In Hierarchy

Lightweight vertex structure for a graph.

Method __hash__ Undocumented
Method __init__ Do not call constructor directly. Use Graph's insert_vertex(x).
Method __str__ Undocumented
Method element Return element associated with this vertex.
Class Variable __slots__ Undocumented
Instance Variable _element Undocumented
def __hash__(self):

Undocumented

def __init__(self, x):

Do not call constructor directly. Use Graph's insert_vertex(x).

def __str__(self):

Undocumented

def element(self):

Return element associated with this vertex.

__slots__: str =

Undocumented

_element =

Undocumented