Instnciate Heuristics with right parameters
This commit is contained in:
parent
9a4febaaf4
commit
55f2a29084
1 changed files with 4 additions and 2 deletions
|
@ -113,7 +113,8 @@ if __name__ == '__main__':
|
|||
logger,
|
||||
heuristic_engine[args.white_heuristic_engine](
|
||||
logger, {
|
||||
'weight': args.weight
|
||||
'weight': args.weight,
|
||||
'size': game.get_board_size()
|
||||
}
|
||||
),
|
||||
{
|
||||
|
@ -126,7 +127,8 @@ if __name__ == '__main__':
|
|||
logger,
|
||||
heuristic_engine[args.black_heuristic_engine](
|
||||
logger, {
|
||||
'weight': args.weight
|
||||
'weight': args.weight,
|
||||
'size': game.get_board_size()
|
||||
}
|
||||
),
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue