31 case ContainerOption::linkedCells: {
35 case ContainerOption::verletListsCells: {
40 case ContainerOption::verletClusterLists: {
44 return std::set<autopas::LoadEstimatorOption>{};
57 case TraversalOption::lc_sliced_balanced:
59 case TraversalOption::vcl_sliced_balanced:
61 case TraversalOption::vlc_sliced_balanced: {
80 autopas::ContainerOption container, autopas::TraversalOption traversal,
81 const std::set<autopas::LoadEstimatorOption> &allowedOptions) {
84 std::set<autopas::LoadEstimatorOption> intersection;
85 std::set_intersection(allowedOptions.begin(), allowedOptions.end(), compatible.begin(), compatible.end(),
86 std::inserter(intersection, intersection.begin()));
87 if (not intersection.empty()) {
@ squaredParticlesPerCell
Number of particles per cell squared.
Definition: LoadEstimatorOption.h:31
@ neighborListLength
Sum of neighbor list lengths.
Definition: LoadEstimatorOption.h:35
@ none
No load estimator.
Definition: LoadEstimatorOption.h:27
Collection of functions for estimating the load required to update a specific region within a contain...
Definition: CompatibleLoadEstimators.h:21
static std::set< autopas::LoadEstimatorOption > allCompatibleLoadEstimators(autopas::ContainerOption container)
Returns set of load estimators compatible with the container.
Definition: CompatibleLoadEstimators.h:29
static std::set< autopas::LoadEstimatorOption > 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...
Definition: CompatibleLoadEstimators.h:79
static bool usesLoadEstimator(autopas::TraversalOption traversal)
returns whether or not the given traversal uses load estimation.
Definition: CompatibleLoadEstimators.h:55