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() |
removeclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitforEachRemainingprotected 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–2021 JBoss by Red Hat. All rights reserved.