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

#include <OperationLimitFunctionValueRange.hpp>

Public Member Functions

void doLimitation (base::Grid &grid, base::DataVector &alpha, double ylower, double yupper, bool limitNodalValues=true)
 
void doLowerLimitation (base::Grid &grid, base::DataVector &alpha, double ylower, bool limitNodalValues=true)
 
void doUpperLimitation (base::Grid &grid, base::DataVector &alpha, double yupper, bool limitNodalValues=true)
 
std::vector< size_t > & getAddedGridPoints ()
 
std::vector< size_t > & getAddedGridPointsForRangeLimitation ()
 
size_t numAddedGridPoints ()
 
size_t numAddedGridPointsForRangeLimitation ()
 
 OperationLimitFunctionValueRange (datadriven::MakePositiveCandidateSearchAlgorithm candiateSearch=MakePositiveCandidateSearchAlgorithm::Intersections, datadriven::MakePositiveInterpolationAlgorithm interpolationAlgorithm=MakePositiveInterpolationAlgorithm::SetToZero, bool verbose=false, sgpp::optimization::ScalarFunction *f=nullptr)
 
virtual ~OperationLimitFunctionValueRange ()
 

Constructor & Destructor Documentation

sgpp::datadriven::OperationLimitFunctionValueRange::OperationLimitFunctionValueRange ( datadriven::MakePositiveCandidateSearchAlgorithm  candiateSearch = MakePositiveCandidateSearchAlgorithm::Intersections,
datadriven::MakePositiveInterpolationAlgorithm  interpolationAlgorithm = MakePositiveInterpolationAlgorithm::SetToZero,
bool  verbose = false,
sgpp::optimization::ScalarFunction f = nullptr 
)
sgpp::datadriven::OperationLimitFunctionValueRange::~OperationLimitFunctionValueRange ( )
virtual

References alpha, and grid().

Member Function Documentation

void sgpp::datadriven::OperationLimitFunctionValueRange::doLimitation ( base::Grid grid,
base::DataVector alpha,
double  ylower,
double  yupper,
bool  limitNodalValues = true 
)
void sgpp::datadriven::OperationLimitFunctionValueRange::doLowerLimitation ( base::Grid grid,
base::DataVector alpha,
double  ylower,
bool  limitNodalValues = true 
)

Referenced by doLimitation().

void sgpp::datadriven::OperationLimitFunctionValueRange::doUpperLimitation ( base::Grid grid,
base::DataVector alpha,
double  yupper,
bool  limitNodalValues = true 
)

Referenced by doLimitation().

std::vector< size_t > & sgpp::datadriven::OperationLimitFunctionValueRange::getAddedGridPoints ( )
Returns
vector containing the indices of the added grid points
std::vector< size_t > & sgpp::datadriven::OperationLimitFunctionValueRange::getAddedGridPointsForRangeLimitation ( )
Returns
vector containing the indices which have just been added for range limiting
size_t sgpp::datadriven::OperationLimitFunctionValueRange::numAddedGridPoints ( )
Returns
number of newly added grid points
size_t sgpp::datadriven::OperationLimitFunctionValueRange::numAddedGridPointsForRangeLimitation ( )
Returns
number of newly added grid points for guaranteeing the range

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