SG++-Doxygen-Documentation
|
Public Member Functions | |
def | deserialize (self, serializationStream) |
Deserializes the Learner memento object from the stream. More... | |
def | serialize (self, memento, serializationStream) |
Serializes the Learner memento to the stream. More... | |
def | serializeToFile (self, memento, filename) |
Serializes the Learner memento to the file. More... | |
def | toString (self, memento) |
Returns a string that represents the Learner memento object. More... | |
def python.learner.formatter.LearnerFormatter.LearnerFormatter.deserialize | ( | self, | |
serializationStream | |||
) |
Deserializes the Learner memento object from the stream.
serializationStream | The stream to deserialize. |
Referenced by python.utils.GzipSerializer.GzipSerializer.deserializeFromFile(), python.uq.analysis.asgc.ASGCKnowledgeFormatter.ASGCKnowledgeFormatter.deserializeFromFile(), python.uq.sampler.asgc.ASGCSamplerFormatter.ASGCSamplerFormatter.deserializeFromFile(), and python.uq.uq_setting.UQSettingFormatter.UQSettingFormatter.deserializeFromFile().
def python.learner.formatter.LearnerFormatter.LearnerFormatter.serialize | ( | self, | |
memento, | |||
serializationStream | |||
) |
Serializes the Learner memento to the stream.
memento | The Learner memento structure. |
serializationStream | output stream where memento should be serialized to. |
References python.utils.json.write().
Referenced by python.utils.GzipSerializer.GzipSerializer.serializeToFile(), python.learner.formatter.LearnerFormatter.LearnerFormatter.serializeToFile(), python.uq.analysis.asgc.ASGCKnowledgeFormatter.ASGCKnowledgeFormatter.serializeToFile(), python.uq.sampler.asgc.ASGCSamplerFormatter.ASGCSamplerFormatter.serializeToFile(), and python.uq.uq_setting.UQSettingFormatter.UQSettingFormatter.serializeToFile().
def python.learner.formatter.LearnerFormatter.LearnerFormatter.serializeToFile | ( | self, | |
memento, | |||
filename | |||
) |
Serializes the Learner memento to the file.
memento | The Learner memento structure |
filename | The name of file where memento should be serialized to. |
References python.utils.GzipSerializer.GzipSerializer.gzOpen(), python.learner.formatter.GridImageFormatter.GridImageFormatter.serialize(), sgpp::combigrid::AbstractSerializationStrategy< T >.serialize(), sgpp::combigrid::DefaultSerializationStrategy< T >.serialize(), json::ListNode.serialize(), json::Node.serialize(), sgpp::combigrid::FloatSerializationStrategy< T >.serialize(), json::JSON.serialize(), json::DictNode.serialize(), sgpp::base::ModPolyGrid.serialize(), sgpp::base::PolyGrid.serialize(), json::TextNode.serialize(), python.learner.formatter.LearnerFormatter.LearnerFormatter.serialize(), json::IDNode.serialize(), sgpp::base::PolyBoundaryGrid.serialize(), sgpp::base::LinearClenshawCurtisBoundaryGrid.serialize(), sgpp::base::PolyClenshawCurtisBoundaryGrid.serialize(), sgpp::combigrid::TreeStorageSerializationStrategy< T >.serialize(), sgpp::combigrid::AbstractCombigridStorage.serialize(), python.learner.formatter.GridFormatter.GridFormatter.serialize(), sgpp::base::LinearBoundaryGrid.serialize(), sgpp::combigrid::CombigridTreeStorage.serialize(), sgpp::combigrid::FunctionLookupTable.serialize(), python.learner.formatter.LearnedKnowledgeFormatter.LearnedKnowledgeFormatter.serialize(), sgpp::base::LinearClenshawCurtisGrid.serialize(), sgpp::base::ModLinearClenshawCurtisGrid.serialize(), sgpp::base::PolyClenshawCurtisGrid.serialize(), sgpp::base::ModPolyClenshawCurtisGrid.serialize(), sgpp::base::BsplineGrid.serialize(), sgpp::base::FundamentalSplineGrid.serialize(), sgpp::base::ModFundamentalSplineGrid.serialize(), sgpp::base::ModBsplineGrid.serialize(), sgpp::base::ModBsplineClenshawCurtisGrid.serialize(), sgpp::base::NakBsplineBoundaryCombigridGrid.serialize(), sgpp::base::BsplineClenshawCurtisGrid.serialize(), sgpp::base::BsplineBoundaryGrid.serialize(), sgpp::base::HashGridPoint.serialize(), sgpp::base::HashGridStorage.serialize(), sgpp::base::BoundingBox.serialize(), sgpp::base::Stretching.serialize(), and sgpp::base::Grid.serialize().
def python.learner.formatter.LearnerFormatter.LearnerFormatter.toString | ( | self, | |
memento | |||
) |
Returns a string that represents the Learner memento object.
memento | The LearnerMemento object. |
References python.utils.json.write().
Referenced by python.uq.learner.Learner.Learner.createMemento(), and python.learner.Learner.Learner.createMemento().