Difference between revisions of "Test Condition"

From AgentCubes
Jump to navigation Jump to search
imported>Andri
(Created page with "Category:AgentCubes_Conditions")
 
imported>Andri
Line 1: Line 1:
 +
[[image:Test condition.png|150px]]
 +
 +
<table cellpadding="10" cellspacing="0" border="0" width="100%">
 +
<tr>
 +
<td align="left" valign="top" width="80"><b>Definition:</b></td>
 +
<td align="left" valign="top" width="100%">The <strong>Test</strong> 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.</td>
 +
</tr>
 +
<tr>
 +
<td align="left" valign="top" width="80"><b>Parameters:</b></td>
 +
<td align="left" valign="top" width="100%">[[Formula parameter|formula]]</td>
 +
</tr>
 +
<tr>
 +
<td align="left" valign="top" width="80"><b>Example:</b></td>
 +
<td align="left" valign="top" width="100%">
 +
[[Image:Test condition example.png|500px]]</td>
 +
</tr>
 +
 +
</table>
 +
 
[[Category:AgentCubes_Conditions]]
 
[[Category:AgentCubes_Conditions]]

Revision as of 20:39, 17 June 2011

150px

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
Example: 500px