abc-master
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
pyabc_split.abc_state Class Reference

Inherits object.

Public Member Functions

def __init__
 
def __del__
 
def restore
 

Data Fields

 aig
 
 log
 

Detailed Description

Definition at line 312 of file pyabc_split.py.

Constructor & Destructor Documentation

def pyabc_split.abc_state.__init__ (   self)

Definition at line 313 of file pyabc_split.py.

314  def __init__(self):
315  with tempfile.NamedTemporaryFile(delete=False, suffix='.aig') as file:
316  self.aig = file.name
317  with tempfile.NamedTemporaryFile(delete=False, suffix='.log') as file:
318  self.log = file.name
319  pyabc.run_command(r'write_status %s'%self.log)
320  pyabc.run_command(r'write_aiger %s'%self.aig)
def pyabc_split.abc_state.__del__ (   self)

Definition at line 321 of file pyabc_split.py.

322  def __del__(self):
323  os.unlink( self.aig )
324  os.unlink( self.log )

Member Function Documentation

def pyabc_split.abc_state.restore (   self)

Definition at line 325 of file pyabc_split.py.

326  def restore(self):
327  pyabc.run_command(r'read_aiger %s'%self.aig)
328  pyabc.run_command(r'read_status %s'%self.log)

Field Documentation

pyabc_split.abc_state.aig

Definition at line 315 of file pyabc_split.py.

pyabc_split.abc_state.log

Definition at line 317 of file pyabc_split.py.


The documentation for this class was generated from the following file: