Replies the discontenment value that corresponds to the given insistence value. By default, the discontenment value is equal to the square of the insistence.
Parameters:
insistence - the insistence value for which the discontenement must be computed.
Returns:
the discontenement value.
getInsistence
def getInsistence : double
Replies the insistence value that is associated to the goal.
Returns:
the positive value of the insistence.
getInsistenceChangePerTimeUnit
def getInsistenceChangePerTimeUnit : double
Replies the change to apply to the insistence of this goal when the time progress about one unit.
Returns:
the insistence progress for a time unit.
getName
def getName : java.lang.String
Replies the name of the goal.
Returns:
the name.
setInsistence(double)
def setInsistence(double)
Change the insistence value that is associated to the goal.
Parameters:
newInsistence - the positive value of the insistence.