Documentation Tutorials Download Contribute



Built-in Species


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


It is possible to use in the models a set of built-in agents. These agents allow to directly use some advance features like clustering, multi-criteria analysis, etc. The creation of these agents are similar as for other kinds of agents:

create species: my_built_in_agent returns: the_agent;

So, for instance, to be able to use clustering techniques in the model:

create cluster_builder returns: clusterer;

Table of Contents

agent, AgentDB, base_edge, experiment, graph_edge, graph_node, physical_world,


agent

Actions

_init_

  • returns: unknown

_step_

  • returns: unknown

AgentDB

Actions

close

  • returns: unknown

connect

  • returns: unknown

  • params (map): Connection parameters

executeUpdate

  • returns: int

  • updateComm (string): SQL commands such as Create, Update, Delete, Drop with question mark
  • values (list): List of values that are used to replace question mark

getParameter

  • returns: unknown

insert

  • returns: int

  • into (string): Table name
  • columns (list): List of column name of table
  • values (list): List of values that are used to insert into table. Columns and values must have same size

isConnected

  • returns: bool

select

  • returns: list

  • select (string): select string
  • values (list): List of values that are used to replace question marks

setParameter

  • returns: unknown

  • params (map): Connection parameters

testConnection

  • returns: bool

  • params (map): Connection parameters

timeStamp

  • returns: float

base_edge

Actions


experiment

Actions

compact_memory

Forces a ‘garbage collect’ of the unused objects in GAMA

  • returns: unknown

update_outputs

Forces all outputs to refresh, optionally recomputing their values

  • returns: unknown

  • recompute (boolean): Whether or not to force the outputs to make a computation step


graph_edge

Actions


graph_node

Actions

This operator should never be called

  • returns: bool

  • other (agent): The other agent


physical_world

Actions

compute_forces

  • returns: unknown

  • step (float):