public class RelativeHistoryTable extends Object
Constructor and Description |
---|
RelativeHistoryTable()
Default constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
recordSuccessfulMove(Move m)
If a move causes a cut-off, this method updates the relative history table accordingly.
|
void |
recordUnsuccessfulMove(Move m)
If a move does not cause a cut-off, this method updates the relative history table accordingly.
|
short |
score(Move m)
Returns the relative history heuristic score for the move parameter.
|
public void recordSuccessfulMove(Move m)
m
- The move that caused the cut-off.public void recordUnsuccessfulMove(Move m)
m
- The move that did not cause a cut-off.public short score(Move m)
m
- The move to be scored.Copyright © 2020. All rights reserved.