SG++
python.controller.InfoToFile.InfoToFile Class Reference

The class processes the progress information from Learner and LinearSolver and stores it into the file. More...

Inheritance diagram for python.controller.InfoToFile.InfoToFile:

Public Member Functions

def __init__ (self, filename)
 Constructor. More...
 
def handleLearningEvent (self, subject, status)
 Handles events from Learner. More...
 
def handleSolvingEvent (self, subject, status)
 Handles events from Linear Solver. More...
 
def toString (self)
 Returns a string that represents the object. More...
 

Static Public Attributes

 filename = None
 Filename, where output should be written. More...
 

Detailed Description

The class processes the progress information from Learner and LinearSolver and stores it into the file.

Constructor & Destructor Documentation

def python.controller.InfoToFile.InfoToFile.__init__ (   self,
  filename 
)

Constructor.

Parameters
filenamefilename where output should be written as string

References python.controller.InfoToFile.InfoToFile.filename.

Member Function Documentation

def python.controller.InfoToFile.InfoToFile.handleLearningEvent (   self,
  subject,
  status 
)

Handles events from Learner.

Parameters
subjectLearner object
statusEvent Status of type LearnerEvents

References python.controller.InfoToFile.InfoToFile.filename.

def python.controller.InfoToFile.InfoToFile.handleSolvingEvent (   self,
  subject,
  status 
)

Handles events from Linear Solver.

Parameters
subjectLinear Solver object
statusEvent Status of type LinearSolverEvents

References python.controller.InfoToFile.InfoToFile.filename.

Member Data Documentation


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