Class DefaultSimulationIterator

All Implemented Interfaces:
FWSimFieldContainer
Direct Known Subclasses:
ShrinkParameterspaceIterator

public class DefaultSimulationIterator extends FWSimulationIterator
Default iterator: runs the first iteration, and further iterations as long as the constraint is fulfilled, up to maxCount iterations.
Author:
Andreas Enders
  • Constructor Details

    • DefaultSimulationIterator

      public DefaultSimulationIterator(org.jdom2.Element aSimulationIteratorElement, FWSimSession aSession)
      Parameters:
      aSimulationIteratorElement - the iterator element, may be null
      aSession - the session
  • Method Details

    • iterate

      protected boolean iterate(String aProjectID)
      Runs the iteration if it is the first one or the constraint is fulfilled, and the maximum number of iterations is not exceeded. The decision is logged.
      Specified by:
      iterate in class FWSimulationIterator
      Parameters:
      aProjectID - id of the project, or null in GLOBAL calibration mode
      Returns:
      true if another iteration is run
      See Also: