![]() |
SG++-Doxygen-Documentation
|
The class processes the progress information from Learner and LinearSolver and stores it into the file. More...
Public Member Functions | |
__init__ (self, filename) | |
Constructor. | |
handleLearningEvent (self, subject, status) | |
Handles events from Learner. | |
handleSolvingEvent (self, subject, status) | |
Handles events from Linear Solver. | |
toString (self) | |
Returns a string that represents the object. | |
Static Public Attributes | |
filename = None | |
Filename, where output should be written. | |
The class processes the progress information from Learner and LinearSolver and stores it into the file.
python.controller.InfoToFile.InfoToFile.__init__ | ( | self, | |
filename | |||
) |
Constructor.
filename | filename where output should be written as string |
References python.controller.InfoToFile.InfoToFile.filename, python.data.ARFFAdapter.ARFFAdapter.filename, python.data.CSVAdapter.CSVAdapter.filename, python.data.DataSpecification.DataSpecification.filename, python.uq.models.Model.Model.filename, and sgpp::solver::StepsizeControl.filename.
python.controller.InfoToFile.InfoToFile.handleLearningEvent | ( | self, | |
subject, | |||
status | |||
) |
Handles events from Learner.
subject | Learner object |
status | Event Status of type LearnerEvents |
References python.controller.InfoToFile.InfoToFile.filename, python.data.ARFFAdapter.ARFFAdapter.filename, python.data.CSVAdapter.CSVAdapter.filename, python.data.DataSpecification.DataSpecification.filename, python.uq.models.Model.Model.filename, and sgpp::solver::StepsizeControl.filename.
python.controller.InfoToFile.InfoToFile.handleSolvingEvent | ( | self, | |
subject, | |||
status | |||
) |
Handles events from Linear Solver.
subject | Linear Solver object |
status | Event Status of type LinearSolverEvents |
References python.controller.InfoToFile.InfoToFile.filename, python.data.ARFFAdapter.ARFFAdapter.filename, python.data.CSVAdapter.CSVAdapter.filename, python.data.DataSpecification.DataSpecification.filename, python.uq.models.Model.Model.filename, and sgpp::solver::StepsizeControl.filename.
python.controller.InfoToFile.InfoToFile.toString | ( | self | ) |
Returns a string that represents the object.
References python.controller.InfoToFile.InfoToFile.filename, python.data.ARFFAdapter.ARFFAdapter.filename, python.data.CSVAdapter.CSVAdapter.filename, python.data.DataSpecification.DataSpecification.filename, python.uq.models.Model.Model.filename, and sgpp::solver::StepsizeControl.filename.
Referenced by python.controller.LearnerEventController.LearnerEventController.__repr__(), python.controller.SolverEventController.SolverEventController.__repr__(), python.learner.Learner.Learner.createMemento(), python.uq.learner.Learner.Learner.createMemento(), and python.learner.formatter.GridFormatter.GridFormatter.serialize().
|
static |
Filename, where output should be written.
Referenced by python.data.DataSpecification.DataSpecification.__init__(), python.controller.InfoToFile.InfoToFile.__init__(), python.data.ARFFAdapter.ARFFAdapter.__init__(), python.data.CSVAdapter.CSVAdapter.__init__(), python.data.DataSpecification.DataSpecification.getFilename(), python.controller.InfoToFile.InfoToFile.handleLearningEvent(), python.controller.InfoToFile.InfoToFile.handleSolvingEvent(), python.data.ARFFAdapter.ARFFAdapter.loadData(), python.data.CSVAdapter.CSVAdapter.loadData(), python.data.ARFFAdapter.ARFFAdapter.loadSpecification(), python.data.CSVAdapter.CSVAdapter.loadSpecification(), python.data.ARFFAdapter.ARFFAdapter.save(), python.data.CSVAdapter.CSVAdapter.save(), python.data.DataSpecification.DataSpecification.setFilename(), and python.controller.InfoToFile.InfoToFile.toString().