![]() |
SG++-Doxygen-Documentation
|
the AveragingLevelManager from holzmudd's combigrid module: The priority returned is the average of delta divided by the number of grid points (as a measure for work intensity) over all the predecessor grids. More...
#include <AveragingPriorityEstimator.hpp>
Public Member Functions | |
AveragingPriorityEstimator (FullGrid::LevelOccupancy levelOccupancy=FullGrid::LevelOccupancy::TwoToThePowerOfL) | |
double | estimatePriority (const LevelVector &levelVector, const std::map< LevelVector, double > &deltasOfDownwardNeighbors) const override |
get a priority estimate based on the downward neighbors' deltas | |
![]() | |
virtual | ~PriorityEstimator () |
empty virtual destructor | |
the AveragingLevelManager from holzmudd's combigrid module: The priority returned is the average of delta divided by the number of grid points (as a measure for work intensity) over all the predecessor grids.
sgpp::combigrid::AveragingPriorityEstimator::AveragingPriorityEstimator | ( | FullGrid::LevelOccupancy | levelOccupancy = FullGrid::LevelOccupancy::TwoToThePowerOfL | ) |
|
overridevirtual |
get a priority estimate based on the downward neighbors' deltas
levelVector | the level of the level vector considered |
deltasOfDownwardNeighbors | the levels and deltas of the downward neighbors of levelVector |
Implements sgpp::combigrid::PriorityEstimator.
References sgpp::combigrid::FullGrid::getNumberOfPointsFromLevel().