Class Goal

java.lang.Object
eu.iv4xr.framework.extensions.occ.Goal

public class Goal extends Object
Representing a goal that is considered to be emotionally relevant for some emotion-aware agent. For example, if the agent simulates a human bus driver, a goal could be "reaching the end station on time". The name of a goal is assumed to be unique. Furthermore, a goal is assumed to be unique in the sense that we should not have two instances of the same goal, existing at the same time in the state of an agent.
  • Field Details

    • name

      public String name
    • significance

      public int significance
  • Constructor Details

    • Goal

      public Goal()
    • Goal

      public Goal(String name)
    • Goal

      public Goal(String name, int significane)
  • Method Details

    • withSignificance

      public Goal withSignificance(int significance)
    • toString

      public String toString()
      Overrides:
      toString in class Object