API Docs for:
Show:

TUDelft.Gamygdala.Goal Class

Defined in: Gamygdala.js:942

This class is mainly a data structure to store a goal with it's utility and likelihood of being achieved This is used as basis for interpreting Beliefs

Constructor

TUDelft.Gamygdala.Goal

(
  • name
  • utility
  • [isMaintenanceGoal]
)

Defined in Gamygdala.js:942

Parameters:

  • name String

    The name of the goal

  • utility Double

    The utility of the goal

  • [isMaintenanceGoal] Boolean optional

    Defines if the goal is a maintenance goal or not. The default is that the goal is an achievement goal, i.e., a goal that once it's likelihood reaches true (1) or false (-1) stays that way.

Item Index