#include <array>
#include <set>
#include <vector>
#include "autopas/options/ContainerOption.h"
#include "autopas/options/LoadEstimatorOption.h"
#include "autopas/options/TraversalOption.h"
Go to the source code of this file.
Namespaces | |
namespace | autopas |
This is the main namespace of AutoPas. | |
namespace | autopas::loadEstimators |
Collection of functions for estimating the load required to update a specific region within a containers. | |
Functions | |
static std::set< autopas::LoadEstimatorOption > | autopas::loadEstimators::allCompatibleLoadEstimators (autopas::ContainerOption container) |
Returns set of load estimators compatible with the container. | |
static bool | autopas::loadEstimators::usesLoadEstimator (autopas::TraversalOption traversal) |
returns whether or not the given traversal uses load estimation. | |
static std::set< autopas::LoadEstimatorOption > | autopas::loadEstimators::getApplicableLoadEstimators (autopas::ContainerOption container, autopas::TraversalOption traversal, const std::set< autopas::LoadEstimatorOption > &allowedOptions) |
If traversal uses load estimation, returns all load estimators in allowedOptions, that are compatible with the container, but always allows none if the intersection is empty. | |