Package org.simplesim.reasoning
Interface AspirationAdaptation.GoalVariable
- Enclosing class:
- AspirationAdaptation
public static interface AspirationAdaptation.GoalVariable
abstraction layer for the goal variables / objectives
-
Method Summary
Modifier and TypeMethodDescriptiondouble
The step size of scale of the goal variable.double
getLimit()
When the limit is reached, the goal variable no longer is urgent.double
getValue()
The current value of the goal variable.default boolean
isUrgent()
A goal is urgent as long as its value is below the limit.
-
Method Details
-
getLimit
double getLimit()When the limit is reached, the goal variable no longer is urgent. The limit has to be a positive value. -
getValue
double getValue()The current value of the goal variable. -
getIncrement
double getIncrement()The step size of scale of the goal variable. -
isUrgent
default boolean isUrgent()A goal is urgent as long as its value is below the limit.
-