[Geneticd-devel] Added named agents
Status: Alpha
Brought to you by:
jonnymind
|
From: Jonny M. <jon...@ni...> - 2001-12-15 14:54:41
|
Now agents can be named. The name of agents can be a simbolic reference "eg. eddie". Agents "complete" name is formed by the "family" name (again, "eddie") a minus sign and generation id, starting from 0. The father has id "eddie-0", it's childs have ids "eddie-1", etc. An agent can be referenced by full name or by numeric id (the position in the population) in all commands referencing agents. Eg: dage 0 eddie-0 or dage 0 14 (eddie-0 it's the 14th agent). Name of agents can be dinamically changed with the command nage: nage <eng-id> <agent-id> - displays the agent's full name nage <eng-id> <agent-id> <name> - changes family name; generation will be 0 This change is meant for human readers that wish to follow the destiny of a particular agent. Software client can still safely reference agents with their position in the population. |