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 |
---|
UnionMoveSelector.RandomUnionMoveIterator() |
Modifier and Type | Method and Description |
---|---|
boolean |
hasNext() |
Move |
next() |
remove
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 UnionMoveSelector.RandomUnionMoveIterator()
public boolean hasNext()
public Move next()
Copyright © 2006–2016 JBoss by Red Hat. All rights reserved.