Class NeighborhoodSchedulerRoundRobin

    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected java.util.List<java.util.Set<org.opt4j.core.Individual>> neighborhoods  
      protected int nextIdx  
    • Constructor Summary

      Constructors 
      Constructor Description
      NeighborhoodSchedulerRoundRobin​(java.util.List<java.util.Set<org.opt4j.core.Individual>> neighborhoods)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.util.Set<org.opt4j.core.Individual> next()
      Returns a copy of the neighborhood that shall be used for the creation of the next pair of parents.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • neighborhoods

        protected final java.util.List<java.util.Set<org.opt4j.core.Individual>> neighborhoods
      • nextIdx

        protected int nextIdx
    • Constructor Detail

      • NeighborhoodSchedulerRoundRobin

        public NeighborhoodSchedulerRoundRobin​(java.util.List<java.util.Set<org.opt4j.core.Individual>> neighborhoods)
    • Method Detail

      • next

        public java.util.Set<org.opt4j.core.Individual> next()
        Description copied from interface: NeighborhoodScheduler
        Returns a copy of the neighborhood that shall be used for the creation of the next pair of parents.
        Specified by:
        next in interface NeighborhoodScheduler
        Returns:
        copy of the neighborhood set