OptaPlanner core 6.0.0.Beta3

org.optaplanner.core.impl.heuristic.selector.common.iterator
Class UpcomingSelectionIterator<S>

java.lang.Object
  extended by org.optaplanner.core.impl.heuristic.selector.common.iterator.UpcomingSelectionIterator<S>
All Implemented Interfaces:
Iterator<S>
Direct Known Subclasses:
AbstractOriginalSwapIterator, AbstractRandomSwapIterator, CartesianProductMoveSelector.OriginalCartesianProductMoveIterator

public abstract class UpcomingSelectionIterator<S>
extends Object
implements Iterator<S>


Field Summary
protected  S upcomingSelection
           
 
Constructor Summary
UpcomingSelectionIterator()
           
 
Method Summary
protected abstract  void createUpcomingSelection()
           
 boolean hasNext()
           
 S next()
           
 void remove()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

upcomingSelection

protected S upcomingSelection
Constructor Detail

UpcomingSelectionIterator

public UpcomingSelectionIterator()
Method Detail

hasNext

public boolean hasNext()
Specified by:
hasNext in interface Iterator<S>

next

public S next()
Specified by:
next in interface Iterator<S>

remove

public void remove()
Specified by:
remove in interface Iterator<S>

createUpcomingSelection

protected abstract void createUpcomingSelection()

OptaPlanner core 6.0.0.Beta3

Copyright © 2006-2013 JBoss by Red Hat. All Rights Reserved.