Package solvcon :: Package io :: Module gambit :: Class NeutralIO
[hide private]
[frames] | no frames]

Class NeutralIO

source code

   object --+    
            |    
core.FormatIO --+
                |
               NeutralIO

Proxy to gambit neutral file format.

Nested Classes [hide private]

Inherited from core.FormatIO: __metaclass__

Instance Methods [hide private]
solvcon.block.Block
load(self, stream, bcrej=None)
Load block from stream with BC mapper applied.
source code

Inherited from core.FormatIO: save

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __init__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __str__, __subclasshook__

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

load(self, stream, bcrej=None)

source code 

Load block from stream with BC mapper applied.

Parameters:
  • stream (file or str) - file object or file name to be read.
  • bcrej (list) - names of the BC to reject.
Returns: solvcon.block.Block
the loaded block.
Overrides: core.FormatIO.load