Class CompoundTerminationCondition

java.lang.Object
org.moeaframework.core.termination.CompoundTerminationCondition
All Implemented Interfaces:
Iterable<TerminationCondition>, Named, TerminationCondition

public class CompoundTerminationCondition extends Object implements TerminationCondition, Iterable<TerminationCondition>
Terminates a run when one or more termination conditions are satisfied.
  • Constructor Details

    • CompoundTerminationCondition

      public CompoundTerminationCondition(TerminationCondition... conditions)
      Constructs a new termination condition based on at least one individual termination condition being satisfied.
      Parameters:
      conditions - the termination conditions
  • Method Details