diff --git a/doxygen_documentation/git-master/AutoPasDecl_8h_source.html b/doxygen_documentation/git-master/AutoPasDecl_8h_source.html index d0a81b80d..ca0674c3b 100644 --- a/doxygen_documentation/git-master/AutoPasDecl_8h_source.html +++ b/doxygen_documentation/git-master/AutoPasDecl_8h_source.html @@ -411,216 +411,220 @@
690
695 void setNumSamples(unsigned int numSamples) { _autoTunerInfo.maxSamples = numSamples; }
696
-
701 [[nodiscard]] unsigned int getMaxEvidence() const { return _tuningStrategyFactoryInfo.maxEvidence; }
+
701 [[nodiscard]] bool getUseLOESSSmoothening() const { return _autoTunerInfo.useLOESSSmoothening; }
702
-
707 void setMaxEvidence(unsigned int maxEvidence) { _tuningStrategyFactoryInfo.maxEvidence = maxEvidence; }
+
707 void setUseLOESSSmoothening(bool useLOESSSmoothening) { _autoTunerInfo.useLOESSSmoothening = useLOESSSmoothening; }
708
-
713 [[nodiscard]] double getRelativeOptimumRange() const { return _tuningStrategyFactoryInfo.relativeOptimumRange; }
+
713 [[nodiscard]] unsigned int getMaxEvidence() const { return _tuningStrategyFactoryInfo.maxEvidence; }
714
-
719 void setRelativeOptimumRange(double relativeOptimumRange) {
-
720 _tuningStrategyFactoryInfo.relativeOptimumRange = relativeOptimumRange;
-
721 }
-
722
-
727 [[nodiscard]] unsigned int getMaxTuningPhasesWithoutTest() const {
-
728 return _tuningStrategyFactoryInfo.maxTuningPhasesWithoutTest;
-
729 }
-
730
-
735 void setMaxTuningPhasesWithoutTest(unsigned int maxTuningPhasesWithoutTest) {
-
736 _tuningStrategyFactoryInfo.maxTuningPhasesWithoutTest = maxTuningPhasesWithoutTest;
-
737 }
-
738
-
744 [[nodiscard]] double getRelativeBlacklistRange() const { return _tuningStrategyFactoryInfo.relativeBlacklistRange; }
-
745
-
750 void setRelativeBlacklistRange(double relativeBlacklistRange) {
-
751 _tuningStrategyFactoryInfo.relativeBlacklistRange = relativeBlacklistRange;
-
752 }
-
753
-
759 [[nodiscard]] unsigned int getEvidenceFirstPrediction() const {
-
760 return _tuningStrategyFactoryInfo.minNumberOfEvidence;
-
761 }
-
762
-
768 void setEvidenceFirstPrediction(unsigned int evidenceFirstPrediction) {
-
769 _tuningStrategyFactoryInfo.minNumberOfEvidence = evidenceFirstPrediction;
-
770 }
-
771
-
776 [[nodiscard]] AcquisitionFunctionOption getAcquisitionFunction() const {
-
777 return _tuningStrategyFactoryInfo.acquisitionFunctionOption;
-
778 }
-
779
-
786 void setAcquisitionFunction(AcquisitionFunctionOption acqFun) {
-
787 _tuningStrategyFactoryInfo.acquisitionFunctionOption = acqFun;
-
788 }
-
789
-
794 ExtrapolationMethodOption getExtrapolationMethodOption() const {
-
795 return _tuningStrategyFactoryInfo.extrapolationMethodOption;
-
796 }
-
797
-
802 void setExtrapolationMethodOption(ExtrapolationMethodOption extrapolationMethodOption) {
-
803 _tuningStrategyFactoryInfo.extrapolationMethodOption = extrapolationMethodOption;
-
804 }
-
805
-
810 [[nodiscard]] SelectorStrategyOption getSelectorStrategy() const { return _autoTunerInfo.selectorStrategy; }
-
811
-
817 void setSelectorStrategy(SelectorStrategyOption selectorStrategy) {
-
818 _autoTunerInfo.selectorStrategy = selectorStrategy;
-
819 }
-
820
-
825 const std::set<LoadEstimatorOption> &getAllowedLoadEstimators() const { return _allowedLoadEstimators; }
-
826
-
832 void setAllowedLoadEstimators(const std::set<LoadEstimatorOption> &allowedLoadEstimators) {
-
833 _allowedLoadEstimators = allowedLoadEstimators;
-
834 }
-
835
-
840 [[nodiscard]] const std::set<ContainerOption> &getAllowedContainers() const { return _allowedContainers; }
-
841
-
847 void setAllowedContainers(const std::set<ContainerOption> &allowedContainers) {
-
848 _allowedContainers = allowedContainers;
-
849 }
-
850
-
857 [[nodiscard]] const std::set<TraversalOption> &getAllowedTraversals(
-
858 const InteractionTypeOption interactionType = InteractionTypeOption::pairwise) const {
-
859 return _allowedTraversals.at(interactionType);
-
860 }
-
861
-
869 void setAllowedTraversals(const std::set<TraversalOption> &allowedTraversals,
-
870 const InteractionTypeOption interactionType = InteractionTypeOption::pairwise) {
-
871 if (interactionType == InteractionTypeOption::all) {
-
872 for (auto iType : InteractionTypeOption::getMostOptions()) {
-
873 _allowedTraversals[iType] = allowedTraversals;
-
874 }
-
875 } else {
-
876 _allowedTraversals[interactionType] = allowedTraversals;
-
877 }
-
878 }
-
879
-
886 [[nodiscard]] const std::set<DataLayoutOption> &getAllowedDataLayouts(
-
887 const InteractionTypeOption interactionType = InteractionTypeOption::pairwise) const {
-
888 return _allowedDataLayouts.at(interactionType);
-
889 }
-
890
-
898 void setAllowedDataLayouts(const std::set<DataLayoutOption> &allowedDataLayouts,
-
899 const InteractionTypeOption interactionType = InteractionTypeOption::pairwise) {
-
900 if (interactionType == InteractionTypeOption::all) {
-
901 for (auto iType : InteractionTypeOption::getMostOptions()) {
-
902 _allowedDataLayouts[iType] = allowedDataLayouts;
-
903 }
-
904 } else {
-
905 _allowedDataLayouts[interactionType] = allowedDataLayouts;
-
906 }
-
907 }
-
908
-
915 [[nodiscard]] const std::set<Newton3Option> &getAllowedNewton3Options(
-
916 const InteractionTypeOption interactionType = InteractionTypeOption::pairwise) const {
-
917 return _allowedNewton3Options.at(interactionType);
-
918 }
-
919
-
927 void setAllowedNewton3Options(const std::set<Newton3Option> &allowedNewton3Options,
-
928 const InteractionTypeOption interactionType = InteractionTypeOption::pairwise) {
-
929 if (interactionType == InteractionTypeOption::all) {
-
930 for (auto iType : InteractionTypeOption::getMostOptions()) {
-
931 _allowedNewton3Options[iType] = allowedNewton3Options;
-
932 }
-
933 } else {
-
934 _allowedNewton3Options[interactionType] = allowedNewton3Options;
-
935 }
-
936 }
-
937
-
944 void setAllowedInteractionTypeOptions(const std::set<InteractionTypeOption> &allowedInteractionTypeOptions) {
-
945 _allowedInteractionTypeOptions = allowedInteractionTypeOptions;
-
946 }
-
947
-
952 [[nodiscard]] std::unordered_map<InteractionTypeOption::Value, std::reference_wrapper<const Configuration>>
-
953 getCurrentConfigs() const {
-
954 std::unordered_map<InteractionTypeOption::Value, std::reference_wrapper<const Configuration>> currentConfigs;
-
955 currentConfigs.reserve(_autoTuners.size());
-
956
-
957 for (const auto &[type, tuner] : _autoTuners) {
-
958 currentConfigs.emplace(type, std::cref(tuner->getCurrentConfig()));
-
959 }
-
960 return currentConfigs;
-
961 }
-
962
-
967 [[nodiscard]] const std::vector<TuningStrategyOption> &getTuningStrategyOptions() const {
-
968 return _tuningStrategyOptions;
-
969 }
-
970
-
976 void setTuningStrategyOption(const std::vector<TuningStrategyOption> &tuningStrategyOptions) {
-
977 _tuningStrategyOptions = tuningStrategyOptions;
-
978 }
-
979
-
984 [[nodiscard]] const TuningMetricOption &getTuningMetricOption() const { return _autoTunerInfo.tuningMetric; }
-
985
-
991 void setTuningMetricOption(TuningMetricOption tuningMetricOption) {
-
992 _autoTunerInfo.tuningMetric = tuningMetricOption;
-
993 }
-
994
-
999 void setMPITuningMaxDifferenceForBucket(double MPITuningMaxDifferenceForBucket) {
-
1000 _tuningStrategyFactoryInfo.mpiTuningMaxDifferenceForBucket = MPITuningMaxDifferenceForBucket;
-
1001 }
-
1002
-
1007 void setMPITuningWeightForMaxDensity(double MPITuningWeightForMaxDensity) {
-
1008 _tuningStrategyFactoryInfo.mpiTuningWeightForMaxDensity = MPITuningWeightForMaxDensity;
-
1009 }
-
1010
-
1011// Only define the interface for the MPI communicator if AUTOPAS_INCLUDE_MPI=ON
-
1012// The internal implementation will use _autopasMPICommunicator with WrapMPI regardless of AUTOPAS_INCLUDE_MPI
-
1013#if defined(AUTOPAS_INCLUDE_MPI)
-
1019 void setMPICommunicator(MPI_Comm comm) { _tuningStrategyFactoryInfo.autopasMpiCommunicator = comm; }
-
1020
-
1025 MPI_Comm getMPICommunicator() { return _tuningStrategyFactoryInfo.autopasMpiCommunicator; }
-
1026#endif
-
1027
-
1033 void setOutputSuffix(const std::string &suffix) { _outputSuffix = suffix; }
-
1034
-
1039 void setUseTuningLogger(bool useTuningLogger) { _useTuningStrategyLoggerProxy = useTuningLogger; }
-
1040
-
1045 void setRuleFileName(const std::string &ruleFileName) { _tuningStrategyFactoryInfo.ruleFileName = ruleFileName; }
+
719 void setMaxEvidence(unsigned int maxEvidence) { _tuningStrategyFactoryInfo.maxEvidence = maxEvidence; }
+
720
+
725 [[nodiscard]] double getRelativeOptimumRange() const { return _tuningStrategyFactoryInfo.relativeOptimumRange; }
+
726
+
731 void setRelativeOptimumRange(double relativeOptimumRange) {
+
732 _tuningStrategyFactoryInfo.relativeOptimumRange = relativeOptimumRange;
+
733 }
+
734
+
739 [[nodiscard]] unsigned int getMaxTuningPhasesWithoutTest() const {
+
740 return _tuningStrategyFactoryInfo.maxTuningPhasesWithoutTest;
+
741 }
+
742
+
747 void setMaxTuningPhasesWithoutTest(unsigned int maxTuningPhasesWithoutTest) {
+
748 _tuningStrategyFactoryInfo.maxTuningPhasesWithoutTest = maxTuningPhasesWithoutTest;
+
749 }
+
750
+
756 [[nodiscard]] double getRelativeBlacklistRange() const { return _tuningStrategyFactoryInfo.relativeBlacklistRange; }
+
757
+
762 void setRelativeBlacklistRange(double relativeBlacklistRange) {
+
763 _tuningStrategyFactoryInfo.relativeBlacklistRange = relativeBlacklistRange;
+
764 }
+
765
+
771 [[nodiscard]] unsigned int getEvidenceFirstPrediction() const {
+
772 return _tuningStrategyFactoryInfo.minNumberOfEvidence;
+
773 }
+
774
+
780 void setEvidenceFirstPrediction(unsigned int evidenceFirstPrediction) {
+
781 _tuningStrategyFactoryInfo.minNumberOfEvidence = evidenceFirstPrediction;
+
782 }
+
783
+
788 [[nodiscard]] AcquisitionFunctionOption getAcquisitionFunction() const {
+
789 return _tuningStrategyFactoryInfo.acquisitionFunctionOption;
+
790 }
+
791
+
798 void setAcquisitionFunction(AcquisitionFunctionOption acqFun) {
+
799 _tuningStrategyFactoryInfo.acquisitionFunctionOption = acqFun;
+
800 }
+
801
+
806 ExtrapolationMethodOption getExtrapolationMethodOption() const {
+
807 return _tuningStrategyFactoryInfo.extrapolationMethodOption;
+
808 }
+
809
+
814 void setExtrapolationMethodOption(ExtrapolationMethodOption extrapolationMethodOption) {
+
815 _tuningStrategyFactoryInfo.extrapolationMethodOption = extrapolationMethodOption;
+
816 }
+
817
+
822 [[nodiscard]] SelectorStrategyOption getSelectorStrategy() const { return _autoTunerInfo.selectorStrategy; }
+
823
+
829 void setSelectorStrategy(SelectorStrategyOption selectorStrategy) {
+
830 _autoTunerInfo.selectorStrategy = selectorStrategy;
+
831 }
+
832
+
837 const std::set<LoadEstimatorOption> &getAllowedLoadEstimators() const { return _allowedLoadEstimators; }
+
838
+
844 void setAllowedLoadEstimators(const std::set<LoadEstimatorOption> &allowedLoadEstimators) {
+
845 _allowedLoadEstimators = allowedLoadEstimators;
+
846 }
+
847
+
852 [[nodiscard]] const std::set<ContainerOption> &getAllowedContainers() const { return _allowedContainers; }
+
853
+
859 void setAllowedContainers(const std::set<ContainerOption> &allowedContainers) {
+
860 _allowedContainers = allowedContainers;
+
861 }
+
862
+
869 [[nodiscard]] const std::set<TraversalOption> &getAllowedTraversals(
+
870 const InteractionTypeOption interactionType = InteractionTypeOption::pairwise) const {
+
871 return _allowedTraversals.at(interactionType);
+
872 }
+
873
+
881 void setAllowedTraversals(const std::set<TraversalOption> &allowedTraversals,
+
882 const InteractionTypeOption interactionType = InteractionTypeOption::pairwise) {
+
883 if (interactionType == InteractionTypeOption::all) {
+
884 for (auto iType : InteractionTypeOption::getMostOptions()) {
+
885 _allowedTraversals[iType] = allowedTraversals;
+
886 }
+
887 } else {
+
888 _allowedTraversals[interactionType] = allowedTraversals;
+
889 }
+
890 }
+
891
+
898 [[nodiscard]] const std::set<DataLayoutOption> &getAllowedDataLayouts(
+
899 const InteractionTypeOption interactionType = InteractionTypeOption::pairwise) const {
+
900 return _allowedDataLayouts.at(interactionType);
+
901 }
+
902
+
910 void setAllowedDataLayouts(const std::set<DataLayoutOption> &allowedDataLayouts,
+
911 const InteractionTypeOption interactionType = InteractionTypeOption::pairwise) {
+
912 if (interactionType == InteractionTypeOption::all) {
+
913 for (auto iType : InteractionTypeOption::getMostOptions()) {
+
914 _allowedDataLayouts[iType] = allowedDataLayouts;
+
915 }
+
916 } else {
+
917 _allowedDataLayouts[interactionType] = allowedDataLayouts;
+
918 }
+
919 }
+
920
+
927 [[nodiscard]] const std::set<Newton3Option> &getAllowedNewton3Options(
+
928 const InteractionTypeOption interactionType = InteractionTypeOption::pairwise) const {
+
929 return _allowedNewton3Options.at(interactionType);
+
930 }
+
931
+
939 void setAllowedNewton3Options(const std::set<Newton3Option> &allowedNewton3Options,
+
940 const InteractionTypeOption interactionType = InteractionTypeOption::pairwise) {
+
941 if (interactionType == InteractionTypeOption::all) {
+
942 for (auto iType : InteractionTypeOption::getMostOptions()) {
+
943 _allowedNewton3Options[iType] = allowedNewton3Options;
+
944 }
+
945 } else {
+
946 _allowedNewton3Options[interactionType] = allowedNewton3Options;
+
947 }
+
948 }
+
949
+
956 void setAllowedInteractionTypeOptions(const std::set<InteractionTypeOption> &allowedInteractionTypeOptions) {
+
957 _allowedInteractionTypeOptions = allowedInteractionTypeOptions;
+
958 }
+
959
+
964 [[nodiscard]] std::unordered_map<InteractionTypeOption::Value, std::reference_wrapper<const Configuration>>
+
965 getCurrentConfigs() const {
+
966 std::unordered_map<InteractionTypeOption::Value, std::reference_wrapper<const Configuration>> currentConfigs;
+
967 currentConfigs.reserve(_autoTuners.size());
+
968
+
969 for (const auto &[type, tuner] : _autoTuners) {
+
970 currentConfigs.emplace(type, std::cref(tuner->getCurrentConfig()));
+
971 }
+
972 return currentConfigs;
+
973 }
+
974
+
979 [[nodiscard]] const std::vector<TuningStrategyOption> &getTuningStrategyOptions() const {
+
980 return _tuningStrategyOptions;
+
981 }
+
982
+
988 void setTuningStrategyOption(const std::vector<TuningStrategyOption> &tuningStrategyOptions) {
+
989 _tuningStrategyOptions = tuningStrategyOptions;
+
990 }
+
991
+
996 [[nodiscard]] const TuningMetricOption &getTuningMetricOption() const { return _autoTunerInfo.tuningMetric; }
+
997
+
1003 void setTuningMetricOption(TuningMetricOption tuningMetricOption) {
+
1004 _autoTunerInfo.tuningMetric = tuningMetricOption;
+
1005 }
+
1006
+
1011 void setMPITuningMaxDifferenceForBucket(double MPITuningMaxDifferenceForBucket) {
+
1012 _tuningStrategyFactoryInfo.mpiTuningMaxDifferenceForBucket = MPITuningMaxDifferenceForBucket;
+
1013 }
+
1014
+
1019 void setMPITuningWeightForMaxDensity(double MPITuningWeightForMaxDensity) {
+
1020 _tuningStrategyFactoryInfo.mpiTuningWeightForMaxDensity = MPITuningWeightForMaxDensity;
+
1021 }
+
1022
+
1023// Only define the interface for the MPI communicator if AUTOPAS_INCLUDE_MPI=ON
+
1024// The internal implementation will use _autopasMPICommunicator with WrapMPI regardless of AUTOPAS_INCLUDE_MPI
+
1025#if defined(AUTOPAS_INCLUDE_MPI)
+
1031 void setMPICommunicator(MPI_Comm comm) { _tuningStrategyFactoryInfo.autopasMpiCommunicator = comm; }
+
1032
+
1037 MPI_Comm getMPICommunicator() { return _tuningStrategyFactoryInfo.autopasMpiCommunicator; }
+
1038#endif
+
1039
+
1045 void setOutputSuffix(const std::string &suffix) { _outputSuffix = suffix; }
1046
-
1051 void setFuzzyRuleFileName(const std::string &fuzzyRuleFileName) {
-
1052 _tuningStrategyFactoryInfo.fuzzyRuleFileName = fuzzyRuleFileName;
-
1053 }
-
1054
-
1059 const std::string &getRuleFileName() const { return _tuningStrategyFactoryInfo.ruleFileName; }
-
1060
-
1067 void setSortingThreshold(size_t sortingThreshold) { _sortingThreshold = sortingThreshold; }
-
1068
-
1073 size_t getSortingThreshold() const { return _sortingThreshold; }
-
1074
-
1075 private:
-
1076 autopas::ParticleContainerInterface<Particle> &getContainer();
-
1077
-
1078 const autopas::ParticleContainerInterface<Particle> &getContainer() const;
-
1082 TuningStrategyFactoryInfo _tuningStrategyFactoryInfo{};
-
1086 AutoTunerInfo _autoTunerInfo{};
-
1090 LogicHandlerInfo _logicHandlerInfo{};
-
1094 bool _useTuningStrategyLoggerProxy{false};
-
1098 unsigned int _verletRebuildFrequency{20};
-
1103 std::vector<TuningStrategyOption> _tuningStrategyOptions{};
-
1108 std::set<ContainerOption> _allowedContainers{ContainerOption::getMostOptions()};
-
1113 std::unordered_map<InteractionTypeOption::Value, std::set<TraversalOption>> _allowedTraversals{
-
1114 {InteractionTypeOption::pairwise, TraversalOption::getMostPairwiseOptions()},
-
1115 {InteractionTypeOption::triwise, TraversalOption::getMostTriwiseOptions()}};
-
1120 std::unordered_map<InteractionTypeOption::Value, std::set<DataLayoutOption>> _allowedDataLayouts{
-
1121 {InteractionTypeOption::pairwise, DataLayoutOption::getMostOptions()},
-
1122 {InteractionTypeOption::triwise, DataLayoutOption::getMostOptions()}};
-
1126 std::unordered_map<InteractionTypeOption::Value, std::set<Newton3Option>> _allowedNewton3Options{
-
1127 {InteractionTypeOption::pairwise, Newton3Option::getMostOptions()},
-
1128 {InteractionTypeOption::triwise, Newton3Option::getMostOptions()}};
-
1133 std::set<InteractionTypeOption> _allowedInteractionTypeOptions{InteractionTypeOption::pairwise};
-
1137 std::unique_ptr<NumberSet<double>> _allowedCellSizeFactors{
-
1138 std::make_unique<NumberSetFinite<double>>(std::set<double>({1.}))};
-
1143 std::set<LoadEstimatorOption> _allowedLoadEstimators{LoadEstimatorOption::getAllOptions()};
-
1147 std::unique_ptr<autopas::LogicHandler<Particle>> _logicHandler;
-
1148
-
1153 std::unordered_map<InteractionTypeOption::Value, std::unique_ptr<autopas::AutoTuner>> _autoTuners;
-
1154
-
1158 bool _externalMPICommunicator{false};
-
1163 std::string _outputSuffix{""};
-
1167 size_t _sortingThreshold{8};
-
1178 template <class F>
-
1179 void addParticlesAux(size_t numParticlesToAdd, size_t numHalosToAdd, size_t collectionSize, F loopBody);
-
1180}; // class AutoPas
-
1181} // namespace autopas
+
1051 void setUseTuningLogger(bool useTuningLogger) { _useTuningStrategyLoggerProxy = useTuningLogger; }
+
1052
+
1057 void setRuleFileName(const std::string &ruleFileName) { _tuningStrategyFactoryInfo.ruleFileName = ruleFileName; }
+
1058
+
1063 void setFuzzyRuleFileName(const std::string &fuzzyRuleFileName) {
+
1064 _tuningStrategyFactoryInfo.fuzzyRuleFileName = fuzzyRuleFileName;
+
1065 }
+
1066
+
1071 const std::string &getRuleFileName() const { return _tuningStrategyFactoryInfo.ruleFileName; }
+
1072
+
1079 void setSortingThreshold(size_t sortingThreshold) { _sortingThreshold = sortingThreshold; }
+
1080
+
1085 size_t getSortingThreshold() const { return _sortingThreshold; }
+
1086
+
1087 private:
+
1088 autopas::ParticleContainerInterface<Particle> &getContainer();
+
1089
+
1090 const autopas::ParticleContainerInterface<Particle> &getContainer() const;
+
1094 TuningStrategyFactoryInfo _tuningStrategyFactoryInfo{};
+
1098 AutoTunerInfo _autoTunerInfo{};
+
1102 LogicHandlerInfo _logicHandlerInfo{};
+
1106 bool _useTuningStrategyLoggerProxy{false};
+
1110 unsigned int _verletRebuildFrequency{20};
+
1115 std::vector<TuningStrategyOption> _tuningStrategyOptions{};
+
1120 std::set<ContainerOption> _allowedContainers{ContainerOption::getMostOptions()};
+
1125 std::unordered_map<InteractionTypeOption::Value, std::set<TraversalOption>> _allowedTraversals{
+
1126 {InteractionTypeOption::pairwise, TraversalOption::getMostPairwiseOptions()},
+
1127 {InteractionTypeOption::triwise, TraversalOption::getMostTriwiseOptions()}};
+
1132 std::unordered_map<InteractionTypeOption::Value, std::set<DataLayoutOption>> _allowedDataLayouts{
+
1133 {InteractionTypeOption::pairwise, DataLayoutOption::getMostOptions()},
+
1134 {InteractionTypeOption::triwise, DataLayoutOption::getMostOptions()}};
+
1138 std::unordered_map<InteractionTypeOption::Value, std::set<Newton3Option>> _allowedNewton3Options{
+
1139 {InteractionTypeOption::pairwise, Newton3Option::getMostOptions()},
+
1140 {InteractionTypeOption::triwise, Newton3Option::getMostOptions()}};
+
1145 std::set<InteractionTypeOption> _allowedInteractionTypeOptions{InteractionTypeOption::pairwise};
+
1149 std::unique_ptr<NumberSet<double>> _allowedCellSizeFactors{
+
1150 std::make_unique<NumberSetFinite<double>>(std::set<double>({1.}))};
+
1155 std::set<LoadEstimatorOption> _allowedLoadEstimators{LoadEstimatorOption::getAllOptions()};
+
1159 std::unique_ptr<autopas::LogicHandler<Particle>> _logicHandler;
+
1160
+
1165 std::unordered_map<InteractionTypeOption::Value, std::unique_ptr<autopas::AutoTuner>> _autoTuners;
+
1166
+
1170 bool _externalMPICommunicator{false};
+
1175 std::string _outputSuffix{""};
+
1179 size_t _sortingThreshold{8};
+
1190 template <class F>
+
1191 void addParticlesAux(size_t numParticlesToAdd, size_t numHalosToAdd, size_t collectionSize, F loopBody);
+
1192}; // class AutoPas
+
1193} // namespace autopas
AcquisitionFunctionOption.h
AutoTuner.h
Configuration.h
@@ -643,103 +647,105 @@
autopas::AutoPas
The AutoPas class is intended to be the main point of Interaction for the user.
Definition: AutoPasDecl.h:45
autopas::AutoPas::reduceParallel
void reduceParallel(Lambda reduceLambda, A &result, IteratorBehavior behavior=IteratorBehavior::ownedOrHalo)
Reduce properties of particles in parallel as defined by a lambda function.
Definition: AutoPasDecl.h:332
autopas::AutoPas::addParticle
void addParticle(const Particle &p)
Adds a particle to the container.
Definition: AutoPasImpl.h:192
-
autopas::AutoPas::setAllowedLoadEstimators
void setAllowedLoadEstimators(const std::set< LoadEstimatorOption > &allowedLoadEstimators)
Set the list of allowed load estimation algorithms.
Definition: AutoPasDecl.h:832
+
autopas::AutoPas::setAllowedLoadEstimators
void setAllowedLoadEstimators(const std::set< LoadEstimatorOption > &allowedLoadEstimators)
Set the list of allowed load estimation algorithms.
Definition: AutoPasDecl.h:844
autopas::AutoPas::IteratorT
autopas::ContainerIterator< Particle, true, false > IteratorT
Define the iterator type for ease of use.
Definition: AutoPasDecl.h:56
autopas::AutoPas::setAllowedCellSizeFactors
void setAllowedCellSizeFactors(const NumberSet< double > &allowedCellSizeFactors)
Set allowed cell size factors (only relevant for LinkedCells, VerletLists and VerletListsCells).
Definition: AutoPasDecl.h:615
autopas::AutoPas::deleteParticle
void deleteParticle(IteratorT &iter)
Deletes the particle behind the current iterator position and leaves the container in a valid state.
Definition: AutoPasImpl.h:289
autopas::AutoPas::getRegionIterator
RegionIteratorT getRegionIterator(const std::array< double, 3 > &lowerCorner, const std::array< double, 3 > &higherCorner, IteratorBehavior behavior=IteratorBehavior::ownedOrHalo)
Iterate over all particles in a specified region.
Definition: AutoPasImpl.h:322
-
autopas::AutoPas::setMPITuningWeightForMaxDensity
void setMPITuningWeightForMaxDensity(double MPITuningWeightForMaxDensity)
Setter for the maxDensity-Weight in calculation for bucket distribution.
Definition: AutoPasDecl.h:1007
+
autopas::AutoPas::setMPITuningWeightForMaxDensity
void setMPITuningWeightForMaxDensity(double MPITuningWeightForMaxDensity)
Setter for the maxDensity-Weight in calculation for bucket distribution.
Definition: AutoPasDecl.h:1019
autopas::AutoPas::reduceParallel
void reduceParallel(Lambda reduceLambda, A &result, IteratorBehavior behavior=IteratorBehavior::ownedOrHalo) const
Reduce properties of particles as defined by a lambda function.
Definition: AutoPasDecl.h:342
-
autopas::AutoPas::setAllowedContainers
void setAllowedContainers(const std::set< ContainerOption > &allowedContainers)
Set the list of allowed containers.
Definition: AutoPasDecl.h:847
+
autopas::AutoPas::setAllowedContainers
void setAllowedContainers(const std::set< ContainerOption > &allowedContainers)
Set the list of allowed containers.
Definition: AutoPasDecl.h:859
autopas::AutoPas::getAllowedCellSizeFactors
const NumberSet< double > & getAllowedCellSizeFactors() const
Get allowed cell size factors (only relevant for LinkedCells, VerletLists and VerletListsCells).
Definition: AutoPasDecl.h:609
autopas::AutoPas::reduce
void reduce(Lambda reduceLambda, A &result, IteratorBehavior behavior=IteratorBehavior::ownedOrHalo) const
Reduce properties of particles as defined by a lambda function.
Definition: AutoPasDecl.h:365
-
autopas::AutoPas::getAcquisitionFunction
AcquisitionFunctionOption getAcquisitionFunction() const
Get acquisition function used for tuning.
Definition: AutoPasDecl.h:776
-
autopas::AutoPas::getMaxTuningPhasesWithoutTest
unsigned int getMaxTuningPhasesWithoutTest() const
Get the maximum number of tuning phases before a configuration is certainly tested again.
Definition: AutoPasDecl.h:727
+
autopas::AutoPas::getAcquisitionFunction
AcquisitionFunctionOption getAcquisitionFunction() const
Get acquisition function used for tuning.
Definition: AutoPasDecl.h:788
+
autopas::AutoPas::getMaxTuningPhasesWithoutTest
unsigned int getMaxTuningPhasesWithoutTest() const
Get the maximum number of tuning phases before a configuration is certainly tested again.
Definition: AutoPasDecl.h:739
autopas::AutoPas::addParticlesIf
void addParticlesIf(Collection &&particles, F predicate)
Adds all particles for which predicate(particle) == true to the container.
Definition: AutoPasImpl.h:204
-
autopas::AutoPas::setUseTuningLogger
void setUseTuningLogger(bool useTuningLogger)
Set if the tuning information should be logged to a file.
Definition: AutoPasDecl.h:1039
+
autopas::AutoPas::setUseTuningLogger
void setUseTuningLogger(bool useTuningLogger)
Set if the tuning information should be logged to a file.
Definition: AutoPasDecl.h:1051
autopas::AutoPas::forceRetune
void forceRetune()
Force the internal tuner to enter a new tuning phase upon the next call to computeInteractions().
Definition: AutoPasImpl.h:244
autopas::AutoPas::reserve
void reserve(size_t numParticles)
Reserve memory for a given number of particles in the container and logic layers.
Definition: AutoPasImpl.h:170
autopas::AutoPas::getVerletRebuildFrequency
unsigned int getVerletRebuildFrequency() const
Get Verlet rebuild frequency.
Definition: AutoPasDecl.h:652
-
autopas::AutoPas::getAllowedTraversals
const std::set< TraversalOption > & getAllowedTraversals(const InteractionTypeOption interactionType=InteractionTypeOption::pairwise) const
Get the list of allowed traversals.
Definition: AutoPasDecl.h:857
-
autopas::AutoPas::getMaxEvidence
unsigned int getMaxEvidence() const
Get maximum number of evidence for tuning.
Definition: AutoPasDecl.h:701
-
autopas::AutoPas::getAllowedLoadEstimators
const std::set< LoadEstimatorOption > & getAllowedLoadEstimators() const
Get the list of allowed load estimation algorithms.
Definition: AutoPasDecl.h:825
-
autopas::AutoPas::setSortingThreshold
void setSortingThreshold(size_t sortingThreshold)
Set the sorting-threshold for traversals that use the CellFunctor If the sum of the number of particl...
Definition: AutoPasDecl.h:1067
+
autopas::AutoPas::getAllowedTraversals
const std::set< TraversalOption > & getAllowedTraversals(const InteractionTypeOption interactionType=InteractionTypeOption::pairwise) const
Get the list of allowed traversals.
Definition: AutoPasDecl.h:869
+
autopas::AutoPas::getMaxEvidence
unsigned int getMaxEvidence() const
Get maximum number of evidence for tuning.
Definition: AutoPasDecl.h:713
+
autopas::AutoPas::getAllowedLoadEstimators
const std::set< LoadEstimatorOption > & getAllowedLoadEstimators() const
Get the list of allowed load estimation algorithms.
Definition: AutoPasDecl.h:837
+
autopas::AutoPas::setSortingThreshold
void setSortingThreshold(size_t sortingThreshold)
Set the sorting-threshold for traversals that use the CellFunctor If the sum of the number of particl...
Definition: AutoPasDecl.h:1079
autopas::AutoPas::setNumSamples
void setNumSamples(unsigned int numSamples)
Set number of samples taken per configuration during the tuning.
Definition: AutoPasDecl.h:695
autopas::AutoPas::RegionIteratorT
autopas::ContainerIterator< Particle, true, true > RegionIteratorT
Define the region iterator type for ease of use.
Definition: AutoPasDecl.h:68
-
autopas::AutoPas::setAllowedNewton3Options
void setAllowedNewton3Options(const std::set< Newton3Option > &allowedNewton3Options, const InteractionTypeOption interactionType=InteractionTypeOption::pairwise)
Set the list of allowed newton 3 options.
Definition: AutoPasDecl.h:927
-
autopas::AutoPas::setMaxTuningPhasesWithoutTest
void setMaxTuningPhasesWithoutTest(unsigned int maxTuningPhasesWithoutTest)
Set the maximum number of tuning phases before a configuration is certainly tested again.
Definition: AutoPasDecl.h:735
-
autopas::AutoPas::setMaxEvidence
void setMaxEvidence(unsigned int maxEvidence)
Set maximum number of evidence for tuning.
Definition: AutoPasDecl.h:707
+
autopas::AutoPas::setAllowedNewton3Options
void setAllowedNewton3Options(const std::set< Newton3Option > &allowedNewton3Options, const InteractionTypeOption interactionType=InteractionTypeOption::pairwise)
Set the list of allowed newton 3 options.
Definition: AutoPasDecl.h:939
+
autopas::AutoPas::setMaxTuningPhasesWithoutTest
void setMaxTuningPhasesWithoutTest(unsigned int maxTuningPhasesWithoutTest)
Set the maximum number of tuning phases before a configuration is certainly tested again.
Definition: AutoPasDecl.h:747
+
autopas::AutoPas::getUseLOESSSmoothening
bool getUseLOESSSmoothening() const
Get flag for whether a LOESS-based smoothening is used.
Definition: AutoPasDecl.h:701
+
autopas::AutoPas::setMaxEvidence
void setMaxEvidence(unsigned int maxEvidence)
Set maximum number of evidence for tuning.
Definition: AutoPasDecl.h:719
autopas::AutoPas::cbegin
ConstIteratorT cbegin(IteratorBehavior behavior=IteratorBehavior::ownedOrHalo) const
Iterate over all particles by using for(auto iter = autoPas.begin(); iter.isValid(); ++iter)
Definition: AutoPasDecl.h:373
-
autopas::AutoPas::setMPITuningMaxDifferenceForBucket
void setMPITuningMaxDifferenceForBucket(double MPITuningMaxDifferenceForBucket)
Setter for the maximal Difference for the bucket distribution.
Definition: AutoPasDecl.h:999
+
autopas::AutoPas::setMPITuningMaxDifferenceForBucket
void setMPITuningMaxDifferenceForBucket(double MPITuningMaxDifferenceForBucket)
Setter for the maximal Difference for the bucket distribution.
Definition: AutoPasDecl.h:1011
autopas::AutoPas::forEachInRegionParallel
void forEachInRegionParallel(Lambda forEachLambda, const std::array< double, 3 > &lowerCorner, const std::array< double, 3 > &higherCorner, IteratorBehavior behavior=IteratorBehavior::ownedOrHalo) const
Execute code on all particles in a certain region in parallel as defined by a lambda function.
Definition: AutoPasDecl.h:432
autopas::AutoPas::addParticles
void addParticles(Collection &&particles)
Adds all particles from the collection to the container.
Definition: AutoPasImpl.h:198
-
autopas::AutoPas::setAllowedTraversals
void setAllowedTraversals(const std::set< TraversalOption > &allowedTraversals, const InteractionTypeOption interactionType=InteractionTypeOption::pairwise)
Set the list of allowed traversals.
Definition: AutoPasDecl.h:869
+
autopas::AutoPas::setAllowedTraversals
void setAllowedTraversals(const std::set< TraversalOption > &allowedTraversals, const InteractionTypeOption interactionType=InteractionTypeOption::pairwise)
Set the list of allowed traversals.
Definition: AutoPasDecl.h:881
autopas::AutoPas::getVerletClusterSize
unsigned int getVerletClusterSize() const
Get Verlet cluster size.
Definition: AutoPasDecl.h:665
autopas::AutoPas::reduceInRegionParallel
void reduceInRegionParallel(Lambda reduceLambda, A &result, const std::array< double, 3 > &lowerCorner, const std::array< double, 3 > &higherCorner, IteratorBehavior behavior=IteratorBehavior::ownedOrHalo)
Execute code on all particles in a certain region in parallel as defined by a lambda function.
Definition: AutoPasDecl.h:483
autopas::AutoPas::getNumberOfParticles
size_t getNumberOfParticles(IteratorBehavior behavior=IteratorBehavior::owned) const
Returns the number of particles in this container.
Definition: AutoPasImpl.h:152
-
autopas::AutoPas::setExtrapolationMethodOption
void setExtrapolationMethodOption(ExtrapolationMethodOption extrapolationMethodOption)
Set extrapolation method for the prediction of the configuration performance.
Definition: AutoPasDecl.h:802
+
autopas::AutoPas::setExtrapolationMethodOption
void setExtrapolationMethodOption(ExtrapolationMethodOption extrapolationMethodOption)
Set extrapolation method for the prediction of the configuration performance.
Definition: AutoPasDecl.h:814
autopas::AutoPas::getVerletSkin
double getVerletSkin()
Function to iterate over all pairs of particles in the container.
Definition: AutoPasDecl.h:543
autopas::AutoPas::setBoxMin
void setBoxMin(const std::array< double, 3 > &boxMin)
Set coordinates of the lower corner of the domain.
Definition: AutoPasDecl.h:580
-
autopas::AutoPas::setOutputSuffix
void setOutputSuffix(const std::string &suffix)
Suffix for all output files produced by this instance of AutoPas, e.g.
Definition: AutoPasDecl.h:1033
+
autopas::AutoPas::setOutputSuffix
void setOutputSuffix(const std::string &suffix)
Suffix for all output files produced by this instance of AutoPas, e.g.
Definition: AutoPasDecl.h:1045
autopas::AutoPas::getBoxMax
const std::array< double, 3 > & getBoxMax() const
Get the upper corner of the container without the halo.
Definition: AutoPasImpl.h:345
-
autopas::AutoPas::getEvidenceFirstPrediction
unsigned int getEvidenceFirstPrediction() const
Get the number of tests that need to have happened for a configuration until the first predictions ar...
Definition: AutoPasDecl.h:759
+
autopas::AutoPas::getEvidenceFirstPrediction
unsigned int getEvidenceFirstPrediction() const
Get the number of tests that need to have happened for a configuration until the first predictions ar...
Definition: AutoPasDecl.h:771
autopas::AutoPas::reduce
void reduce(Lambda reduceLambda, A &result, IteratorBehavior behavior=IteratorBehavior::ownedOrHalo)
Reduce properties of particles as defined by a lambda function.
Definition: AutoPasDecl.h:356
autopas::AutoPas::addHaloParticles
void addHaloParticles(Collection &&particles)
Adds all halo particles from the collection to the container.
Definition: AutoPasImpl.h:257
-
autopas::AutoPas::getRelativeBlacklistRange
double getRelativeBlacklistRange() const
For Predictive tuning: Get the relative cutoff for configurations to be blacklisted.
Definition: AutoPasDecl.h:744
-
autopas::AutoPas::getTuningMetricOption
const TuningMetricOption & getTuningMetricOption() const
Getter for the tuning metric option.
Definition: AutoPasDecl.h:984
+
autopas::AutoPas::getRelativeBlacklistRange
double getRelativeBlacklistRange() const
For Predictive tuning: Get the relative cutoff for configurations to be blacklisted.
Definition: AutoPasDecl.h:756
+
autopas::AutoPas::getTuningMetricOption
const TuningMetricOption & getTuningMetricOption() const
Getter for the tuning metric option.
Definition: AutoPasDecl.h:996
autopas::AutoPas::setVerletSkinPerTimestep
void setVerletSkinPerTimestep(double verletSkinPerTimestep)
Set length added to the cutoff for the Verlet lists' skin per timestep.
Definition: AutoPasDecl.h:644
autopas::AutoPas::addHaloParticle
void addHaloParticle(const Particle &haloParticle)
Adds a particle to the container that lies in the halo region of the container.
Definition: AutoPasImpl.h:251
autopas::AutoPas::reduceInRegion
void reduceInRegion(Lambda reduceLambda, A &result, const std::array< double, 3 > &lowerCorner, const std::array< double, 3 > &higherCorner, IteratorBehavior behavior=IteratorBehavior::ownedOrHalo)
Execute code on all particles in a certain region as defined by a lambda function.
Definition: AutoPasDecl.h:517
+
autopas::AutoPas::setUseLOESSSmoothening
void setUseLOESSSmoothening(bool useLOESSSmoothening)
Set flag for whether a LOESS-based smoothening is used.
Definition: AutoPasDecl.h:707
autopas::AutoPas::searchSpaceIsTrivial
bool searchSpaceIsTrivial()
get the bool value indicating if the search space is trivial (not more than one configuration to test...
Definition: AutoPasImpl.h:360
-
autopas::AutoPas::setRelativeOptimumRange
void setRelativeOptimumRange(double relativeOptimumRange)
Set the range for the optimum in which has to be to be tested.
Definition: AutoPasDecl.h:719
+
autopas::AutoPas::setRelativeOptimumRange
void setRelativeOptimumRange(double relativeOptimumRange)
Set the range for the optimum in which has to be to be tested.
Definition: AutoPasDecl.h:731
autopas::AutoPas::finalize
void finalize()
Free the AutoPas MPI communicator.
Definition: AutoPasDecl.h:119
-
autopas::AutoPas::setFuzzyRuleFileName
void setFuzzyRuleFileName(const std::string &fuzzyRuleFileName)
Set fuzzy rule file name for the RuleBasedTuning.
Definition: AutoPasDecl.h:1051
+
autopas::AutoPas::setFuzzyRuleFileName
void setFuzzyRuleFileName(const std::string &fuzzyRuleFileName)
Set fuzzy rule file name for the RuleBasedTuning.
Definition: AutoPasDecl.h:1063
autopas::AutoPas::reduceInRegionParallel
void reduceInRegionParallel(Lambda reduceLambda, A &result, const std::array< double, 3 > &lowerCorner, const std::array< double, 3 > &higherCorner, IteratorBehavior behavior=IteratorBehavior::ownedOrHalo) const
Execute code on all particles in a certain region as defined by a lambda function.
Definition: AutoPasDecl.h:497
-
autopas::AutoPas::getRuleFileName
const std::string & getRuleFileName() const
Get the name / path of the rule file for the RuleBasedTuning.
Definition: AutoPasDecl.h:1059
+
autopas::AutoPas::getRuleFileName
const std::string & getRuleFileName() const
Get the name / path of the rule file for the RuleBasedTuning.
Definition: AutoPasDecl.h:1071
autopas::AutoPas::forEachInRegion
void forEachInRegion(Lambda forEachLambda, const std::array< double, 3 > &lowerCorner, const std::array< double, 3 > &higherCorner, IteratorBehavior behavior=IteratorBehavior::ownedOrHalo)
Execute code on all particles in a certain region as defined by a lambda function.
Definition: AutoPasDecl.h:450
-
autopas::AutoPas::setSelectorStrategy
void setSelectorStrategy(SelectorStrategyOption selectorStrategy)
Set the strategy of how to select a performance value for a piece of evidence from multiple time meas...
Definition: AutoPasDecl.h:817
-
autopas::AutoPas::getSortingThreshold
size_t getSortingThreshold() const
Get the sorting-threshold for traversals that use the CellFunctor.
Definition: AutoPasDecl.h:1073
-
autopas::AutoPas::getTuningStrategyOptions
const std::vector< TuningStrategyOption > & getTuningStrategyOptions() const
Getter for the tuning strategy option.
Definition: AutoPasDecl.h:967
+
autopas::AutoPas::setSelectorStrategy
void setSelectorStrategy(SelectorStrategyOption selectorStrategy)
Set the strategy of how to select a performance value for a piece of evidence from multiple time meas...
Definition: AutoPasDecl.h:829
+
autopas::AutoPas::getSortingThreshold
size_t getSortingThreshold() const
Get the sorting-threshold for traversals that use the CellFunctor.
Definition: AutoPasDecl.h:1085
+
autopas::AutoPas::getTuningStrategyOptions
const std::vector< TuningStrategyOption > & getTuningStrategyOptions() const
Getter for the tuning strategy option.
Definition: AutoPasDecl.h:979
autopas::AutoPas::forEachInRegionParallel
void forEachInRegionParallel(Lambda forEachLambda, const std::array< double, 3 > &lowerCorner, const std::array< double, 3 > &higherCorner, IteratorBehavior behavior=IteratorBehavior::ownedOrHalo)
Execute code on all particles in a certain region in parallel as defined by a lambda function.
Definition: AutoPasDecl.h:418
-
autopas::AutoPas::getAllowedNewton3Options
const std::set< Newton3Option > & getAllowedNewton3Options(const InteractionTypeOption interactionType=InteractionTypeOption::pairwise) const
Get the list of allowed newton 3 options.
Definition: AutoPasDecl.h:915
+
autopas::AutoPas::getAllowedNewton3Options
const std::set< Newton3Option > & getAllowedNewton3Options(const InteractionTypeOption interactionType=InteractionTypeOption::pairwise) const
Get the list of allowed newton 3 options.
Definition: AutoPasDecl.h:927
autopas::AutoPas::setVerletRebuildFrequency
void setVerletRebuildFrequency(unsigned int verletRebuildFrequency)
Set Verlet rebuild frequency.
Definition: AutoPasDecl.h:658
-
autopas::AutoPas::setEvidenceFirstPrediction
void setEvidenceFirstPrediction(unsigned int evidenceFirstPrediction)
Set the number of tests that need to have happened for a configuration until the first predictions ar...
Definition: AutoPasDecl.h:768
+
autopas::AutoPas::setEvidenceFirstPrediction
void setEvidenceFirstPrediction(unsigned int evidenceFirstPrediction)
Set the number of tests that need to have happened for a configuration until the first predictions ar...
Definition: AutoPasDecl.h:780
autopas::AutoPas::setVerletClusterSize
void setVerletClusterSize(unsigned int verletClusterSize)
Set Verlet cluster size.
Definition: AutoPasDecl.h:671
autopas::AutoPas::getTuningInterval
unsigned int getTuningInterval() const
Get tuning interval.
Definition: AutoPasDecl.h:677
-
autopas::AutoPas::getExtrapolationMethodOption
ExtrapolationMethodOption getExtrapolationMethodOption() const
Get extrapolation method for the prediction of the configuration performance.
Definition: AutoPasDecl.h:794
-
autopas::AutoPas::getAllowedContainers
const std::set< ContainerOption > & getAllowedContainers() const
Get the list of allowed containers.
Definition: AutoPasDecl.h:840
+
autopas::AutoPas::getExtrapolationMethodOption
ExtrapolationMethodOption getExtrapolationMethodOption() const
Get extrapolation method for the prediction of the configuration performance.
Definition: AutoPasDecl.h:806
+
autopas::AutoPas::getAllowedContainers
const std::set< ContainerOption > & getAllowedContainers() const
Get the list of allowed containers.
Definition: AutoPasDecl.h:852
autopas::AutoPas::forEachParallel
void forEachParallel(Lambda forEachLambda, IteratorBehavior behavior=IteratorBehavior::ownedOrHalo) const
execute code on all particles in parallel as defined by a lambda function
Definition: AutoPasDecl.h:297
autopas::AutoPas::computeInteractions
bool computeInteractions(Functor *f)
Function to iterate over all inter-particle interactions in the container This function only handles ...
Definition: AutoPasImpl.h:129
-
autopas::AutoPas::setRelativeBlacklistRange
void setRelativeBlacklistRange(double relativeBlacklistRange)
Set the range of the configurations that are not going to be blacklisted.
Definition: AutoPasDecl.h:750
+
autopas::AutoPas::setRelativeBlacklistRange
void setRelativeBlacklistRange(double relativeBlacklistRange)
Set the range of the configurations that are not going to be blacklisted.
Definition: AutoPasDecl.h:762
autopas::AutoPas::forEachParallel
void forEachParallel(Lambda forEachLambda, IteratorBehavior behavior=IteratorBehavior::ownedOrHalo)
execute code on all particles in parallel as defined by a lambda function
Definition: AutoPasDecl.h:287
autopas::AutoPas::resizeBox
std::vector< Particle > resizeBox(const std::array< double, 3 > &boxMin, const std::array< double, 3 > &boxMax)
Resizes the bounding box of the AutoPas object.
Definition: AutoPasImpl.h:230
-
autopas::AutoPas::setAllowedInteractionTypeOptions
void setAllowedInteractionTypeOptions(const std::set< InteractionTypeOption > &allowedInteractionTypeOptions)
Set the list of allowed interaction types.
Definition: AutoPasDecl.h:944
+
autopas::AutoPas::setAllowedInteractionTypeOptions
void setAllowedInteractionTypeOptions(const std::set< InteractionTypeOption > &allowedInteractionTypeOptions)
Set the list of allowed interaction types.
Definition: AutoPasDecl.h:956
autopas::AutoPas::ConstIteratorT
autopas::ContainerIterator< Particle, false, false > ConstIteratorT
Define the const iterator type for ease of use.
Definition: AutoPasDecl.h:62
-
autopas::AutoPas::getSelectorStrategy
SelectorStrategyOption getSelectorStrategy() const
Get the selector configuration strategy.
Definition: AutoPasDecl.h:810
+
autopas::AutoPas::getSelectorStrategy
SelectorStrategyOption getSelectorStrategy() const
Get the selector configuration strategy.
Definition: AutoPasDecl.h:822
autopas::AutoPas::setTuningInterval
void setTuningInterval(unsigned int tuningInterval)
Set tuning interval.
Definition: AutoPasDecl.h:683
autopas::AutoPas::forEachInRegion
void forEachInRegion(Lambda forEachLambda, const std::array< double, 3 > &lowerCorner, const std::array< double, 3 > &higherCorner, IteratorBehavior behavior=IteratorBehavior::ownedOrHalo) const
Execute code on all particles in a certain region as defined by a lambda function.
Definition: AutoPasDecl.h:463
autopas::AutoPas::end
constexpr bool end() const
Dummy to make range-based for loops work.
Definition: AutoPasDecl.h:385
-
autopas::AutoPas::getCurrentConfigs
std::unordered_map< InteractionTypeOption::Value, std::reference_wrapper< const Configuration > > getCurrentConfigs() const
Getter for the currently selected configuration.
Definition: AutoPasDecl.h:953
-
autopas::AutoPas::setTuningMetricOption
void setTuningMetricOption(TuningMetricOption tuningMetricOption)
Setter for the tuning metric option.
Definition: AutoPasDecl.h:991
+
autopas::AutoPas::getCurrentConfigs
std::unordered_map< InteractionTypeOption::Value, std::reference_wrapper< const Configuration > > getCurrentConfigs() const
Getter for the currently selected configuration.
Definition: AutoPasDecl.h:965
+
autopas::AutoPas::setTuningMetricOption
void setTuningMetricOption(TuningMetricOption tuningMetricOption)
Setter for the tuning metric option.
Definition: AutoPasDecl.h:1003
autopas::AutoPas::getNumSamples
unsigned int getNumSamples() const
Get number of samples taken per configuration during the tuning.
Definition: AutoPasDecl.h:689
-
autopas::AutoPas::setAcquisitionFunction
void setAcquisitionFunction(AcquisitionFunctionOption acqFun)
Set acquisition function for tuning.
Definition: AutoPasDecl.h:786
-
autopas::AutoPas::setRuleFileName
void setRuleFileName(const std::string &ruleFileName)
Set rule file name for the RuleBasedTuning.
Definition: AutoPasDecl.h:1045
+
autopas::AutoPas::setAcquisitionFunction
void setAcquisitionFunction(AcquisitionFunctionOption acqFun)
Set acquisition function for tuning.
Definition: AutoPasDecl.h:798
+
autopas::AutoPas::setRuleFileName
void setRuleFileName(const std::string &ruleFileName)
Set rule file name for the RuleBasedTuning.
Definition: AutoPasDecl.h:1057
autopas::AutoPas::RegionConstIteratorT
autopas::ContainerIterator< Particle, false, true > RegionConstIteratorT
Define the const region iterator type for ease of use.
Definition: AutoPasDecl.h:74
-
autopas::AutoPas::setTuningStrategyOption
void setTuningStrategyOption(const std::vector< TuningStrategyOption > &tuningStrategyOptions)
Setter for the tuning strategy option.
Definition: AutoPasDecl.h:976
+
autopas::AutoPas::setTuningStrategyOption
void setTuningStrategyOption(const std::vector< TuningStrategyOption > &tuningStrategyOptions)
Setter for the tuning strategy option.
Definition: AutoPasDecl.h:988
autopas::AutoPas::setCellSizeFactor
void setCellSizeFactor(double cellSizeFactor)
Set allowed cell size factors to one element (only relevant for LinkedCells, VerletLists and VerletLi...
Definition: AutoPasDecl.h:627
autopas::AutoPas::getBoxMin
const std::array< double, 3 > & getBoxMin() const
Get the lower corner of the container without the halo.
Definition: AutoPasImpl.h:340
autopas::AutoPas::setCutoff
void setCutoff(double cutoff)
Set cutoff radius.
Definition: AutoPasDecl.h:598
autopas::AutoPas::forEach
void forEach(Lambda forEachLambda, IteratorBehavior behavior=IteratorBehavior::ownedOrHalo)
Execute code on all particles as defined by a lambda function.
Definition: AutoPasDecl.h:309
autopas::AutoPas::forEach
void forEach(Lambda forEachLambda, IteratorBehavior behavior=IteratorBehavior::ownedOrHalo) const
Execute code on all particles as defined by a lambda function.
Definition: AutoPasDecl.h:318
autopas::AutoPas::addHaloParticlesIf
void addHaloParticlesIf(Collection &&particles, F predicate)
Adds all halo particles for which predicate(particle) == true to the container.
Definition: AutoPasImpl.h:263
-
autopas::AutoPas::getRelativeOptimumRange
double getRelativeOptimumRange() const
Get the range for the optimum in which has to be to be tested.
Definition: AutoPasDecl.h:713
-
autopas::AutoPas::setAllowedDataLayouts
void setAllowedDataLayouts(const std::set< DataLayoutOption > &allowedDataLayouts, const InteractionTypeOption interactionType=InteractionTypeOption::pairwise)
Set the list of allowed data layouts.
Definition: AutoPasDecl.h:898
+
autopas::AutoPas::getRelativeOptimumRange
double getRelativeOptimumRange() const
Get the range for the optimum in which has to be to be tested.
Definition: AutoPasDecl.h:725
+
autopas::AutoPas::setAllowedDataLayouts
void setAllowedDataLayouts(const std::set< DataLayoutOption > &allowedDataLayouts, const InteractionTypeOption interactionType=InteractionTypeOption::pairwise)
Set the list of allowed data layouts.
Definition: AutoPasDecl.h:910
autopas::AutoPas::reduceInRegion
void reduceInRegion(Lambda reduceLambda, A &result, const std::array< double, 3 > &lowerCorner, const std::array< double, 3 > &higherCorner, IteratorBehavior behavior=IteratorBehavior::ownedOrHalo) const
Execute code on all particles in a certain region as defined by a lambda function.
Definition: AutoPasDecl.h:530
autopas::AutoPas::init
void init()
Initialize AutoPas.
Definition: AutoPasImpl.h:66
autopas::AutoPas::begin
IteratorT begin(IteratorBehavior behavior=IteratorBehavior::ownedOrHalo)
Iterate over all particles by using for(auto iter = autoPas.begin(); iter.isValid(); ++iter)
Definition: AutoPasImpl.h:312
autopas::AutoPas::setBoxMax
void setBoxMax(const std::array< double, 3 > &boxMax)
Set coordinates of the upper corner of the domain.
Definition: AutoPasDecl.h:586
autopas::AutoPas::getCutoff
double getCutoff() const
Get cutoff radius.
Definition: AutoPasDecl.h:592
-
autopas::AutoPas::getAllowedDataLayouts
const std::set< DataLayoutOption > & getAllowedDataLayouts(const InteractionTypeOption interactionType=InteractionTypeOption::pairwise) const
Get the list of allowed data layouts.
Definition: AutoPasDecl.h:886
+
autopas::AutoPas::getAllowedDataLayouts
const std::set< DataLayoutOption > & getAllowedDataLayouts(const InteractionTypeOption interactionType=InteractionTypeOption::pairwise) const
Get the list of allowed data layouts.
Definition: AutoPasDecl.h:898
autopas::AutoPas::updateContainer
std::vector< Particle > updateContainer()
Updates the container.
Definition: AutoPasImpl.h:225
autopas::AutoPas::getVerletSkinPerTimestep
double getVerletSkinPerTimestep() const
Get length added to the cutoff for the Verlet lists' skin per timestep.
Definition: AutoPasDecl.h:638
autopas::AutoPas::operator=
AutoPas & operator=(AutoPas &&other) noexcept
Move assignment operator.
Definition: AutoPasImpl.h:59
@@ -767,6 +773,7 @@
autopas::AutoTunerInfo::tuningInterval
unsigned int tuningInterval
Number of time steps after which the auto-tuner shall reevaluate the optimum.
Definition: AutoTunerInfo.h:28
autopas::AutoTunerInfo::selectorStrategy
SelectorStrategyOption selectorStrategy
Strategy how to select the optimum from the collected samples.
Definition: AutoTunerInfo.h:20
autopas::AutoTunerInfo::maxSamples
unsigned int maxSamples
Number of samples that shall be collected per combination.
Definition: AutoTunerInfo.h:32
+
autopas::AutoTunerInfo::useLOESSSmoothening
bool useLOESSSmoothening
Flag for whether LOESS Smoothening is used to smoothen the tuning results.
Definition: AutoTunerInfo.h:36
autopas::AutoTunerInfo::tuningMetric
TuningMetricOption tuningMetric
Metric used to rate configurations (time or energy).
Definition: AutoTunerInfo.h:24
autopas::TuningStrategyFactoryInfo
Helper struct encapsulating most information needed to build TuningStrategies by the TuningStrategyFa...
Definition: TuningStrategyFactoryInfo.h:22
autopas::TuningStrategyFactoryInfo::mpiTuningWeightForMaxDensity
double mpiTuningWeightForMaxDensity
Weight for maxDensity in the calculation for bucket distribution.
Definition: TuningStrategyFactoryInfo.h:87
diff --git a/doxygen_documentation/git-master/AutoTunerInfo_8h_source.html b/doxygen_documentation/git-master/AutoTunerInfo_8h_source.html index e7e38233e..76cd2e234 100644 --- a/doxygen_documentation/git-master/AutoTunerInfo_8h_source.html +++ b/doxygen_documentation/git-master/AutoTunerInfo_8h_source.html @@ -127,8 +127,9 @@
24 TuningMetricOption tuningMetric{TuningMetricOption::time};
28 unsigned int tuningInterval{5000};
32 unsigned int maxSamples{3};
-
33};
-
34} // namespace autopas
+
36 bool useLOESSSmoothening{true};
+
37};
+
38} // namespace autopas
SelectorStrategyOption.h
TuningMetricOption.h
autopas::TuningMetricOption
Class representing the load estimator choices.
Definition: TuningMetricOption.h:18
@@ -138,6 +139,7 @@
autopas::AutoTunerInfo::tuningInterval
unsigned int tuningInterval
Number of time steps after which the auto-tuner shall reevaluate the optimum.
Definition: AutoTunerInfo.h:28
autopas::AutoTunerInfo::selectorStrategy
SelectorStrategyOption selectorStrategy
Strategy how to select the optimum from the collected samples.
Definition: AutoTunerInfo.h:20
autopas::AutoTunerInfo::maxSamples
unsigned int maxSamples
Number of samples that shall be collected per combination.
Definition: AutoTunerInfo.h:32
+
autopas::AutoTunerInfo::useLOESSSmoothening
bool useLOESSSmoothening
Flag for whether LOESS Smoothening is used to smoothen the tuning results.
Definition: AutoTunerInfo.h:36
autopas::AutoTunerInfo::tuningMetric
TuningMetricOption tuningMetric
Metric used to rate configurations (time or energy).
Definition: AutoTunerInfo.h:24
diff --git a/doxygen_documentation/git-master/AutoTuner_8h_source.html b/doxygen_documentation/git-master/AutoTuner_8h_source.html index 9e856745a..4a690bd21 100644 --- a/doxygen_documentation/git-master/AutoTuner_8h_source.html +++ b/doxygen_documentation/git-master/AutoTuner_8h_source.html @@ -213,45 +213,47 @@
292
296 TuningMetricOption _tuningMetric;
297
-
302 bool _energyMeasurementPossible;
-
303
-
307 unsigned int _rebuildFrequency;
+
301 bool _useLOESSSmoothening;
+
302
+
307 bool _energyMeasurementPossible;
308
-
312 size_t _maxSamples;
+
312 unsigned int _rebuildFrequency;
313
-
317 bool _needsHomogeneityAndMaxDensity;
+
317 size_t _maxSamples;
318
-
322 bool _needsLiveInfo;
+
322 bool _needsHomogeneityAndMaxDensity;
323
-
327 std::vector<double> _homogeneitiesOfLastTenIterations{};
+
327 bool _needsLiveInfo;
328
-
332 std::vector<double> _maxDensitiesOfLastTenIterations{};
+
332 std::vector<double> _homogeneitiesOfLastTenIterations{};
333
-
340 std::vector<long> _samplesNotRebuildingNeighborLists;
-
341
-
346 std::vector<long> _samplesRebuildingNeighborLists{};
-
347
-
351 EvidenceCollection _evidenceCollection{};
+
337 std::vector<double> _maxDensitiesOfLastTenIterations{};
+
338
+
345 std::vector<long> _samplesNotRebuildingNeighborLists;
+
346
+
351 std::vector<long> _samplesRebuildingNeighborLists{};
352
-
356 SearchSpaceType _searchSpace;
+
356 EvidenceCollection _evidenceCollection{};
357
-
364 std::vector<Configuration> _configQueue;
-
365
-
370 autopas::utils::Timer _timerCalculateHomogeneity;
-
371
-
375 TuningResultLogger _tuningResultLogger;
+
361 SearchSpaceType _searchSpace;
+
362
+
369 std::vector<Configuration> _configQueue;
+
370
+
375 autopas::utils::Timer _timerCalculateHomogeneity;
376
-
380 TuningDataLogger _tuningDataLogger;
+
380 TuningResultLogger _tuningResultLogger;
381
-
385 bool _isTuning{false};
+
385 TuningDataLogger _tuningDataLogger;
386
-
392 bool _endOfTuningPhase{false};
-
393
-
398 bool _forceRetune{false};
-
399
-
404 size_t _iterationBaseline{0};
-
405};
-
406} // namespace autopas
+
390 bool _isTuning{false};
+
391
+
397 bool _endOfTuningPhase{false};
+
398
+
403 bool _forceRetune{false};
+
404
+
409 size_t _iterationBaseline{0};
+
410};
+
411} // namespace autopas
AutoTunerInfo.h
Configuration.h
EvidenceCollection.h
@@ -263,32 +265,32 @@
TuningResultLogger.h
TuningStrategyInterface.h
autopas::AutoTuner
This class manages all logic related to the auto tuning mechanic.
Definition: AutoTuner.h:41
-
autopas::AutoTuner::sampleEnergy
std::tuple< double, double, double, long > sampleEnergy()
Take an energy measurement.
Definition: AutoTuner.cpp:339
-
autopas::AutoTuner::searchSpaceIsEmpty
bool searchSpaceIsEmpty() const
Indicator function whether the search space has no configurations in it.
Definition: AutoTuner.cpp:73
-
autopas::AutoTuner::operator=
AutoTuner & operator=(AutoTuner &&other) noexcept
Move assignment operator.
Definition: AutoTuner.cpp:50
-
autopas::AutoTuner::bumpIterationCounters
void bumpIterationCounters(bool needToWait=false)
Increase internal iteration counters by one.
Definition: AutoTuner.cpp:288
-
autopas::AutoTuner::getNextConfig
std::tuple< Configuration, bool > getNextConfig()
Ask the tuner for the next configuration to use.
Definition: AutoTuner.cpp:172
-
autopas::AutoTuner::addHomogeneityAndMaxDensity
void addHomogeneityAndMaxDensity(double homogeneity, double maxDensity, long time)
Adds measurements of homogeneity and maximal density to the vector of measurements.
Definition: AutoTuner.cpp:55
-
autopas::AutoTuner::logTuningResult
void logTuningResult(bool tuningIteration, long tuningTime) const
After a tuning phase has finished, write the result to a file.
Definition: AutoTuner.cpp:61
+
autopas::AutoTuner::sampleEnergy
std::tuple< double, double, double, long > sampleEnergy()
Take an energy measurement.
Definition: AutoTuner.cpp:345
+
autopas::AutoTuner::searchSpaceIsEmpty
bool searchSpaceIsEmpty() const
Indicator function whether the search space has no configurations in it.
Definition: AutoTuner.cpp:75
+
autopas::AutoTuner::operator=
AutoTuner & operator=(AutoTuner &&other) noexcept
Move assignment operator.
Definition: AutoTuner.cpp:52
+
autopas::AutoTuner::bumpIterationCounters
void bumpIterationCounters(bool needToWait=false)
Increase internal iteration counters by one.
Definition: AutoTuner.cpp:293
+
autopas::AutoTuner::getNextConfig
std::tuple< Configuration, bool > getNextConfig()
Ask the tuner for the next configuration to use.
Definition: AutoTuner.cpp:174
+
autopas::AutoTuner::addHomogeneityAndMaxDensity
void addHomogeneityAndMaxDensity(double homogeneity, double maxDensity, long time)
Adds measurements of homogeneity and maximal density to the vector of measurements.
Definition: AutoTuner.cpp:57
+
autopas::AutoTuner::logTuningResult
void logTuningResult(bool tuningIteration, long tuningTime) const
After a tuning phase has finished, write the result to a file.
Definition: AutoTuner.cpp:63
autopas::AutoTuner::SearchSpaceType
std::set< Configuration > SearchSpaceType
Type for the search space holding all possible configurations.
Definition: AutoTuner.h:50
-
autopas::AutoTuner::willRebuildNeighborLists
bool willRebuildNeighborLists() const
Returns whether rebuildNeighborLists() will be triggered in the next iteration.
Definition: AutoTuner.cpp:307
-
autopas::AutoTuner::resetEnergy
bool resetEnergy()
Reset the rapl meter to prepare for a new measurement.
Definition: AutoTuner.cpp:320
-
autopas::AutoTuner::getTuningStrategies
const std::vector< std::unique_ptr< TuningStrategyInterface > > & getTuningStrategies() const
Get the list of tuning strategies that are used.
Definition: AutoTuner.cpp:420
+
autopas::AutoTuner::willRebuildNeighborLists
bool willRebuildNeighborLists() const
Returns whether rebuildNeighborLists() will be triggered in the next iteration.
Definition: AutoTuner.cpp:313
+
autopas::AutoTuner::resetEnergy
bool resetEnergy()
Reset the rapl meter to prepare for a new measurement.
Definition: AutoTuner.cpp:326
+
autopas::AutoTuner::getTuningStrategies
const std::vector< std::unique_ptr< TuningStrategyInterface > > & getTuningStrategies() const
Get the list of tuning strategies that are used.
Definition: AutoTuner.cpp:426
autopas::AutoTuner::TuningStrategiesListType
std::vector< std::unique_ptr< TuningStrategyInterface > > TuningStrategiesListType
Type for the member holding all tuning strategies.
Definition: AutoTuner.h:46
-
autopas::AutoTuner::rejectConfig
std::tuple< Configuration, bool > rejectConfig(const Configuration &rejectedConfig, bool indefinitely)
Tell the tuner that the given config is not applicable.
Definition: AutoTuner.cpp:187
-
autopas::AutoTuner::addMeasurement
void addMeasurement(long sample, bool neighborListRebuilt)
Save the runtime of a given traversal.
Definition: AutoTuner.cpp:223
-
autopas::AutoTuner::getConfigQueue
const std::vector< Configuration > & getConfigQueue() const
Getter for the current queue of configurations.
Definition: AutoTuner.cpp:418
-
autopas::AutoTuner::initEnergy
bool initEnergy()
Initialize rapl meter.
Definition: AutoTuner.cpp:315
-
autopas::AutoTuner::canMeasureEnergy
bool canMeasureEnergy() const
Returns whether the AutoTuner can take energy measurements.
Definition: AutoTuner.cpp:440
-
autopas::AutoTuner::inTuningPhase
bool inTuningPhase() const
Indicate if the tuner considers itself currently in a tuning phase according to its internal counters...
Definition: AutoTuner.cpp:432
-
autopas::AutoTuner::needsHomogeneityAndMaxDensityBeforePrepare
bool needsHomogeneityAndMaxDensityBeforePrepare() const
Indicator whether tuner needs homogeneity and max density information before the next call to prepare...
Definition: AutoTuner.cpp:411
-
autopas::AutoTuner::receiveLiveInfo
void receiveLiveInfo(const LiveInfo &liveInfo)
Pass live info on to all tuning strategies.
Definition: AutoTuner.cpp:424
-
autopas::AutoTuner::getCurrentConfig
const Configuration & getCurrentConfig() const
Get the currently selected configuration.
Definition: AutoTuner.cpp:170
-
autopas::AutoTuner::getEvidenceCollection
const EvidenceCollection & getEvidenceCollection() const
Getter for the internal evidence collection.
Definition: AutoTuner.cpp:438
-
autopas::AutoTuner::getTuningMetric
const TuningMetricOption & getTuningMetric() const
Getter for the primary metric for tuning.
Definition: AutoTuner.cpp:430
-
autopas::AutoTuner::searchSpaceIsTrivial
bool searchSpaceIsTrivial() const
Indicator function whether the search space consists of exactly one configuration.
Definition: AutoTuner.cpp:71
-
autopas::AutoTuner::prepareIteration
bool prepareIteration()
Determines what live infos are needed and passes collected live info to the tuning strategies.
Definition: AutoTuner.cpp:374
-
autopas::AutoTuner::forceRetune
void forceRetune()
Force the internal tuner to enter a new tuning phase upon the next call to computeInteractions().
Definition: AutoTuner.cpp:75
+
autopas::AutoTuner::rejectConfig
std::tuple< Configuration, bool > rejectConfig(const Configuration &rejectedConfig, bool indefinitely)
Tell the tuner that the given config is not applicable.
Definition: AutoTuner.cpp:189
+
autopas::AutoTuner::addMeasurement
void addMeasurement(long sample, bool neighborListRebuilt)
Save the runtime of a given traversal.
Definition: AutoTuner.cpp:225
+
autopas::AutoTuner::getConfigQueue
const std::vector< Configuration > & getConfigQueue() const
Getter for the current queue of configurations.
Definition: AutoTuner.cpp:424
+
autopas::AutoTuner::initEnergy
bool initEnergy()
Initialize rapl meter.
Definition: AutoTuner.cpp:321
+
autopas::AutoTuner::canMeasureEnergy
bool canMeasureEnergy() const
Returns whether the AutoTuner can take energy measurements.
Definition: AutoTuner.cpp:446
+
autopas::AutoTuner::inTuningPhase
bool inTuningPhase() const
Indicate if the tuner considers itself currently in a tuning phase according to its internal counters...
Definition: AutoTuner.cpp:438
+
autopas::AutoTuner::needsHomogeneityAndMaxDensityBeforePrepare
bool needsHomogeneityAndMaxDensityBeforePrepare() const
Indicator whether tuner needs homogeneity and max density information before the next call to prepare...
Definition: AutoTuner.cpp:417
+
autopas::AutoTuner::receiveLiveInfo
void receiveLiveInfo(const LiveInfo &liveInfo)
Pass live info on to all tuning strategies.
Definition: AutoTuner.cpp:430
+
autopas::AutoTuner::getCurrentConfig
const Configuration & getCurrentConfig() const
Get the currently selected configuration.
Definition: AutoTuner.cpp:172
+
autopas::AutoTuner::getEvidenceCollection
const EvidenceCollection & getEvidenceCollection() const
Getter for the internal evidence collection.
Definition: AutoTuner.cpp:444
+
autopas::AutoTuner::getTuningMetric
const TuningMetricOption & getTuningMetric() const
Getter for the primary metric for tuning.
Definition: AutoTuner.cpp:436
+
autopas::AutoTuner::searchSpaceIsTrivial
bool searchSpaceIsTrivial() const
Indicator function whether the search space consists of exactly one configuration.
Definition: AutoTuner.cpp:73
+
autopas::AutoTuner::prepareIteration
bool prepareIteration()
Determines what live infos are needed and passes collected live info to the tuning strategies.
Definition: AutoTuner.cpp:380
+
autopas::AutoTuner::forceRetune
void forceRetune()
Force the internal tuner to enter a new tuning phase upon the next call to computeInteractions().
Definition: AutoTuner.cpp:77
autopas::Configuration
Class containing multiple options that form an algorithm configuration for the pairwise iteration.
Definition: Configuration.h:24
autopas::EvidenceCollection
Class to manage all evidence.
Definition: EvidenceCollection.h:21
autopas::LiveInfo
This class is able to gather and store important information for a tuning phase from a container and ...
Definition: LiveInfo.h:31
diff --git a/doxygen_documentation/git-master/LJFunctorAVX_8h_source.html b/doxygen_documentation/git-master/LJFunctorAVX_8h_source.html index 73a857a39..8cea92089 100644 --- a/doxygen_documentation/git-master/LJFunctorAVX_8h_source.html +++ b/doxygen_documentation/git-master/LJFunctorAVX_8h_source.html @@ -892,8 +892,8 @@
885 _potentialEnergySum /= 6.;
886 _postProcessed = true;
887
-
888 AutoPasLog(TRACE, "Final potential energy {}", _potentialEnergySum);
-
889 AutoPasLog(TRACE, "Final virial {}", _virialSum[0] + _virialSum[1] + _virialSum[2]);
+
888 AutoPasLog(DEBUG, "Final potential energy {}", _potentialEnergySum);
+
889 AutoPasLog(DEBUG, "Final virial {}", _virialSum[0] + _virialSum[1] + _virialSum[2]);
890 }
891 }
892
diff --git a/doxygen_documentation/git-master/LJFunctorSVE_8h_source.html b/doxygen_documentation/git-master/LJFunctorSVE_8h_source.html index 36174f05f..22611b414 100644 --- a/doxygen_documentation/git-master/LJFunctorSVE_8h_source.html +++ b/doxygen_documentation/git-master/LJFunctorSVE_8h_source.html @@ -163,7 +163,7 @@
74 _aosThreadData.resize(autopas::autopas_get_max_threads());
75 }
76 if constexpr (countFLOPs) {
-
77 AutoPasLog(DEBUG, "Using LJFunctorSVE with countFLOPs but FLOP counting is not implemented."););
+
77 AutoPasLog(DEBUG, "Using LJFunctorSVE with countFLOPs but FLOP counting is not implemented.");
78 }
79 }
80#else
@@ -806,8 +806,8 @@
781 _potentialEnergySum /= 6.;
782 _postProcessed = true;
783
-
784 AutoPasLog(TRACE, "Final potential energy {}", _potentialEnergySum);
-
785 AutoPasLog(TRACE, "Final virial {}", _virialSum[0] + _virialSum[1] + _virialSum[2]);
+
784 AutoPasLog(DEBUG, "Final potential energy {}", _potentialEnergySum);
+
785 AutoPasLog(DEBUG, "Final virial {}", _virialSum[0] + _virialSum[1] + _virialSum[2]);
786 }
787 }
788
diff --git a/doxygen_documentation/git-master/LJFunctor_8h_source.html b/doxygen_documentation/git-master/LJFunctor_8h_source.html index 404b89fb7..898dcccf5 100644 --- a/doxygen_documentation/git-master/LJFunctor_8h_source.html +++ b/doxygen_documentation/git-master/LJFunctor_8h_source.html @@ -694,8 +694,8 @@
673 _potentialEnergySum /= 6.;
674 _postProcessed = true;
675
-
676 AutoPasLog(TRACE, "Final potential energy {}", _potentialEnergySum);
-
677 AutoPasLog(TRACE, "Final virial {}", _virialSum[0] + _virialSum[1] + _virialSum[2]);
+
676 AutoPasLog(DEBUG, "Final potential energy {}", _potentialEnergySum);
+
677 AutoPasLog(DEBUG, "Final virial {}", _virialSum[0] + _virialSum[1] + _virialSum[2]);
678 }
679 }
680
diff --git a/doxygen_documentation/git-master/LJMultisiteFunctor_8h_source.html b/doxygen_documentation/git-master/LJMultisiteFunctor_8h_source.html index aa74aade8..579122673 100644 --- a/doxygen_documentation/git-master/LJMultisiteFunctor_8h_source.html +++ b/doxygen_documentation/git-master/LJMultisiteFunctor_8h_source.html @@ -728,8 +728,8 @@
741 _potentialEnergySum /= 6.;
742 _postProcessed = true;
743
-
744 AutoPasLog(TRACE, "Final potential energy {}", _potentialEnergySum);
-
745 AutoPasLog(TRACE, "Final virial {}", _virialSum[0] + _virialSum[1] + _virialSum[2]);
+
744 AutoPasLog(DEBUG, "Final potential energy {}", _potentialEnergySum);
+
745 AutoPasLog(DEBUG, "Final virial {}", _virialSum[0] + _virialSum[1] + _virialSum[2]);
746 }
747 }
748
diff --git a/doxygen_documentation/git-master/LogicHandler_8h_source.html b/doxygen_documentation/git-master/LogicHandler_8h_source.html index e06611b71..63d03bb1b 100644 --- a/doxygen_documentation/git-master/LogicHandler_8h_source.html +++ b/doxygen_documentation/git-master/LogicHandler_8h_source.html @@ -267,7 +267,7 @@
179 // The next call also adds particles to the container if doDataStructureUpdate is true.
180 auto leavingBufferParticles = collectLeavingParticlesFromBuffer(doDataStructureUpdate);
181
-
182 AutoPasLog(DEBUG, "Initiating container update.");
+
182 AutoPasLog(TRACE, "Initiating container update.");
183 auto leavingParticles = _containerSelector.getCurrentContainer().updateContainer(not doDataStructureUpdate);
184 leavingParticles.insert(leavingParticles.end(), leavingBufferParticles.begin(), leavingBufferParticles.end());
185
@@ -1419,7 +1419,7 @@
1679 const auto allContainerTraversals =
1680 compatibleTraversals::allCompatibleTraversals(conf.container, conf.interactionType);
1681 if (allContainerTraversals.find(conf.traversal) == allContainerTraversals.end()) {
-
1682 AutoPasLog(DEBUG, "Configuration rejected: Container {} does not support the traversal {}.", conf.container,
+
1682 AutoPasLog(WARN, "Configuration rejected: Container {} does not support the traversal {}.", conf.container,
1683 conf.traversal);
1684 return {std::nullopt, true};
1685 }
diff --git a/doxygen_documentation/git-master/Smoothing_8cpp.html b/doxygen_documentation/git-master/Smoothing_8cpp.html index d151160ff..49940a99d 100644 --- a/doxygen_documentation/git-master/Smoothing_8cpp.html +++ b/doxygen_documentation/git-master/Smoothing_8cpp.html @@ -203,7 +203,7 @@

Returns
Tuple of a vector containing the weights for the neighbors and a bool indicating whether fitting is unnecessary.
+
Returns
Tuple of a vector containing the weights for the neighbors and a bool indicating whether the fitting should be used.
diff --git a/doxygen_documentation/git-master/Smoothing_8h_source.html b/doxygen_documentation/git-master/Smoothing_8h_source.html index 7f5416431..b658c3d37 100644 --- a/doxygen_documentation/git-master/Smoothing_8h_source.html +++ b/doxygen_documentation/git-master/Smoothing_8h_source.html @@ -131,7 +131,7 @@
28} // namespace autopas::smoothing
Algorithms for creating a smooth function through a series of points.
Definition: namespaces.h:31
-
long smoothLastPoint(const std::vector< Evidence > &points, size_t pointsPerEstimation)
Calculates the smoothed y value for the last point in the given points according to the LOESS algorit...
Definition: Smoothing.cpp:128
+
long smoothLastPoint(const std::vector< Evidence > &points, size_t pointsPerEstimation)
Calculates the smoothed y value for the last point in the given points according to the LOESS algorit...
Definition: Smoothing.cpp:117