SG++
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

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

Constructor & Destructor Documentation

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

References flatLevel, hInverse, level, and NOT_SET.

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

References NOT_SET.

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

References ARRAY, and subspaceArray.

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

Member Function Documentation

void sgpp::datadriven::SubspaceNodeCombined::addGridPoint ( std::vector< uint32_t > &  index)
void sgpp::datadriven::SubspaceNodeCombined::addGridPoint ( std::vector< uint32_t > &  index)
inline
static uint32_t sgpp::datadriven::SubspaceNodeCombined::compareLexicographically ( SubspaceNodeCombined current,
SubspaceNodeCombined last 
)
static
uint32_t sgpp::datadriven::SubspaceNodeCombined::compareLexicographically ( SubspaceNodeCombined current,
SubspaceNodeCombined last 
)
inlinestatic

References level.

double sgpp::datadriven::SubspaceNodeCombined::getSurplus ( size_t  indexFlat)
double sgpp::datadriven::SubspaceNodeCombined::getSurplus ( size_t  indexFlat)
inline
void sgpp::datadriven::SubspaceNodeCombined::lockSubspace ( )
void sgpp::datadriven::SubspaceNodeCombined::lockSubspace ( )
inline
void sgpp::datadriven::SubspaceNodeCombined::printLevel ( )
void sgpp::datadriven::SubspaceNodeCombined::printLevel ( )
inline
void sgpp::datadriven::SubspaceNodeCombined::setSurplus ( size_t  indexFlat,
double  surplus 
)
void sgpp::datadriven::SubspaceNodeCombined::setSurplus ( size_t  indexFlat,
double  surplus 
)
inline
static bool sgpp::datadriven::SubspaceNodeCombined::subspaceCompare ( SubspaceNodeCombined  left,
SubspaceNodeCombined  right 
)
static
bool sgpp::datadriven::SubspaceNodeCombined::subspaceCompare ( SubspaceNodeCombined  left,
SubspaceNodeCombined  right 
)
inlinestatic

References level.

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

Member Data Documentation

uint32_t sgpp::datadriven::SubspaceNodeCombined::arriveDiff
uint32_t sgpp::datadriven::SubspaceNodeCombined::existingGridPointsOnLevel
uint32_t sgpp::datadriven::SubspaceNodeCombined::flatLevel

Referenced by SubspaceNodeCombined().

uint32_t sgpp::datadriven::SubspaceNodeCombined::gridPointsOnLevel

Referenced by unpack().

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

Referenced by SubspaceNodeCombined().

std::vector< std::pair< uint32_t, double > > sgpp::datadriven::SubspaceNodeCombined::indexFlatSurplusPairs
std::vector< uint32_t > sgpp::datadriven::SubspaceNodeCombined::indices
uint32_t sgpp::datadriven::SubspaceNodeCombined::jumpTargetIndex
std::vector< uint32_t > sgpp::datadriven::SubspaceNodeCombined::level
std::vector<double> sgpp::datadriven::SubspaceNodeCombined::subspaceArray
omp_lock_t sgpp::datadriven::SubspaceNodeCombined::subspaceLock

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