SG++-Doxygen-Documentation
python.uq.sampler.asgc.ASGCSamplerFormatter.ASGCSamplerFormatter Class Reference
Inheritance diagram for python.uq.sampler.asgc.ASGCSamplerFormatter.ASGCSamplerFormatter:

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)
 

Detailed Description

ASGCSamplerFormatter class.

Member Function Documentation

◆ deserialize()

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().

◆ deserializeFromFile()

◆ serialize()

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().

◆ 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().

◆ toString()

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().


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