SG++-Doxygen-Documentation
|
Public Member Functions | |
def | deserialize (self, serializationStream) |
def | deserializeFromFile (self, filename) |
def | serialize (self, memento, serializationStream) |
def | serializeToFile (self, memento, filename) |
def | toString (self, memento) |
ASGCSamplerFormatter class.
def python.uq.sampler.asgc.ASGCSamplerFormatter.ASGCSamplerFormatter.deserialize | ( | self, | |
serializationStream | |||
) |
Deserializes the ASGC memento object from the stream. Arguments: serializationStream -- the stream to deserialize Return The ASGC object
References python.utils.json.read().
Referenced by python.utils.GzipSerializer.GzipSerializer.deserializeFromFile(), python.uq.sampler.asgc.ASGCSamplerFormatter.ASGCSamplerFormatter.deserializeFromFile(), and python.uq.uq_setting.UQSettingFormatter.UQSettingFormatter.deserializeFromFile().
def python.uq.sampler.asgc.ASGCSamplerFormatter.ASGCSamplerFormatter.deserializeFromFile | ( | self, | |
filename | |||
) |
Deserializes the UQSettting memento object from the file. The file may or may be not gzip compressed. @param filename: the name of the file with serialized ASGC @return: the ASGC memento object
References sgpp::combigrid::AbstractSerializationStrategy< T >.deserialize(), python.learner.formatter.GridImageFormatter.GridImageFormatter.deserialize(), python.learner.formatter.LearnerFormatter.LearnerFormatter.deserialize(), python.learner.formatter.GridFormatter.GridFormatter.deserialize(), sgpp::combigrid::DefaultSerializationStrategy< T >.deserialize(), json::JSON.deserialize(), python.uq.sampler.asgc.ASGCSamplerFormatter.ASGCSamplerFormatter.deserialize(), python.uq.analysis.asgc.ASGCKnowledgeFormatter.ASGCKnowledgeFormatter.deserialize(), python.learner.formatter.LearnedKnowledgeFormatter.LearnedKnowledgeFormatter.deserialize(), sgpp::combigrid::FloatSerializationStrategy< T >.deserialize(), sgpp::combigrid::AbstractCombigridStorage.deserialize(), sgpp::combigrid::CombigridTreeStorage.deserialize(), sgpp::combigrid::FunctionLookupTable.deserialize(), sgpp::combigrid::TreeStorageSerializationStrategy< T >.deserialize(), and python.utils.GzipSerializer.GzipSerializer.gzOpen().
def python.uq.sampler.asgc.ASGCSamplerFormatter.ASGCSamplerFormatter.serialize | ( | self, | |
memento, | |||
serializationStream | |||
) |
Serializes the ASGC memento to the stream @param memento: the ASGC memento structure @param serializationStream: output stream where memento should be serialized to
References python.utils.json.write().
Referenced by python.utils.GzipSerializer.GzipSerializer.serializeToFile(), python.uq.sampler.asgc.ASGCSamplerFormatter.ASGCSamplerFormatter.serializeToFile(), and python.uq.uq_setting.UQSettingFormatter.UQSettingFormatter.serializeToFile().
def python.uq.sampler.asgc.ASGCSamplerFormatter.ASGCSamplerFormatter.serializeToFile | ( | self, | |
memento, | |||
filename | |||
) |
Serializes the ASGC memento to file @param memento: The ASGC memento structure @param filename: The name of the file where the 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(), python.uq.analysis.asgc.ASGCKnowledgeFormatter.ASGCKnowledgeFormatter.serialize(), sgpp::base::LinearClenshawCurtisGrid.serialize(), python.uq.sampler.asgc.ASGCSamplerFormatter.ASGCSamplerFormatter.serialize(), sgpp::base::ModLinearClenshawCurtisGrid.serialize(), sgpp::base::ModPolyClenshawCurtisGrid.serialize(), sgpp::base::PolyClenshawCurtisGrid.serialize(), sgpp::base::ModBsplineGrid.serialize(), sgpp::base::BsplineGrid.serialize(), sgpp::base::FundamentalSplineGrid.serialize(), sgpp::base::ModFundamentalSplineGrid.serialize(), sgpp::base::ModBsplineClenshawCurtisGrid.serialize(), sgpp::base::NakBsplineBoundaryCombigridGrid.serialize(), sgpp::base::BsplineClenshawCurtisGrid.serialize(), sgpp::base::HashGridPoint.serialize(), sgpp::base::BsplineBoundaryGrid.serialize(), sgpp::base::HashGridStorage.serialize(), sgpp::base::BoundingBox.serialize(), sgpp::base::Stretching.serialize(), and sgpp::base::Grid.serialize().
def python.uq.sampler.asgc.ASGCSamplerFormatter.ASGCSamplerFormatter.toString | ( | self, | |
memento | |||
) |
Returns a string that represents the ASGC memento object. @param memento: The ASGC memento object @return: string representing the ASGC memento
References python.utils.json.write().