Class MinimumEnergy
Defined in File BreakCondition.h
Inheritance Relationships
Base Type
public AbstractCondition
(Class AbstractCondition)
Class Documentation
-
class MinimumEnergy : public AbstractCondition
Deactivates the candidate below a minimum energy.
This module deactivates the candidate below a given minimum energy. In that case the property (“Deactivated”, module::description) is set.
Public Functions
-
MinimumEnergy(double minEnergy = 0)
-
void setMinimumEnergy(double energy)
-
double getMinimumEnergy() const
-
virtual std::string getDescription() const
-
void setMakeRejectedInactive(bool makeInactive)
-
void setMakeAcceptedInactive(bool makeInactive)
-
void setRejectFlag(std::string key, std::string value)
-
void setAcceptFlag(std::string key, std::string value)
-
void setDescription(const std::string &description)
-
inline size_t addReference() const
-
inline size_t removeReference() const
-
inline int removeReferenceNoDelete() const
-
inline size_t getReferenceCount() const
Protected Functions
-
MinimumEnergy(double minEnergy = 0)