Table of Contents

Class: EdgeWeight ./DataStructures.py

Simple class for storing edge weights.

Use EdgeWeight[(u,v)] for access, undirected graphs are handled properly.

Base Classes   
EdgeLabeling
Methods   
Integerize
QInteger
SetAll
__getitem__
__init__
__setitem__
  Integerize 
Integerize ( self )

  QInteger 
QInteger ( self )

Returns 1 if all weights are integers, 0 else

  SetAll 
SetAll ( self,  initialWeight )

  __getitem__ 
__getitem__ ( self,  e )

  __init__ 
__init__ (
        self,
        theGraph,
        initialWeight=None,
        )

  __setitem__ 
__setitem__ (
        self,
        e,
        val,
        )


Table of Contents

This document was automatically generated on Fri Mar 15 11:15:02 2002 by HappyDoc version 2.0