org.drools.planner.core.heuristic.selector.common.iterator
Class AbstractOriginalSwapIterator<S,SubS>
java.lang.Object
org.drools.planner.core.heuristic.selector.common.iterator.UpcomingSelectionIterator<S>
org.drools.planner.core.heuristic.selector.common.iterator.AbstractOriginalSwapIterator<S,SubS>
- All Implemented Interfaces:
- Iterator<S>
public abstract class AbstractOriginalSwapIterator<S,SubS>
- extends UpcomingSelectionIterator<S>
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
leftSubSelector
protected final ListIterable<SubS> leftSubSelector
rightSubSelector
protected final ListIterable<SubS> rightSubSelector
leftEqualsRight
protected final boolean leftEqualsRight
AbstractOriginalSwapIterator
public AbstractOriginalSwapIterator(ListIterable<SubS> leftSubSelector,
ListIterable<SubS> rightSubSelector)
getSize
public static <SubS> long getSize(Selector leftSubSelector,
Selector rightSubSelector)
createUpcomingSelection
protected void createUpcomingSelection()
- Specified by:
createUpcomingSelection
in class UpcomingSelectionIterator<S>
newSwapSelection
protected abstract S newSwapSelection(SubS leftSubSelection,
SubS rightSubSelection)
Copyright © 2001-2012 JBoss by Red Hat. All Rights Reserved.