Difference between revisions of "Test Condition"
Jump to navigation
Jump to search
imported>Corrina |
imported>Corrina |
||
Line 5: | Line 5: | ||
{| cellpadding="10" cellspacing="0" border="0" width="100%" | {| cellpadding="10" cellspacing="0" border="0" width="100%" | ||
|- | |- | ||
− | | align="left" valign="top" width="80" | '''Definition:''' | + | | 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. | | 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. | ||
|- | |- | ||
− | | align="left" valign="top" width="80" | '''Parameters:''' | + | | align="left" valign="top" width="80" | '''Parameters:''' |
| align="left" valign="top" width="100%" | | | align="left" valign="top" width="100%" | | ||
− | [[Formula parameter| | + | [[VAT Formula parameter|formula1]]: Attribute name, Number or VAT formula |
− | comparator: | + | [[Comparator parameter|comparator]]: Comparator selector |
− | formula2: Attribute name, Number or VAT formula | + | [[VAT Formula parameter|formula2]]: Attribute name, Number or VAT formula |
|- | |- | ||
− | | align="left" valign="top" width="80" | '''Example:''' | + | | align="left" valign="top" width="80" | '''Example:''' |
| align="left" valign="top" width="100%" | | | 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: |