public final class EngineFramework extends Object implements Runnable
Constructor and Description |
---|
EngineFramework(EngineFactory factory,
String[] args)
Constructs an instance of the application framework that is available for running with the specified arguments using the engine
instances built by the provided engine factory.
|
public EngineFramework(EngineFactory factory, String[] args)
factory
- An instance of a class extending the EngineFactory
interface. It provides the
engine instances required for different parameters of the framework.args
- The program arguments. If it is null or empty, the engine is started in GUI mode; else:-u
-t selfplay -population <integer> -games <integer> -tc <integer> [--paramtype <eval | control | management |
eval+control | control+management | all> {all}] [--learningrate <decimal> {.1}] [--neglearningrate <decimal> {.05}]
[--mutationprob <decimal> {.025}] [--mutationshift <decimal> {.05}] [--generations <integer>] [--inc <integer> {0}]
[--validfactor <decimal> {0}] [--initprobvector <quoted_comma_separated_decimals>] [--trybook <bool> {false}] [--tryhash <integer>]
[--trythreads <integer>] [--log <string> {log.txt}] [--concurrency <integer>] {1}]
-t texel -epdfile <string> -batchsize <integer> [--labelopcode <string> {Gr}] [--epochs <integer>]
[--testdataprop <decimal> {.2}] [--h <decimal> {1}] [--learningrate <decimal> {1}] [--annealingrate <decimal> {.99}]
[--l1reg <decimal> {.001}] [--l2reg <decimal> {.0001}] [--costbatchsize <integer>] [--k <decimal>] [--log <string> {log.txt}]
[--concurrency <integer> {1}]
-g epd -pgnfile <string> [--maxgames <integer>] [--minelo <integer>]
[--labelopcode <string> {Gr}] [--minhalfmoveind <integer>] [--destfile <string> {positions.epd}]
-g pgn -games <integer> -tc <integer> [--inc <integer> {0}] [--trybook <bool> {false}]
[--tryhash <integer>] [--trythreads <integer>] [--destfile <string> {games.pgn}] [--concurrency <integer> {1}]
-f draw -sourcefile <string> [--labelopcode <string> {Gr}]
[--destfile <string> {games.pgn}]
-f tactical -sourcefile <string> [--destfile <string> {positions.epd}]
-f unbalanced -sourcefile <string> -imbalance <integer>
[--destfile <string> {positions.epd}]
-c probvector -value <quoted_comma_separated_decimals>
[--paramtype <eval | control | management | eval+control | control+management | all> {all}] [--paramsfile <string> {params.xml}]
-c parameters -value <quoted_comma_separated_decimals>
[--paramsfile <string> {params.xml}]
Copyright © 2020. All rights reserved.