Call Macro @stop criteria reached
i have a java macro which I want to call at the end of simulation. For example, after running 2000 iterations it should start the macro. This should work with if-then-else, but I do not know how to call the stop criteria
you should be looking at the class SimulationIterator. calling the method getCurrentIteration will return you the current iteration number and if it satisfies your criterion you can call either call the other macro (another method right) or stop.
You can have more details in this class star.common.SimulationIterator.
if you are looking for the exact syntax or example code, I won't be able to help much. hope this helps
|All times are GMT -4. The time now is 20:39.|