Test Condition

From AgentCubes
Revision as of 01:01, 21 April 2012 by imported>Corrina
Jump to navigation Jump to search

Test age action.png

Test expanded.png

Definition: The Test condition compares the values of two formulae. If the comparison yields true, then the condition is true. Otherwise, it is false. Test is typically used to compare agent attributes or simulation properties to numbers or formulae that may contain other attributes or properties.
Parameters:

formula: Attribute name, Number or VAT formula

comparator: 

formula2: Attribute name, Number or VAT formula

Example: