DOCUMENTATION TUTORIALS DOWNLOAD NEWS CONTRIBUTE

Built-in Architectures


This file is automatically generated from java files. Do Not Edit It.


INTRODUCTION


Table of Contents

[fsm](#fsm), [parallel_bdi](#parallel_bdi), [probabilistic_tasks](#probabilistic_tasks), [reflex](#reflex), [simple_bdi](#simple_bdi), [sorted_tasks](#sorted_tasks), [user_first](#user_first), [user_last](#user_last), [user_only](#user_only), [weighted_tasks](#weighted_tasks), 

fsm

Variables

  • state (string): Returns the current state in which the agent is
  • states (list): Returns the list of all possible states the agents can be in

Actions


parallel_bdi

Variables

Actions


probabilistic_tasks

Variables

Actions


reflex

Variables

Actions


simple_bdi

Variables

  • belief_base (list):
  • charisma (float):
  • current_plan (any type):
  • desire_base (list):
  • emotion_base (list):
  • intention_base (list):
  • intention_persistence (float): intention persistence
  • plan_base (list):
  • plan_persistence (float): plan persistence
  • probabilistic_choice (boolean):
  • receptivity (float):
  • social_link_base (list):
  • thinking (list):
  • uncertainty_base (list):
  • use_emotions_architecture (boolean):
  • use_social_architecture (boolean):

Actions

add_belief

add the predicate in the belief base.

  • returns: bool
  • predicate (546704): predicate to add as a belief

add_desire

adds the predicates is in the desire base.

  • returns: bool
  • predicate (546704): predicate to add
  • todo (546704): add the desire as a subintention of this parameter

add_emotion

add the emotion to the emotion base.

  • returns: bool
  • emotion (546706): emotion to add to the base

add_intention

check if the predicates is in the desire base.

  • returns: bool
  • predicate (map): predicate to check

add the social link to the social link base.

  • returns: bool
  • social_link (546707): social link to add to the base

add_subintention

adds the predicates is in the desire base.

  • returns: bool
  • predicate (546704): predicate name
  • subintentions (546704): the subintention to add to the predicate
  • add_as_desire (boolean): add the subintention as a desire as well (by default, false)

add_uncertainty

add a predicate in the uncertainty base.

  • returns: bool
  • predicate (546704): predicate to check

clear_beliefs

clear the belief base

  • returns: bool

clear_desires

clear the desire base

  • returns: bool

clear_emotions

clear the emotion base

  • returns: bool

clear_intentions

clear the intention base

  • returns: bool

clear the intention base

  • returns: bool

clear_uncertainties

clear the uncertainty base

  • returns: bool

current_intention_on_hold

puts the current intention on hold until the specified condition is reached or all subintentions are reached (not in desire base anymore).

  • returns: bool
  • until (any type): the current intention is put on hold (fited plan are not considered) until specific condition is reached. Can be an expression (which will be tested), a list (of subintentions), or nil (by default the condition will be the current list of subintentions of the intention)

get_belief

get the predicate in the belief base (if several, returns the first one).

  • returns: predicate
  • predicate (546704): predicate to get

get_belief_with_name

get the predicates is in the belief base (if several, returns the first one).

  • returns: predicate
  • name (string): name of the predicate to check

get_beliefs

get the list of predicates is in the belief base

  • returns: msi.gama.util.IList
  • predicate (546704): name of the predicates to check

get_beliefs_with_name

get the list of predicates is in the belief base with the given name.

  • returns: msi.gama.util.IList
  • name (string): name of the predicates to check

get_current_intention

returns the current intention (last entry of intention base).

  • returns: predicate

get_desire

get the predicates is in the desire base (if several, returns the first one).

  • returns: predicate
  • predicate (546704): predicate to check

get_desire_with_name

get the predicates is in the belief base (if several, returns the first one).

  • returns: predicate
  • name (string): name of the predicate to check

get_desires

get the list of predicates is in the belief base

  • returns: msi.gama.util.IList
  • predicate (546704): name of the predicates to check

get_desires_with_name

get the list of predicates is in the belief base with the given name.

  • returns: java.util.List
  • name (string): name of the predicates to check

get_emotion

get the emotion in the emotion base (if several, returns the first one).

  • returns: emotion
  • emotion (546706): emotion to get

get_intention

get the predicates is in the belief base (if several, returns the first one).

  • returns: predicate
  • predicate (546704): predicate to check

get_intention_with_name

get the predicates is in the belief base (if several, returns the first one).

  • returns: predicate
  • name (string): name of the predicate to check

get_intentions

get the list of predicates is in the belief base

  • returns: msi.gama.util.IList
  • predicate (546704): name of the predicates to check

get_intentions_with_name

get the list of predicates is in the belief base with the given name.

  • returns: java.util.List
  • name (string): name of the predicates to check

get_plans

get the list of plans.

  • returns: java.util.List

get the social linke (if several, returns the first one).

  • returns: msi.gaml.architecture.simplebdi.SocialLink
  • social_link (546707): social link to check

get_uncertainty

get the predicates is in the uncertainty base (if several, returns the first one).

  • returns: predicate
  • predicate (546704): predicate to check

has_belief

check if the predicates is in the belief base.

  • returns: bool
  • predicate (546704): predicate to check

has_desire

check if the predicates is in the desire base.

  • returns: bool
  • predicate (546704): predicate to check

has_emotion

check if the emotion is in the belief base.

  • returns: bool
  • emotion (546706): emotion to check

check if the social link base.

  • returns: bool
  • social_link (546707): social link to check

has_uncertainty

check if the predicates is in the uncertainty base.

  • returns: bool
  • predicate (546704): predicate to check

is_current_intention

check if the predicates is the current intention (last entry of intention base).

  • returns: bool
  • predicate (546704): predicate to check

remove_all_beliefs

removes the predicates from the belief base.

  • returns: bool
  • predicate (546704): predicate to remove

remove_belief

removes the predicate from the belief base.

  • returns: bool
  • predicate (546704): predicate to remove

remove_desire

removes the predicates from the desire base.

  • returns: bool
  • predicate (546704): predicate to add

remove_emotion

removes the emotion from the emotion base.

  • returns: bool
  • emotion (546706): emotion to remove

remove_intention

removes the predicates from the desire base.

  • returns: bool
  • predicate (546704): predicate to add
  • desire_also (boolean): removes also desire

removes the social link from the social relation base.

  • returns: bool
  • social_link (546707): social link to remove

remove_uncertainty

removes the predicates from the desire base.

  • returns: bool
  • predicate (546704): predicate to add

replace_belief

replace the old predicate by the new one.

  • returns: bool
  • old_predicate (546704): predicate to remove
  • predicate (546704): predicate to add

sorted_tasks

Variables

Actions


user_first

Variables

Actions


user_last

Variables

Actions


user_only

Variables

Actions


weighted_tasks

Variables

Actions