Difference between revisions of "Test Condition"
Jump to navigation
Jump to search
imported>Mike |
imported>Corrina |
||
(2 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
− | [[ | + | [[Image:Test age action.png|150px|Test age action.png]] |
− | [[ | + | [[Image:Test expanded.png|150px|Test expanded.png]] |
− | + | {| cellpadding="10" cellspacing="0" border="0" width="100%" | |
− | + | |- | |
− | + | | align="left" valign="top" width="80" | '''Definition:''' | |
− | + | | align="left" valign="top" width="100%" | 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. | |
− | 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. | + | |- |
− | + | | align="left" valign="top" width="80" | '''Parameters:''' | |
− | + | | align="left" valign="top" width="100%" | | |
− | + | [[VAT Formula parameter|formula1]]: Attribute name, Number or VAT formula | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | + | [[Comparator parameter|comparator]]: Comparator selector | |
+ | |||
+ | [[VAT Formula parameter|formula2]]: Attribute name, Number or VAT formula | ||
+ | |||
+ | |- | ||
+ | | align="left" valign="top" width="80" | '''Example:''' | ||
+ | | align="left" valign="top" width="100%" | | ||
+ | |} | ||
[[Category:AgentCubes_Conditions]] | [[Category:AgentCubes_Conditions]] |
Latest revision as of 01:02, 21 April 2012
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: |