public final class SetupUtils extends Object
Modifier and Type | Method and Description |
---|---|
static String[] |
getAgentNames()
Get the list of agents to use for evaluation.
|
static String[] |
getPairedNames()
Get the list of agents to use for pairing with evaluation.
|
static int |
getRepeatCount()
Get the default number of repeats to do.
|
static int |
getSeedCount()
Get the number of seeds we should be using.
|
static Player[] |
toPlayers(String[] names,
Agent[] policies) |
public static String[] getAgentNames()
This can be overridden using the environment variable FIREWORKS_AGENTS. These names will be passed into the agent factory in order to be created.
These are the agents that are to be considered under test.
public static String[] getPairedNames()
These are the agents that should be used as the agents to evaluate the agents under test with. These can be set using the FIREWORKS_AGENTS_PAIRED environment variable - if this is not set, it will use some sane defaults.
These are the agents that are used for testing the agents.
public static int getSeedCount()
You can set this using the FIREWORKS_NUM_SEEDS envrioment variable, if not set it will return a sensible default.
public static int getRepeatCount()
This controls how many times a game should be repeated, the environment variable FIREWORKS_REPEAT_COUNT controls this value. If not set, it will default to a sane value.
A repeat is the same agents running on the same seed.
Copyright © 2017 FOSS Galaxy. All rights reserved.