SG++-Doxygen-Documentation
|
Container for the index_vectors of a subspace. More...
#include <IndexInSubspaceGenerator.hpp>
Classes | |
class | iterator |
Iterator class compatible with STL forward iterator (no const iterator) More... | |
Public Types | |
typedef std::shared_ptr< value_type > | pointer_type |
typedef std::pair< pointer_type, size_t > | queue_value_type |
typedef std::vector< index_t > | value_type |
Public Member Functions | |
iterator | begin () |
returns an iterator to the beginning More... | |
iterator | end () |
returns an iterator to the end; More... | |
IndexInSubspaceGenerator (const value_type &level_vector) | |
Constructor. More... | |
~IndexInSubspaceGenerator () | |
Destructor. More... | |
Container for the index_vectors of a subspace.
The subclass iterator implements the STL forward iterator
The indices are generated on the fly and hence only one iterator instance can be possible (second call to begin() will empty the working queue)
typedef std::shared_ptr<value_type> sgpp::base::IndexInSubspaceGenerator::pointer_type |
typedef std::pair<pointer_type, size_t> sgpp::base::IndexInSubspaceGenerator::queue_value_type |
typedef std::vector<index_t> sgpp::base::IndexInSubspaceGenerator::value_type |
|
explicit |
Constructor.
level_vector | std::vector<int> with the level vector of the subspace |
|
inline |
Destructor.
IndexInSubspaceGenerator::iterator sgpp::base::IndexInSubspaceGenerator::begin | ( | ) |
returns an iterator to the beginning
References python.statsfileInfo::i.
Referenced by sgpp::base::IndexInSubspaceGenerator::iterator::operator!=(), and sgpp::base::SubspaceRefinement::refineGridpointsCollection().
|
inline |
returns an iterator to the end;
References sgpp::base::IndexInSubspaceGenerator::iterator::iterator().
Referenced by sgpp::base::SubspaceRefinement::refineGridpointsCollection().