This strategy spreads the configuration queue in a round robin fashion over all ranks (with similar domain).
More...
|
| MPIParallelizedStrategy (const Configuration &fallbackConfiguration, const AutoPas_MPI_Comm &comm, double mpiTuningMaxDifferenceForBucket, double mpiTuningWeightForMaxDensity) |
| Constructor.
|
|
TuningStrategyOption | getOptionType () const override |
| Get this object's associated TuningStrategyOption type.
|
|
bool | optimizeSuggestions (std::vector< Configuration > &configQueue, const EvidenceCollection &evidenceCollection) override |
| Optimizes the queue of configurations to process.
|
|
void | receiveDomainSimilarityStatistics (double pdBinStdDevDensity, double pdBinMaxDensity) override |
| Method to pass smoothed domain similarity statistics (particle-dependent bin standard deviation in density and max density) to the tuning strategy.
|
|
bool | reset (size_t iteration, size_t tuningPhase, std::vector< Configuration > &configQueue, const autopas::EvidenceCollection &evidenceCollection) override |
| Reset all internal parameters to the beginning of a new tuning phase.
|
|
bool | needsDomainSimilarityStatistics () const override |
| Indicate whether the strategy needs domain similarity statistics.
|
|
void | rejectConfiguration (const Configuration &configuration, bool indefinitely) override |
| Notify the strategy about a configuration that is (currently) invalid and thus can potentially be dropped from some internal storage.
|
|
const AutoPas_MPI_Comm & | getBucket () const |
| Get the MPI communicator for this rank's bucket.
|
|
virtual TuningStrategyOption | getOptionType () const =0 |
| Get this object's associated TuningStrategyOption type.
|
|
virtual void | addEvidence (const Configuration &configuration, const Evidence &evidence) |
| Notifies the strategy about empirically collected information for the given configuration.
|
|
virtual bool | optimizeSuggestions (std::vector< Configuration > &configQueue, const EvidenceCollection &evidenceCollection)=0 |
| Optimizes the queue of configurations to process.
|
|
virtual bool | reset (size_t iteration, size_t tuningPhase, std::vector< Configuration > &configQueue, const autopas::EvidenceCollection &evidenceCollection)=0 |
| Reset all internal parameters to the beginning of a new tuning phase.
|
|
virtual bool | needsLiveInfo () const |
| Returns whether this tuning strategy wants to get a LiveInfo object passed before a new tuning phase.
|
|
virtual void | receiveLiveInfo (const LiveInfo &info) |
| Virtual method that subclasses can override to receive the LiveInfo object before a tuning phase if they return true in needsLiveInfo().
|
|
virtual void | rejectConfiguration (const Configuration &configuration, bool indefinitely) |
| Notify the strategy about a configuration that is (currently) invalid and thus can potentially be dropped from some internal storage.
|
|
virtual bool | needsDomainSimilarityStatistics () const |
| Indicate whether the strategy needs domain similarity statistics.
|
|
virtual void | receiveDomainSimilarityStatistics (double pdBinStdDevDensity, double pdBinMaxDensity) |
| Method to pass smoothed domain similarity statistics (particle-dependent bin standard deviation in density and max density) to the tuning strategy.
|
|
This strategy spreads the configuration queue in a round robin fashion over all ranks (with similar domain).
The actual splitting of the search space and details of the communication logic is not currently handled by this class, but by AutoPasConfigurationCommunicator.