SG++-Doxygen-Documentation
sgpp::combigrid::SortedPermutationIterator Class Reference

Sorted-permutation-iterator (e.g. More...

#include <SortedPermutationIterator.hpp>

Inheritance diagram for sgpp::combigrid::SortedPermutationIterator:
sgpp::combigrid::AbstractPermutationIterator

Public Member Functions

virtual std::shared_ptr< AbstractPermutationIteratorclone ()
 
virtual void moveToNext ()
 Go to next element of the permutation. More...
 
virtual void reset ()
 Sets the iterator back to the start. More...
 
 SortedPermutationIterator (std::vector< double > const &points, size_t numPoints)
 
virtual size_t value ()
 Current value of the permutation. More...
 
virtual ~SortedPermutationIterator ()
 
- Public Member Functions inherited from sgpp::combigrid::AbstractPermutationIterator
virtual ~AbstractPermutationIterator ()
 

Detailed Description

Sorted-permutation-iterator (e.g.

for IdentityPointOrdering), using a sorting algorithm to determine the correct order.

Constructor & Destructor Documentation

sgpp::combigrid::SortedPermutationIterator::SortedPermutationIterator ( std::vector< double > const &  points,
size_t  numPoints 
)
sgpp::combigrid::SortedPermutationIterator::~SortedPermutationIterator ( )
virtual

Member Function Documentation

std::shared_ptr< AbstractPermutationIterator > sgpp::combigrid::SortedPermutationIterator::clone ( )
virtual
void sgpp::combigrid::SortedPermutationIterator::moveToNext ( )
virtual

Go to next element of the permutation.

Implements sgpp::combigrid::AbstractPermutationIterator.

void sgpp::combigrid::SortedPermutationIterator::reset ( )
virtual

Sets the iterator back to the start.

Implements sgpp::combigrid::AbstractPermutationIterator.

size_t sgpp::combigrid::SortedPermutationIterator::value ( )
virtual

Current value of the permutation.

Implements sgpp::combigrid::AbstractPermutationIterator.


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