Constructor and Description |
---|
SelfPlayEngines(T engine,
T opponentEngine,
ControllerEngine controller)
Constructs an instance holding references to the three engines necessary for self-play.
|
Modifier and Type | Method and Description |
---|---|
ControllerEngine |
getController()
Returns the controller engine.
|
T |
getEngine()
Returns the first engine.
|
T |
getOpponentEngine()
Returns the opponent engine
|
public SelfPlayEngines(T engine, T opponentEngine, ControllerEngine controller) throws Exception
engine
- The engine to be tuned.opponentEngine
- The opponent engine.controller
- The controller engine for the Arena
.Exception
- If the engines cannot be initialised.public T getEngine()
public T getOpponentEngine()
public ControllerEngine getController()
Copyright © 2020. All rights reserved.