![]() |
SG++-Doxygen-Documentation
|
#include <Node.hpp>
Public Member Functions | |
virtual void | addAttribute (const std::string &name, std::unique_ptr< Node > node) |
virtual Node & | addDictAttr (const std::string &name) |
virtual Node & | addDictValue () |
virtual Node & | addIDAttr (const std::string &name, const bool &value) |
virtual Node & | addIDAttr (const std::string &name, const char *value) |
virtual Node & | addIDAttr (const std::string &name, const double &value) |
virtual Node & | addIDAttr (const std::string &name, const int64_t &value) |
virtual Node & | addIDAttr (const std::string &name, const std::string &value) |
virtual Node & | addIDAttr (const std::string &name, const uint64_t &value) |
virtual Node & | addIdValue (const bool &value) |
virtual Node & | addIdValue (const char *value) |
virtual Node & | addIdValue (const double &value) |
virtual Node & | addIdValue (const int64_t &value) |
virtual Node & | addIdValue (const std::string &value) |
virtual Node & | addIdValue (const uint64_t &value) |
virtual Node & | addListAttr (const std::string &name) |
virtual Node & | addListValue () |
virtual Node & | addTextAttr (const std::string &name, const std::string &value) |
virtual Node & | addTextValue (const std::string &value) |
virtual void | addValue (std::unique_ptr< Node > node) |
virtual Node * | clone ()=0 |
virtual bool | contains (const std::string &key) |
virtual std::unique_ptr< Node > | erase () |
virtual std::unique_ptr< Node > | erase (Node &node) |
virtual std::string & | get () |
virtual bool | getBool () |
virtual double | getDouble () |
virtual int64_t | getInt () |
virtual uint64_t | getUInt () |
virtual std::vector< std::string > & | keys () |
Node () | |
Node (const Node &right)=default | |
virtual Node & | operator= (const Node &right) |
virtual Node & | operator[] (const size_t index) |
virtual Node & | operator[] (const std::string &key) |
virtual void | parse (std::vector< Token > &stream)=0 |
virtual std::unique_ptr< Node > | removeAttribute (const std::string name) |
virtual std::unique_ptr< Node > | removeValue (size_t index) |
virtual Node & | replaceDictAttr (const std::string &name) |
virtual Node & | replaceIDAttr (const std::string &name, const bool &value) |
virtual Node & | replaceIDAttr (const std::string &name, const char *value) |
virtual Node & | replaceIDAttr (const std::string &name, const double &value) |
virtual Node & | replaceIDAttr (const std::string &name, const int64_t &value) |
virtual Node & | replaceIDAttr (const std::string &name, const std::string &value) |
virtual Node & | replaceIDAttr (const std::string &name, const uint64_t &value) |
virtual Node & | replaceListAttr (const std::string &name) |
virtual Node & | replaceTextAttr (const std::string &name, const std::string &value) |
virtual void | serialize (std::ostream &outFile, size_t indentWidth)=0 |
virtual void | set (const std::string &value) |
virtual void | setBool (bool boolValue) |
virtual void | setDouble (double doubleValue) |
virtual void | setInt (int64_t intValue) |
virtual void | setUInt (uint64_t uintValue) |
virtual size_t | size ()=0 |
virtual | ~Node ()=default |
Public Attributes | |
size_t | orderedKeyIndex |
Node * | parent |
Static Protected Attributes | |
static const int | SERIALIZE_INDENT = 3 |
json::Node::Node | ( | ) |
|
default |
|
virtualdefault |
|
virtual |
Reimplemented in json::DictNode.
Referenced by python.data.DataSpecification.DataSpecification::createNumericAttributes().
|
virtual |
Reimplemented in json::DictNode.
Referenced by sgpp::datadriven::DensityOCLMultiPlatform::KernelCreateGraph< T >::augmentDefaultParameters(), sgpp::datadriven::DensityOCLMultiPlatform::KernelDensityB< T >::augmentDefaultParameters(), sgpp::datadriven::DensityOCLMultiPlatform::KernelDensityMult< T >::augmentDefaultParameters(), sgpp::datadriven::StreamingModOCLFastMultiPlatform::Configuration::augmentDefaultParameters(), sgpp::datadriven::StreamingModOCLMaskMultiPlatform::Configuration::augmentDefaultParameters(), sgpp::datadriven::StreamingModOCLOpt::Configuration::augmentDefaultParameters(), sgpp::datadriven::StreamingModOCLUnified::Configuration::augmentDefaultParameters(), sgpp::datadriven::StreamingOCLMultiPlatform::Configuration::augmentDefaultParameters(), sgpp::datadriven::DensityOCLMultiPlatform::KernelPruneGraph< T >::augmentDefaultParameters(), sgpp::base::OCLManagerMultiPlatform::configureDevice(), and sgpp::base::OCLManagerMultiPlatform::configurePlatform().
|
virtual |
Reimplemented in json::ListNode.
Referenced by sgpp::datadriven::VisualizerDensityEstimation::storeCutJson(), sgpp::datadriven::VisualizerDensityEstimation::storeCutJson(), sgpp::datadriven::VisualizerDensityEstimation::storeHeatmapJson(), sgpp::datadriven::VisualizerDensityEstimation::storeHeatmapJson(), sgpp::datadriven::VisualizerClassification::storeHeatmapJsonClassification(), sgpp::datadriven::VisualizerClassification::storeHeatmapJsonClassification(), sgpp::datadriven::VisualizerClassification::storeTsneJson(), and sgpp::datadriven::VisualizerDensityEstimation::storeTsneJson().
|
virtual |
Reimplemented in json::DictNode.
|
virtual |
Reimplemented in json::DictNode.
|
virtual |
Reimplemented in json::DictNode.
|
virtual |
Reimplemented in json::DictNode.
|
virtual |
Reimplemented in json::DictNode.
Referenced by sgpp::datadriven::DensityOCLMultiPlatform::KernelCreateGraph< T >::augmentDefaultParameters(), sgpp::datadriven::DensityOCLMultiPlatform::KernelDensityB< T >::augmentDefaultParameters(), sgpp::datadriven::DensityOCLMultiPlatform::KernelDensityMult< T >::augmentDefaultParameters(), sgpp::datadriven::StreamingModOCLFastMultiPlatform::Configuration::augmentDefaultParameters(), sgpp::datadriven::StreamingModOCLMaskMultiPlatform::Configuration::augmentDefaultParameters(), sgpp::datadriven::StreamingModOCLOpt::Configuration::augmentDefaultParameters(), sgpp::datadriven::StreamingModOCLUnified::Configuration::augmentDefaultParameters(), sgpp::datadriven::StreamingOCLMultiPlatform::Configuration::augmentDefaultParameters(), and sgpp::datadriven::DensityOCLMultiPlatform::KernelPruneGraph< T >::augmentDefaultParameters().
|
virtual |
Reimplemented in json::DictNode.
|
virtual |
Reimplemented in json::ListNode.
|
virtual |
Reimplemented in json::ListNode.
|
virtual |
Reimplemented in json::ListNode.
|
virtual |
Reimplemented in json::ListNode.
|
virtual |
|
virtual |
Reimplemented in json::ListNode.
|
virtual |
Reimplemented in json::DictNode.
|
virtual |
Reimplemented in json::ListNode.
|
virtual |
Reimplemented in json::DictNode.
Referenced by sgpp::datadriven::DensityOCLMultiPlatform::KernelCreateGraph< T >::augmentDefaultParameters(), sgpp::datadriven::DensityOCLMultiPlatform::KernelDensityB< T >::augmentDefaultParameters(), sgpp::datadriven::DensityOCLMultiPlatform::KernelDensityMult< T >::augmentDefaultParameters(), sgpp::datadriven::StreamingModOCLFastMultiPlatform::Configuration::augmentDefaultParameters(), sgpp::datadriven::StreamingModOCLMaskMultiPlatform::Configuration::augmentDefaultParameters(), sgpp::datadriven::StreamingModOCLOpt::Configuration::augmentDefaultParameters(), sgpp::datadriven::StreamingModOCLUnified::Configuration::augmentDefaultParameters(), sgpp::datadriven::StreamingOCLMultiPlatform::Configuration::augmentDefaultParameters(), and sgpp::datadriven::DensityOCLMultiPlatform::KernelPruneGraph< T >::augmentDefaultParameters().
|
virtual |
Reimplemented in json::ListNode.
|
virtual |
Reimplemented in json::ListNode.
|
pure virtual |
Implemented in json::JSON, sgpp::base::OperationConfiguration, sgpp::base::OCLOperationConfiguration, json::DictNode, json::IDNode, json::ListNode, json::TextNode, sgpp::datadriven::LearnerSGDEConfiguration, and sgpp::datadriven::SparseGridDensityEstimatorConfiguration.
Referenced by sgpp::datadriven::VisualizerClassification::storeHeatmapJsonClassification().
|
virtual |
Reimplemented in json::DictNode.
Referenced by sgpp::datadriven::DensityOCLMultiPlatform::KernelCreateGraph< T >::augmentDefaultParameters(), sgpp::datadriven::DensityOCLMultiPlatform::KernelDensityB< T >::augmentDefaultParameters(), sgpp::datadriven::DensityOCLMultiPlatform::KernelDensityMult< T >::augmentDefaultParameters(), sgpp::datadriven::StreamingModOCLFastMultiPlatform::Configuration::augmentDefaultParameters(), sgpp::datadriven::StreamingModOCLMaskMultiPlatform::Configuration::augmentDefaultParameters(), sgpp::datadriven::StreamingModOCLOpt::Configuration::augmentDefaultParameters(), sgpp::datadriven::StreamingModOCLUnified::Configuration::augmentDefaultParameters(), sgpp::datadriven::StreamingOCLMultiPlatform::Configuration::augmentDefaultParameters(), sgpp::datadriven::DensityOCLMultiPlatform::KernelPruneGraph< T >::augmentDefaultParameters(), sgpp::base::OCLManagerMultiPlatform::buildKernel(), sgpp::base::OCLManagerMultiPlatform::configureDevice(), sgpp::datadriven::DensityOCLMultiPlatform::SourceBuilderB< real_type >::generateSource(), sgpp::datadriven::DensityOCLMultiPlatform::SourceBuilderPruneGraph< real_type >::generateSource(), sgpp::datadriven::DensityOCLMultiPlatform::SourceBuilderCreateGraph< real_type >::generateSource(), sgpp::datadriven::DensityOCLMultiPlatform::SourceBuilderMult< real_type >::generateSource(), sgpp::datadriven::DensityOCLMultiPlatform::KernelCreateGraph< T >::KernelCreateGraph(), sgpp::datadriven::DensityOCLMultiPlatform::KernelDensityMult< T >::KernelDensityMult(), sgpp::datadriven::DensityOCLMultiPlatform::SourceBuilderCreateGraph< real_type >::SourceBuilderCreateGraph(), and sgpp::datadriven::DensityOCLMultiPlatform::SourceBuilderMult< real_type >::SourceBuilderMult().
Reimplemented in json::DictNode, and json::ListNode.
Referenced by erase().
|
virtual |
Reimplemented in json::IDNode, and json::TextNode.
Referenced by sgpp::base::OCLManagerMultiPlatform::buildKernel(), sgpp::datadriven::DBMatDatabase::getBaseDataMatrix(), sgpp::datadriven::DBMatDatabase::getDataMatrix(), sgpp::datadriven::LearnerScenario::getInternalPrecision(), sgpp::datadriven::DataMiningConfigParser::getMultiDataSourceConfig(), and sgpp::datadriven::DataMiningConfigParser::parseIntArray().
|
virtual |
Reimplemented in json::IDNode, and json::TextNode.
Referenced by sgpp::base::OCLManagerMultiPlatform::buildKernel(), sgpp::datadriven::DensityOCLMultiPlatform::KernelCreateGraph< T >::KernelCreateGraph(), sgpp::datadriven::DensityOCLMultiPlatform::KernelDensityB< T >::KernelDensityB(), sgpp::datadriven::DensityOCLMultiPlatform::KernelDensityMult< T >::KernelDensityMult(), sgpp::datadriven::StreamingModOCLFastMultiPlatform::KernelMult< T >::KernelMult(), sgpp::datadriven::StreamingModOCLMaskMultiPlatform::KernelMult< real_type >::KernelMult(), sgpp::datadriven::StreamingModOCLOpt::KernelMult< T >::KernelMult(), sgpp::datadriven::StreamingModOCLUnified::KernelMult< real_type >::KernelMult(), sgpp::datadriven::StreamingOCLMultiPlatform::KernelMult< T >::KernelMult(), sgpp::datadriven::StreamingModOCLFastMultiPlatform::KernelMultTranspose< T >::KernelMultTranspose(), sgpp::datadriven::StreamingModOCLMaskMultiPlatform::KernelMultTranspose< real_type >::KernelMultTranspose(), sgpp::datadriven::StreamingModOCLOpt::KernelMultTranspose< real_type >::KernelMultTranspose(), sgpp::datadriven::StreamingModOCLUnified::KernelMultTranspose< real_type >::KernelMultTranspose(), sgpp::datadriven::StreamingOCLMultiPlatform::KernelMultTranspose< T >::KernelMultTranspose(), sgpp::datadriven::DensityOCLMultiPlatform::KernelPruneGraph< T >::KernelPruneGraph(), sgpp::datadriven::clusteringmpi::MPIWorkerBase::MPIWorkerBase(), sgpp::datadriven::clusteringmpi::MPIWorkerPackageBase< T >::MPIWorkerPackageBase(), sgpp::datadriven::clusteringmpi::MPIWorkerPackageBase< T >::MPIWorkerPackageBase(), sgpp::datadriven::DensityOCLMultiPlatform::SourceBuilderCreateGraph< real_type >::SourceBuilderCreateGraph(), sgpp::datadriven::DensityOCLMultiPlatform::SourceBuilderMult< real_type >::SourceBuilderMult(), sgpp::datadriven::StreamingModOCLFastMultiPlatform::SourceBuilderMult< real_type >::SourceBuilderMult(), sgpp::datadriven::StreamingModOCLMaskMultiPlatform::SourceBuilderMult< T >::SourceBuilderMult(), sgpp::datadriven::StreamingModOCLOpt::SourceBuilderMult< real_type >::SourceBuilderMult(), sgpp::datadriven::StreamingModOCLUnified::SourceBuilderMult< T >::SourceBuilderMult(), sgpp::datadriven::StreamingOCLMultiPlatform::SourceBuilderMult< real_type >::SourceBuilderMult(), sgpp::datadriven::StreamingModOCLFastMultiPlatform::SourceBuilderMultTranspose< real_type >::SourceBuilderMultTranspose(), sgpp::datadriven::StreamingModOCLMaskMultiPlatform::SourceBuilderMultTranspose< T >::SourceBuilderMultTranspose(), sgpp::datadriven::StreamingModOCLOpt::SourceBuilderMultTranspose< T >::SourceBuilderMultTranspose(), sgpp::datadriven::StreamingModOCLUnified::SourceBuilderMultTranspose< T >::SourceBuilderMultTranspose(), and sgpp::datadriven::StreamingOCLMultiPlatform::SourceBuilderMultTranspose< real_type >::SourceBuilderMultTranspose().
|
virtual |
Reimplemented in json::IDNode, and json::TextNode.
|
virtual |
Reimplemented in json::IDNode, and json::TextNode.
Referenced by sgpp::datadriven::clusteringmpi::GraphCreationWorker::divide_workpackages().
|
virtual |
Reimplemented in json::IDNode, and json::TextNode.
Referenced by sgpp::base::OCLManagerMultiPlatform::configureDevice(), sgpp::datadriven::DBMatDatabase::getBaseDataMatrix(), sgpp::datadriven::DensityOCLMultiPlatform::KernelCreateGraph< T >::KernelCreateGraph(), sgpp::datadriven::DensityOCLMultiPlatform::KernelDensityB< T >::KernelDensityB(), sgpp::datadriven::DensityOCLMultiPlatform::KernelDensityMult< T >::KernelDensityMult(), sgpp::datadriven::StreamingModOCLFastMultiPlatform::KernelMult< T >::KernelMult(), sgpp::datadriven::StreamingModOCLMaskMultiPlatform::KernelMult< real_type >::KernelMult(), sgpp::datadriven::StreamingModOCLOpt::KernelMult< T >::KernelMult(), sgpp::datadriven::StreamingModOCLUnified::KernelMult< real_type >::KernelMult(), sgpp::datadriven::StreamingOCLMultiPlatform::KernelMult< T >::KernelMult(), sgpp::datadriven::StreamingModOCLFastMultiPlatform::KernelMultTranspose< T >::KernelMultTranspose(), sgpp::datadriven::StreamingModOCLMaskMultiPlatform::KernelMultTranspose< real_type >::KernelMultTranspose(), sgpp::datadriven::StreamingModOCLOpt::KernelMultTranspose< real_type >::KernelMultTranspose(), sgpp::datadriven::StreamingModOCLUnified::KernelMultTranspose< real_type >::KernelMultTranspose(), sgpp::datadriven::StreamingOCLMultiPlatform::KernelMultTranspose< T >::KernelMultTranspose(), sgpp::datadriven::DensityOCLMultiPlatform::KernelPruneGraph< T >::KernelPruneGraph(), sgpp::datadriven::clusteringmpi::MPIWorkerPackageBase< T >::MPIWorkerPackageBase(), sgpp::datadriven::clusteringmpi::MPIWorkerPackageBase< T >::MPIWorkerPackageBase(), sgpp::datadriven::DensityOCLMultiPlatform::SourceBuilderCreateGraph< real_type >::SourceBuilderCreateGraph(), sgpp::datadriven::DensityOCLMultiPlatform::SourceBuilderMult< real_type >::SourceBuilderMult(), sgpp::datadriven::StreamingModOCLFastMultiPlatform::SourceBuilderMult< real_type >::SourceBuilderMult(), sgpp::datadriven::StreamingModOCLMaskMultiPlatform::SourceBuilderMult< T >::SourceBuilderMult(), sgpp::datadriven::StreamingModOCLOpt::SourceBuilderMult< real_type >::SourceBuilderMult(), sgpp::datadriven::StreamingModOCLUnified::SourceBuilderMult< T >::SourceBuilderMult(), sgpp::datadriven::StreamingOCLMultiPlatform::SourceBuilderMult< real_type >::SourceBuilderMult(), sgpp::datadriven::StreamingModOCLFastMultiPlatform::SourceBuilderMultTranspose< real_type >::SourceBuilderMultTranspose(), sgpp::datadriven::StreamingModOCLMaskMultiPlatform::SourceBuilderMultTranspose< T >::SourceBuilderMultTranspose(), sgpp::datadriven::StreamingModOCLOpt::SourceBuilderMultTranspose< T >::SourceBuilderMultTranspose(), sgpp::datadriven::StreamingModOCLUnified::SourceBuilderMultTranspose< T >::SourceBuilderMultTranspose(), and sgpp::datadriven::StreamingOCLMultiPlatform::SourceBuilderMultTranspose< real_type >::SourceBuilderMultTranspose().
|
virtual |
Reimplemented in json::DictNode.
Referenced by sgpp::datadriven::DensityOCLMultiPlatform::KernelCreateGraph< T >::augmentDefaultParameters(), sgpp::datadriven::DensityOCLMultiPlatform::KernelDensityB< T >::augmentDefaultParameters(), sgpp::datadriven::DensityOCLMultiPlatform::KernelDensityMult< T >::augmentDefaultParameters(), sgpp::datadriven::StreamingModOCLFastMultiPlatform::Configuration::augmentDefaultParameters(), sgpp::datadriven::StreamingModOCLMaskMultiPlatform::Configuration::augmentDefaultParameters(), sgpp::datadriven::StreamingModOCLOpt::Configuration::augmentDefaultParameters(), sgpp::datadriven::StreamingModOCLUnified::Configuration::augmentDefaultParameters(), sgpp::datadriven::StreamingOCLMultiPlatform::Configuration::augmentDefaultParameters(), sgpp::datadriven::DensityOCLMultiPlatform::KernelPruneGraph< T >::augmentDefaultParameters(), sgpp::datadriven::clusteringmpi::MPIEnviroment::createMPIConfiguration(), and sgpp::base::OCLOperationConfiguration::getAllDeviceNodes().
Reimplemented in json::DictNode, json::IDNode, json::JSON, json::ListNode, and json::TextNode.
|
virtual |
Reimplemented in json::ListNode.
|
virtual |
Reimplemented in json::DictNode.
|
pure virtual |
Implemented in json::DictNode, json::IDNode, json::ListNode, and json::TextNode.
|
virtual |
Reimplemented in json::DictNode.
|
virtual |
Reimplemented in json::ListNode.
|
virtual |
Reimplemented in json::DictNode.
|
virtual |
Reimplemented in json::DictNode.
|
virtual |
Reimplemented in json::DictNode.
|
virtual |
Reimplemented in json::DictNode.
|
virtual |
Reimplemented in json::DictNode.
|
virtual |
Reimplemented in json::DictNode.
|
virtual |
Reimplemented in json::DictNode.
|
virtual |
Reimplemented in json::DictNode.
|
virtual |
Reimplemented in json::DictNode.
|
pure virtual |
Implemented in json::DictNode, json::IDNode, json::JSON, json::ListNode, and json::TextNode.
Referenced by operator<<(), python.learner.formatter.GridFormatter.GridFormatter::serializeToFile(), python.learner.formatter.LearnedKnowledgeFormatter.LearnedKnowledgeFormatter::serializeToFile(), python.learner.formatter.LearnerFormatter.LearnerFormatter::serializeToFile(), python.uq.analysis.asgc.ASGCKnowledgeFormatter.ASGCKnowledgeFormatter::serializeToFile(), python.uq.sampler.asgc.ASGCSamplerFormatter.ASGCSamplerFormatter::serializeToFile(), python.uq.uq_setting.UQSettingFormatter.UQSettingFormatter::serializeToFile(), and python.utils.GzipSerializer.GzipSerializer::serializeToFile().
|
virtual |
Reimplemented in json::IDNode, and json::TextNode.
|
virtual |
Reimplemented in json::IDNode, and json::TextNode.
|
virtual |
Reimplemented in json::IDNode, and json::TextNode.
|
virtual |
Reimplemented in json::IDNode, and json::TextNode.
|
virtual |
Reimplemented in json::IDNode, and json::TextNode.
|
pure virtual |
Implemented in json::DictNode, json::IDNode, json::ListNode, and json::TextNode.
Referenced by python.data.DataContainer.DataContainer::__init__(), python.data.DataContainer.DataContainer::__next__(), python.data.DataContainer.DataContainer::getSize(), and sgpp::datadriven::DensityOCLMultiPlatform::KernelDensityB< T >::KernelDensityB().
size_t json::Node::orderedKeyIndex |
Node* json::Node::parent |
|
staticprotected |
Referenced by json::DictNode::serialize(), and json::ListNode::serialize().