Changeset 82e5fb for src/Actions
- Timestamp:
- May 25, 2021, 11:04:50 PM (5 years ago)
- Branches:
- Candidate_v1.7.0, Candidate_v1.7.1, stable
- Children:
- 91793c
- Parents:
- 889067e
- git-author:
- Frederik Heber <frederik.heber@…> (05/25/21 21:55:59)
- git-committer:
- Frederik Heber <frederik.heber@…> (05/25/21 23:04:50)
- Location:
- src/Actions/PotentialAction
- Files:
-
- 4 edited
-
FitCompoundPotentialAction.cpp (modified) (1 diff)
-
FitCompoundPotentialAction.def (modified) (1 diff)
-
FitPotentialAction.cpp (modified) (1 diff)
-
FitPotentialAction.def (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
src/Actions/PotentialAction/FitCompoundPotentialAction.cpp
r889067e r82e5fb 104 104 graph, 105 105 params.training_file.get(), 106 params.error_file.get(), 106 107 params.max_iterations.get(), 107 108 params.threshold.get(), -
src/Actions/PotentialAction/FitCompoundPotentialAction.def
r889067e r82e5fb 23 23 // ValueStorage by the token "Z" -> first column: int, Z, "Z" 24 24 // "undefine" if no parameters are required, use (NOPARAM_DEFAULT) for each (undefined) default value 25 #define paramtypes (boost::filesystem::path)( std::vector<const element *>)(unsigned int)(double)(unsigned int)26 #define paramtokens ("training-file")(" fragment-charges")("take-best-of")("set-threshold")("set-max-iterations")27 #define paramdescriptions ("optional file to write training data to")(" charges specifying the fragment")("take the best among this many approximations")("Require L2 error to be smaller than threshold, overrides number of attempts")("sets the maximum number of iterations spent on the optimization of parameters")28 #define paramdefaults (PARAM_DEFAULT(""))( NOPARAM_DEFAULT)(PARAM_DEFAULT(3))(PARAM_DEFAULT(1.))(PARAM_DEFAULT(100))29 #define paramreferences (training_file)( fragment)(best_of_howmany)(threshold)(max_iterations)25 #define paramtypes (boost::filesystem::path)(boost::filesystem::path)(std::vector<const element *>)(unsigned int)(double)(unsigned int) 26 #define paramtokens ("training-file")("error-file")("fragment-charges")("take-best-of")("set-threshold")("set-max-iterations") 27 #define paramdescriptions ("optional file to write training data to")("optional file to write error data to")("charges specifying the fragment")("take the best among this many approximations")("Require L2 error to be smaller than threshold, overrides number of attempts")("sets the maximum number of iterations spent on the optimization of parameters") 28 #define paramdefaults (PARAM_DEFAULT(""))(PARAM_DEFAULT(""))(NOPARAM_DEFAULT)(PARAM_DEFAULT(3))(PARAM_DEFAULT(1.))(PARAM_DEFAULT(100)) 29 #define paramreferences (training_file)(error_file)(fragment)(best_of_howmany)(threshold)(max_iterations) 30 30 #define paramvalids \ 31 (DummyValidator<boost::filesystem::path>()) \ 31 32 (DummyValidator<boost::filesystem::path>()) \ 32 33 (STLVectorValidator< std::vector<const element *> >(1,99, ElementValidator())) \ -
src/Actions/PotentialAction/FitPotentialAction.cpp
r889067e r82e5fb 141 141 graph, 142 142 params.training_file.get(), 143 params.error_file.get(), 143 144 params.max_iterations.get(), 144 145 params.threshold.get(), -
src/Actions/PotentialAction/FitPotentialAction.def
r889067e r82e5fb 23 23 // ValueStorage by the token "Z" -> first column: int, Z, "Z" 24 24 // "undefine" if no parameters are required, use (NOPARAM_DEFAULT) for each (undefined) default value 25 #define paramtypes (boost::filesystem::path)( std::string)(std::vector<const element *>)(std::vector<const element *>)(unsigned int)(double)(unsigned int)26 #define paramtokens ("training-file")(" potential-type")("potential-charges")("fragment-charges")("take-best-of")("set-threshold")("set-max-iterations")27 #define paramdescriptions ("optional file to write training data to")(" potential type to fit")("charges specifying the potential")("charges specifying the fragment")("take the best among this many approximations")("Require L2 error to be smaller than threshold, overrides number of attempts")("sets the maximum number of iterations spent on the optimization of parameters")28 #define paramdefaults (PARAM_DEFAULT(""))( NOPARAM_DEFAULT)(NOPARAM_DEFAULT)(NOPARAM_DEFAULT)(PARAM_DEFAULT(3))(PARAM_DEFAULT(1.))(PARAM_DEFAULT(100))29 #define paramreferences (training_file)( potentialtype)(charges)(fragment)(best_of_howmany)(threshold)(max_iterations)25 #define paramtypes (boost::filesystem::path)(boost::filesystem::path)(std::string)(std::vector<const element *>)(std::vector<const element *>)(unsigned int)(double)(unsigned int) 26 #define paramtokens ("training-file")("error-file")("potential-type")("potential-charges")("fragment-charges")("take-best-of")("set-threshold")("set-max-iterations") 27 #define paramdescriptions ("optional file to write training data to")("optional file to write error data to")("potential type to fit")("charges specifying the potential")("charges specifying the fragment")("take the best among this many approximations")("Require L2 error to be smaller than threshold, overrides number of attempts")("sets the maximum number of iterations spent on the optimization of parameters") 28 #define paramdefaults (PARAM_DEFAULT(""))(PARAM_DEFAULT(""))(NOPARAM_DEFAULT)(NOPARAM_DEFAULT)(NOPARAM_DEFAULT)(PARAM_DEFAULT(3))(PARAM_DEFAULT(1.))(PARAM_DEFAULT(100)) 29 #define paramreferences (training_file)(error_file)(potentialtype)(charges)(fragment)(best_of_howmany)(threshold)(max_iterations) 30 30 #define paramvalids \ 31 (DummyValidator<boost::filesystem::path>()) \ 31 32 (DummyValidator<boost::filesystem::path>()) \ 32 33 (PotentialTypeValidator()) \
Note:
See TracChangeset
for help on using the changeset viewer.
