Difference between revisions of "Test Condition"
Jump to navigation
Jump to search
imported>Corrina |
imported>Corrina |
||
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%" | | |
− | + | [[Formula parameter|formula]]: Attribute name, Number or VAT formula | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | + | comparator: | |
+ | |||
+ | 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]] |
Revision as of 01:01, 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: |
formula: Attribute name, Number or VAT formula comparator: formula2: Attribute name, Number or VAT formula |
Example: |