DOCUMENTATION TUTORIALS DOWNLOAD NEWS 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, model, 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: container

  • 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

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

  • returns: bool

  • other (agent):


model

Actions

halt

Allows to stop the current simulation so that cannot be continued after. All the behaviors and updates are stopped.

  • returns: unknown

pause

Allows to pause the current simulation ACTUALLY EXPERIMENT FOR THE MOMENT. It can be set to continue with the manual intervention of the user.

  • returns: unknown

physical_world

Actions

compute_forces

  • returns: unknown