public static class SwitchStrategy.SequentialStrategy extends SwitchStrategy
SwitchStrategy.BaseSwitchClosure, SwitchStrategy.BinaryStrategy, SwitchStrategy.RangesStrategy, SwitchStrategy.SequentialStrategy
Modifier and Type | Field and Description |
---|---|
private Integer[] |
indexes |
keyConstants, keyProbabilities
Constructor and Description |
---|
SequentialStrategy(double[] keyProbabilities,
JavaConstant[] keyConstants) |
Modifier and Type | Method and Description |
---|---|
void |
run(SwitchStrategy.SwitchClosure closure) |
getAverageEffort, getBestStrategy, getSliceEnd, registerDefaultEffort, registerEffort, toString
public SequentialStrategy(double[] keyProbabilities, JavaConstant[] keyConstants)
public void run(SwitchStrategy.SwitchClosure closure)
run
in class SwitchStrategy