SG++-Doxygen-Documentation
sgpp::datadriven::SubspaceNodeCombined Class Reference

#include <SubspaceNodeCombined.hpp>

Public Types

enum  SubspaceType {
  NOT_SET, ARRAY, LIST, NOT_SET,
  NOT_SET, NOT_SET, ARRAY, ARRAY,
  ARRAY, LIST, LIST, LIST
}
 
enum  SubspaceType {
  NOT_SET, ARRAY, LIST, NOT_SET,
  NOT_SET, NOT_SET, ARRAY, ARRAY,
  ARRAY, LIST, LIST, LIST
}
 

Public Member Functions

void addGridPoint (std::vector< uint32_t > &index)
 
void addGridPoint (std::vector< uint32_t > &index)
 
double getSurplus (size_t indexFlat)
 
double getSurplus (size_t indexFlat)
 
void lockSubspace ()
 
void lockSubspace ()
 
void printLevel ()
 
void printLevel ()
 
void setSurplus (size_t indexFlat, double surplus)
 
void setSurplus (size_t indexFlat, double surplus)
 
 SubspaceNodeCombined (std::vector< uint32_t > &level, uint32_t flatLevel, std::vector< uint32_t > &hInverse, std::vector< uint32_t > &index)
 
 SubspaceNodeCombined (std::vector< uint32_t > &level, uint32_t flatLevel, std::vector< uint32_t > &hInverse, std::vector< uint32_t > &index)
 
 SubspaceNodeCombined (size_t dim, uint32_t index)
 
 SubspaceNodeCombined (size_t dim, uint32_t index)
 
void unlockSubspace ()
 
void unlockSubspace ()
 
void unpack ()
 
void unpack ()
 
 ~SubspaceNodeCombined ()
 

Static Public Member Functions

static uint32_t compareLexicographically (SubspaceNodeCombined &current, SubspaceNodeCombined &last)
 
static uint32_t compareLexicographically (SubspaceNodeCombined &current, SubspaceNodeCombined &last)
 
static bool subspaceCompare (SubspaceNodeCombined left, SubspaceNodeCombined right)
 
static bool subspaceCompare (SubspaceNodeCombined left, SubspaceNodeCombined right)
 

Public Attributes

uint32_t arriveDiff
 
uint32_t existingGridPointsOnLevel
 
uint32_t flatLevel
 
uint32_t gridPointsOnLevel
 
std::vector< uint32_t > hInverse
 
std::vector< std::pair< uint32_t, double > > indexFlatSurplusPairs
 
std::vector< uint32_t > indices
 
uint32_t jumpTargetIndex
 
std::vector< uint32_t > level
 
std::vector< double > subspaceArray
 
double * subspaceArray
 
omp_lock_t subspaceLock
 
SubspaceType type
 

Member Enumeration Documentation

◆ SubspaceType [1/2]

Enumerator
NOT_SET 
ARRAY 
LIST 
NOT_SET 
NOT_SET 
NOT_SET 
ARRAY 
ARRAY 
ARRAY 
LIST 
LIST 
LIST 

◆ SubspaceType [2/2]

Enumerator
NOT_SET 
ARRAY 
LIST 
NOT_SET 
NOT_SET 
NOT_SET 
ARRAY 
ARRAY 
ARRAY 
LIST 
LIST 
LIST 

Constructor & Destructor Documentation

◆ SubspaceNodeCombined() [1/4]

sgpp::datadriven::SubspaceNodeCombined::SubspaceNodeCombined ( std::vector< uint32_t > &  level,
uint32_t  flatLevel,
std::vector< uint32_t > &  hInverse,
std::vector< uint32_t > &  index 
)
inline

◆ SubspaceNodeCombined() [2/4]

sgpp::datadriven::SubspaceNodeCombined::SubspaceNodeCombined ( size_t  dim,
uint32_t  index 
)
inline

◆ ~SubspaceNodeCombined()

sgpp::datadriven::SubspaceNodeCombined::~SubspaceNodeCombined ( )
inline

References ARRAY, and subspaceArray.

◆ SubspaceNodeCombined() [3/4]

sgpp::datadriven::SubspaceNodeCombined::SubspaceNodeCombined ( std::vector< uint32_t > &  level,
uint32_t  flatLevel,
std::vector< uint32_t > &  hInverse,
std::vector< uint32_t > &  index 
)

◆ SubspaceNodeCombined() [4/4]

sgpp::datadriven::SubspaceNodeCombined::SubspaceNodeCombined ( size_t  dim,
uint32_t  index 
)

