Class GoalStatus

java.lang.Object
eu.iv4xr.framework.extensions.occ.GoalStatus
All Implemented Interfaces:
Cloneable

public class GoalStatus extends Object implements Cloneable
Runtime status of a goal, see Goal.
  • Field Details

    • goal

      public Goal goal
    • maxLikelihood

      public static int maxLikelihood
      Maximum value for likelihood. Set at 100.
    • likelihood

      public int likelihood
      The goal likelihood. We will represent this as as an integer in the range of 0..100, with 0 means that the goal is believed, with certainty, not to happen; 100 is the opposite.
    • isAchieved

      public boolean isAchieved
    • isFailed

      public boolean isFailed
  • Constructor Details

    • GoalStatus

      public GoalStatus()
  • Method Details

    • goalName

      public String goalName()
    • setAsFailed

      public void setAsFailed()
    • setAsAchieved

      public void setAsAchieved()
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • clone

      public Object clone()
      Making a deep clone of this object.
      Overrides:
      clone in class Object