Test Condition

From AgentCubes
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:

formula1: Attribute name, Number or VAT formula

comparator:  Comparator selector

formula2: Attribute name, Number or VAT formula

Example: