|
OptaPlanner distribution 6.2.0.CR2 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.optaplanner.core.impl.heuristic.selector.common.iterator.SelectionIterator<S>
org.optaplanner.core.impl.heuristic.selector.common.iterator.UpcomingSelectionIterator<S>
org.optaplanner.core.impl.heuristic.selector.common.iterator.AbstractOriginalSwapIterator<S,SubS>
public abstract class AbstractOriginalSwapIterator<S,SubS>
| Field Summary | |
|---|---|
protected boolean |
leftEqualsRight
|
protected ListIterable<SubS> |
leftSubSelector
|
protected ListIterable<SubS> |
rightSubSelector
|
| Fields inherited from class org.optaplanner.core.impl.heuristic.selector.common.iterator.UpcomingSelectionIterator |
|---|
hasUpcomingSelection, upcomingCreated, upcomingSelection |
| Constructor Summary | |
|---|---|
AbstractOriginalSwapIterator(ListIterable<SubS> leftSubSelector,
ListIterable<SubS> rightSubSelector)
|
|
| Method Summary | ||
|---|---|---|
protected S |
createUpcomingSelection()
|
|
static
|
getSize(ListIterableSelector leftSubSelector,
ListIterableSelector rightSubSelector)
|
|
protected abstract S |
newSwapSelection(SubS leftSubSelection,
SubS rightSubSelection)
|
|
| Methods inherited from class org.optaplanner.core.impl.heuristic.selector.common.iterator.UpcomingSelectionIterator |
|---|
hasNext, next, noUpcomingSelection, toString |
| Methods inherited from class org.optaplanner.core.impl.heuristic.selector.common.iterator.SelectionIterator |
|---|
remove |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
protected final ListIterable<SubS> leftSubSelector
protected final ListIterable<SubS> rightSubSelector
protected final boolean leftEqualsRight
| Constructor Detail |
|---|
public AbstractOriginalSwapIterator(ListIterable<SubS> leftSubSelector,
ListIterable<SubS> rightSubSelector)
| Method Detail |
|---|
public static <SubS> long getSize(ListIterableSelector leftSubSelector,
ListIterableSelector rightSubSelector)
protected S createUpcomingSelection()
createUpcomingSelection in class UpcomingSelectionIterator<S>
protected abstract S newSwapSelection(SubS leftSubSelection,
SubS rightSubSelection)
|
OptaPlanner distribution 6.2.0.CR2 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||