AgE 2.5 : Stop Condition

Stop Condition

To add a stop condition to the computation, define a component realizing the IStopCondition interface in the main configuration file (e.g. age.xml). Such a component definition is shown below: 

<component name="stopCondition" class="org.jage.workplace.FixedStepCountStopCondition" isSingleton="true">
	<constructor-arg>
		<value class="Long" value="10" />
	</constructor-arg>
</component>

 The above stop condition stops the workplaces after a given number of steps, specified to the constructor.