Last updated: April 27, 2007
Evolve 4.0
VOLVE    4.0

Find Dialog

match organisms that have between 20 and 40 units of energy

The find dialog can be access by the Edit >> Find menu item, or pressing Ctrl+F.

Use this dialog if you want to search for organisms with certain properties. You enter a search expression using KFORTH notation. The matching organisms will be tagged using the radioactive tracer feature.

Examples


  MAX-ENERGY ENERGY =

Find all organisms that have the maximum energy.


  AGE 100 >=  NCHILDREN 1 = and

Find organisms that are at least 100 steps old, and have 1 living children


  NUM-CB 45 = NUM-DEAD 1 >= and

Find organisms that have a kforth program consiting of 45 code blocks, and have 1 or more dead cells.


  NUM-CELLS 20 >= NUM-CELLS 25 <= and

Find organisms with between 20 and 25 cells.


  parent1 parent2 <>

Find organisms that were created sexually.

Click on [INSTRUCTIONS] to see the available kforth instructions for this mode. (only the find related instructions are shown).

The results of the find operation are shown using Radioactive Tracers. A find expression of "0" or blank will clear all tracers.

NOTE: Syntax errors will be checked for. However another kind of error is one in which the number of items on the data stack is not 1. In this case the expression is treated as FALSE. (For example the expression, "AGE AGE" leaves two values on the stack, and so always is treated as FALSE).

The strain population dialog will show the number of organisms with radioactive tracers.

Minimum, Maximum, Average Instructions

There are a couple KFORTH instructions that are computed by examining all organisms. These are the MIN, MAX and AVG instructions.

The MIN / MAX / AVG instructions return values that get computed based on the overall simulation. So MAX-ENERGY would be the maximum energy value for all organisms in the current simulation. AVG-ENERGY is the average energy value for all organisms. MIN-ENERGY would the smallest energy value found after examining all organisms. THese MIN/MAX/AVG constants can be used to search for the organism with the most or least value. (Click on the [Instructions] button to see the full list).