Modifier and Type | Field and Description |
---|---|
protected double |
expectedGain |
protected double |
realGain |
Constructor and Description |
---|
Move(double expectedGain) |
Move(int... arguments) |
Modifier and Type | Method and Description |
---|---|
abstract SearchState<M> |
apply(SearchState<M> state,
OptimalMiner<?> miner)
Applies the move to the given search state.
|
protected abstract double |
computeExpectedGain(int... arguments) |
double |
getExpectedGain()
The expected gain when applying the move.
|
double |
getRealGain() |
void |
setRealGain(double realGain) |
public final double getExpectedGain()
protected abstract double computeExpectedGain(int... arguments)
arguments
- as supplied in the constructorpublic abstract SearchState<M> apply(SearchState<M> state, OptimalMiner<?> miner)
state
- SearchState
composed of current log and modelpublic double getRealGain()
public void setRealGain(double realGain)