public class UnionMoveSelector.RandomUnionMoveIterator extends SelectionIterator<Move>
Modifier and Type | Field and Description |
---|---|
protected NavigableMap<Double,Iterator<Move>> |
moveIteratorMap |
protected Map<Iterator<Move>,org.optaplanner.core.impl.heuristic.selector.move.composite.UnionMoveSelector.ProbabilityItem> |
probabilityItemMap |
protected double |
probabilityWeightTotal |
protected boolean |
stale |
Constructor and Description |
---|
RandomUnionMoveIterator() |
Modifier and Type | Method and Description |
---|---|
boolean |
hasNext() |
Move |
next() |
remove
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
forEachRemaining
protected final Map<Iterator<Move>,org.optaplanner.core.impl.heuristic.selector.move.composite.UnionMoveSelector.ProbabilityItem> probabilityItemMap
protected final NavigableMap<Double,Iterator<Move>> moveIteratorMap
protected double probabilityWeightTotal
protected boolean stale
public boolean hasNext()
public Move next()
Copyright © 2006–2017 JBoss by Red Hat. All rights reserved.