![]()  | 
  
    SG++-Doxygen-Documentation
    
   | 
 
Abstract base class for storage storing a float_t for each level-index-pair. More...
#include <AbstractCombigridStorage.hpp>
  
 Public Member Functions | |
| virtual void | deserialize (std::string const &str)=0 | 
| Re-loads storage values from a string that has been generated by serialize().  More... | |
| virtual double | get (MultiIndex const &level, MultiIndex const &index)=0 | 
| virtual std::shared_ptr< AbstractMultiStorageIterator< double > > | getGuidedIterator (MultiIndex const &level, MultiIndexIterator &iterator, std::vector< bool > orderingConfiguration)=0 | 
| virtual size_t | getNumEntries ()=0 | 
| virtual std::string | serialize ()=0 | 
| virtual void | set (MultiIndex const &level, MultiIndex const &index, double value)=0 | 
| Sets a value at the given level-index pair, creating a new entry if no value had been previously stored at this level-index pair.  More... | |
| virtual void | setMutex (std::shared_ptr< std::recursive_mutex > mutexPtr)=0 | 
| Sets a mutex that is locked for critical operations.  More... | |
| virtual | ~AbstractCombigridStorage () | 
Abstract base class for storage storing a float_t for each level-index-pair.
The intention is that the entries store function values to be re-used. In the subclass CombigridTreeStorage, a function is passed whose values are evaluated and stored at the first request. At further requests for the same level-index pair, the stored value can be retrieved.
      
  | 
  virtual | 
      
  | 
  pure virtual | 
Re-loads storage values from a string that has been generated by serialize().
Implemented in sgpp::combigrid::CombigridTreeStorage.
Referenced by python.learner.formatter.LearnedKnowledgeFormatter.LearnedKnowledgeFormatter::deserializeFromFile(), python.learner.formatter.GridFormatter.GridFormatter::deserializeFromFile(), 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().
      
  | 
  pure virtual | 
Implemented in sgpp::combigrid::CombigridTreeStorage.
      
  | 
  pure virtual | 
| level | Level to traverse | 
| iterator | Iterator that defines which values should be iterated over | 
| orderingConfiguration | Defines for each dimension whether the grid points in that dimension should be traversed in sorted order. | 
Implemented in sgpp::combigrid::CombigridTreeStorage.
      
  | 
  pure virtual | 
Implemented in sgpp::combigrid::CombigridTreeStorage.
      
  | 
  pure virtual | 
Implemented in sgpp::combigrid::CombigridTreeStorage.
Referenced by python.utils.GzipSerializer.GzipSerializer::serializeToFile(), python.learner.formatter.LearnerFormatter.LearnerFormatter::serializeToFile(), python.learner.formatter.LearnedKnowledgeFormatter.LearnedKnowledgeFormatter::serializeToFile(), python.learner.formatter.GridFormatter.GridFormatter::serializeToFile(), python.uq.analysis.asgc.ASGCKnowledgeFormatter.ASGCKnowledgeFormatter::serializeToFile(), python.uq.sampler.asgc.ASGCSamplerFormatter.ASGCSamplerFormatter::serializeToFile(), and python.uq.uq_setting.UQSettingFormatter.UQSettingFormatter::serializeToFile().
      
  | 
  pure virtual | 
Sets a value at the given level-index pair, creating a new entry if no value had been previously stored at this level-index pair.
Implemented in sgpp::combigrid::CombigridTreeStorage.
      
  | 
  pure virtual | 
Sets a mutex that is locked for critical operations.
If the mutex is nullptr, nothing is locked.
Implemented in sgpp::combigrid::CombigridTreeStorage.