SG++-Doxygen-Documentation
|
The Tree does not contain single elements of T in its leafs. More...
#include <LowestTreeStorageNode.hpp>
Public Member Functions | |
virtual bool | containsIndex (MultiIndex const &index, size_t depth=0) const |
void | ensureVectorEntry (size_t currentIndex) |
Helper function that fills elements and statusVector until they contain the given index. More... | |
virtual T & | get (MultiIndex const &index, size_t depth=0) |
virtual bool | isLeaf () const |
LowestTreeStorageNode (TreeStorageContext< T > &context) | |
virtual size_t | numChildren () const |
virtual void | set (MultiIndex const &index, T const &value, size_t depth=0) |
virtual | ~LowestTreeStorageNode () |
Public Member Functions inherited from sgpp::combigrid::AbstractTreeStorageNode< T > | |
virtual | ~AbstractTreeStorageNode () |
Public Attributes | |
TreeStorageContext< T > & | context |
std::vector< T > | elements |
std::vector< StorageStatus > | statusVector |
The Tree does not contain single elements of T in its leafs.
For efficiency reasons, the lowest Node contains a vector of T's instead. See also InternalTreeStorageNode.
|
inlineexplicit |
|
inlinevirtual |
|
inlinevirtual |
index | Multi-index indicating the storage position. |
depth | Level of the node in the tree, starting from zero. |
Implements sgpp::combigrid::AbstractTreeStorageNode< T >.
References sgpp::combigrid::STORED.
|
inline |
Helper function that fills elements and statusVector until they contain the given index.
References sgpp::combigrid::NOT_STORED.
Referenced by sgpp::combigrid::LowestTreeStorageNode< T >::get(), sgpp::combigrid::TreeStorageGuidedIterator< T >::requestComputationTask(), and sgpp::combigrid::LowestTreeStorageNode< T >::set().
|
inlinevirtual |
index | Index of the value to get. |
depth | Depth of the node, starting from zero. |
Implements sgpp::combigrid::AbstractTreeStorageNode< T >.
References sgpp::combigrid::LowestTreeStorageNode< T >::ensureVectorEntry(), sgpp::combigrid::TreeStorageContext< T >::func, and sgpp::combigrid::STORED.
Referenced by sgpp::combigrid::TreeStorageGuidedIterator< T >::value().
|
inlinevirtual |
Implements sgpp::combigrid::AbstractTreeStorageNode< T >.
|
inlinevirtual |
Implements sgpp::combigrid::AbstractTreeStorageNode< T >.
References create_scripts::s, and sgpp::combigrid::STORED.
|
inlinevirtual |
index | Index of the value to set. |
value | Value to set. |
depth | Depth of the node, starting from zero. |
Implements sgpp::combigrid::AbstractTreeStorageNode< T >.
References sgpp::combigrid::LowestTreeStorageNode< T >::ensureVectorEntry(), and sgpp::combigrid::STORED.
Referenced by sgpp::combigrid::TreeStorageGuidedIterator< T >::setValue().
TreeStorageContext<T>& sgpp::combigrid::LowestTreeStorageNode< T >::context |
std::vector<T> sgpp::combigrid::LowestTreeStorageNode< T >::elements |
std::vector<StorageStatus> sgpp::combigrid::LowestTreeStorageNode< T >::statusVector |