Member Function Documentation

◆ addGridPoint() [1/2]

void sgpp::datadriven::SubspaceNodeCombined::addGridPoint ( std::vector< uint32_t > &  index)

◆ addGridPoint() [2/2]

void sgpp::datadriven::SubspaceNodeCombined::addGridPoint ( std::vector< uint32_t > &  index)
inline

◆ compareLexicographically() [1/2]

static uint32_t sgpp::datadriven::SubspaceNodeCombined::compareLexicographically ( SubspaceNodeCombined current,
SubspaceNodeCombined last 
)
static

◆ compareLexicographically() [2/2]

uint32_t sgpp::datadriven::SubspaceNodeCombined::compareLexicographically ( SubspaceNodeCombined current,
SubspaceNodeCombined last 
)
inlinestatic

References python.statsfileInfo::i, and level.

◆ getSurplus() [1/2]

double sgpp::datadriven::SubspaceNodeCombined::getSurplus ( size_t  indexFlat)

◆ getSurplus() [2/2]

double sgpp::datadriven::SubspaceNodeCombined::getSurplus ( size_t  indexFlat)
inline

◆ lockSubspace() [1/2]

void sgpp::datadriven::SubspaceNodeCombined::lockSubspace ( )

◆ lockSubspace() [2/2]

void sgpp::datadriven::SubspaceNodeCombined::lockSubspace ( )
inline

◆ printLevel() [1/2]

void sgpp::datadriven::SubspaceNodeCombined::printLevel ( )

◆ printLevel() [2/2]

void sgpp::datadriven::SubspaceNodeCombined::printLevel ( )
inline

◆ setSurplus() [1/2]

void sgpp::datadriven::SubspaceNodeCombined::setSurplus ( size_t  indexFlat,
double  surplus 
)

◆ setSurplus() [2/2]

void sgpp::datadriven::SubspaceNodeCombined::setSurplus ( size_t  indexFlat,
double  surplus 
)
inline

◆ subspaceCompare() [1/2]

static bool sgpp::datadriven::SubspaceNodeCombined::subspaceCompare ( SubspaceNodeCombined  left,
SubspaceNodeCombined  right 
)
static

◆ subspaceCompare() [2/2]

bool sgpp::datadriven::SubspaceNodeCombined::subspaceCompare ( SubspaceNodeCombined  left,
SubspaceNodeCombined  right 
)
inlinestatic

References python.statsfileInfo::i, and level.

◆ unlockSubspace() [1/2]

void sgpp::datadriven::SubspaceNodeCombined::unlockSubspace ( )

◆ unlockSubspace() [2/2]

void sgpp::datadriven::SubspaceNodeCombined::unlockSubspace ( )
inline

◆ unpack() [1/2]

void sgpp::datadriven::SubspaceNodeCombined::unpack ( )

◆ unpack() [2/2]

void sgpp::datadriven::SubspaceNodeCombined::unpack ( )
inline

Member Data Documentation

◆ arriveDiff

uint32_t sgpp::datadriven::SubspaceNodeCombined::arriveDiff

◆ existingGridPointsOnLevel

uint32_t sgpp::datadriven::SubspaceNodeCombined::existingGridPointsOnLevel

◆ flatLevel

uint32_t sgpp::datadriven::SubspaceNodeCombined::flatLevel

Referenced by SubspaceNodeCombined().

◆ gridPointsOnLevel

uint32_t sgpp::datadriven::SubspaceNodeCombined::gridPointsOnLevel

Referenced by unpack().

◆ hInverse

std::vector< uint32_t > sgpp::datadriven::SubspaceNodeCombined::hInverse

Referenced by SubspaceNodeCombined().

◆ indexFlatSurplusPairs

std::vector< std::pair< uint32_t, double > > sgpp::datadriven::SubspaceNodeCombined::indexFlatSurplusPairs

◆ indices

std::vector< uint32_t > sgpp::datadriven::SubspaceNodeCombined::indices

◆ jumpTargetIndex

uint32_t sgpp::datadriven::SubspaceNodeCombined::jumpTargetIndex

◆ level

std::vector< uint32_t > sgpp::datadriven::SubspaceNodeCombined::level

◆ subspaceArray [1/2]

std::vector<double> sgpp::datadriven::SubspaceNodeCombined::subspaceArray

◆ subspaceArray [2/2]

◆ subspaceLock

omp_lock_t sgpp::datadriven::SubspaceNodeCombined::subspaceLock

◆ type


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