SG++-Doxygen-Documentation
|
#include <OperationMakePositiveCandidateSetAlgorithm.hpp>
Public Member Functions | |
void | nextCandidates (base::Grid &grid, base::DataVector &alpha, size_t levelSum, std::vector< std::shared_ptr< base::HashGridPoint >> &candidates) override |
Load the next candidate set that contains grid points with the currently explored levelsum. More... | |
size_t | numCandidates () override |
base::DataVector & | numCandidatesPerIteration () override |
OperationMakePositiveLoadFullGridCandidates (size_t maxLevel) | |
virtual | ~OperationMakePositiveLoadFullGridCandidates () |
Public Member Functions inherited from sgpp::datadriven::OperationMakePositiveCandidateSetAlgorithm | |
size_t | costsComputingCandidates () |
base::DataVector & | costsComputingCandidatesPerIteration () |
base::DataVector & | numCandidatesPerLevel () |
OperationMakePositiveCandidateSetAlgorithm (size_t maxLevel) | |
Constructor. More... | |
void | setVerbose (bool pverbose) |
Set verbosity level. More... | |
virtual | ~OperationMakePositiveCandidateSetAlgorithm () |
Desctructor. More... | |
Additional Inherited Members | |
Protected Member Functions inherited from sgpp::datadriven::OperationMakePositiveCandidateSetAlgorithm | |
void | findNodesWithNegativeCoefficients (base::DataVector &alpha, std::vector< size_t > &negativeGridPoints, double tol=-1e-14) |
Extract grid points with negative coefficient. More... | |
Protected Attributes inherited from sgpp::datadriven::OperationMakePositiveCandidateSetAlgorithm | |
base::DataVector | costsPerIteration |
comparison costs per iteration More... | |
base::DataVector | gridPointsPerLevel |
candiddate grid points per level More... | |
size_t | iteration |
iteration counter More... | |
size_t | maxLevel |
maximum full grid level for the candidate set More... | |
bool | verbose |
verbosity level More... | |
|
explicit |
|
virtual |
|
overridevirtual |
Load the next candidate set that contains grid points with the currently explored levelsum.
grid | current sparse grid that needs to be extended |
alpha | corresponding coefficient vector |
levelSum | current levelsum to be explored |
candidates | vector that contains the candidate set for the current levelsum |
Implements sgpp::datadriven::OperationMakePositiveCandidateSetAlgorithm.
References sgpp::base::HashGridStorage::getDimension(), sgpp::base::HashGridStorage::getMaxLevel(), sgpp::base::HashGridStorage::getPoint(), sgpp::base::HashGridStorage::getSize(), sgpp::datadriven::OperationMakePositiveCandidateSetAlgorithm::gridPointsPerLevel, python.statsfileInfo::i, sgpp::datadriven::OperationMakePositiveCandidateSetAlgorithm::iteration, sgpp::datadriven::OperationMakePositiveCandidateSetAlgorithm::maxLevel, and sgpp::base::DataVector::setAll().
|
overridevirtual |
Implements sgpp::datadriven::OperationMakePositiveCandidateSetAlgorithm.
|
overridevirtual |
Implements sgpp::datadriven::OperationMakePositiveCandidateSetAlgorithm.