Scine::Readuct  6.0.0
This is the SCINE module ReaDuct.
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Pages
EnergyEditor.h
Go to the documentation of this file.
1 
8 #ifndef READUCT_ELEMENTARYSTEPOPTIMIZATION_COSTCALCULATORS_ENERGYEDITOR_H
9 #define READUCT_ELEMENTARYSTEPOPTIMIZATION_COSTCALCULATORS_ENERGYEDITOR_H
10 
11 #include "CostCalculatorEditor.h"
12 #include "Energy.h"
13 
14 // TODO: Improve documentation
15 
16 namespace Scine {
17 namespace Readuct {
18 
19 namespace ElementaryStepOptimization {
20 
21 namespace CostBasedOptimization {
22 
26 class EnergyEditor : public CostCalculatorEditorImpl<Energy> {
27  public:
28  Utils::UniversalSettings::DescriptorCollection getSettingDescriptors() const override;
29 
30  private:
31  void applyImpl(Energy& instance, const Utils::UniversalSettings::ValueCollection& values) const override;
32  Utils::UniversalSettings::ValueCollection getAppliedSettingsImpl(const Energy& instance) const override;
33 };
34 
35 } // namespace CostBasedOptimization
36 
37 } // namespace ElementaryStepOptimization
38 
39 } // namespace Readuct
40 } // namespace Scine
41 #endif // READUCT_ELEMENTARYSTEPOPTIMIZATION_COSTCALCULATORS_ENERGYEDITOR_H