Commit b196b625 authored by Joseph Walton-Rivers's avatar Joseph Walton-Rivers 🐈

Fix regression in MCTS worlds agent

parent a8c21dbe
Pipeline #1888 failed with stages
in 2 minutes and 15 seconds
......@@ -77,7 +77,7 @@ public class MCTSPredictorWorlds extends MCTSPredictorExpConst {
}
public static Agent[] parseThemAsClones(String agentStr) {
Agent[] predictors = new Agent[5];
for (int i=0; i<predictors.length; i++) {
predictors[i] = AgentUtils.buildAgent(agentStr);
......
......@@ -139,7 +139,7 @@ public class PredictorRunnerSingle {
public static String generatePredictorString(String agentUnderTest, int nPlayers, String model) {
if ( agentUnderTest.startsWith(App.PREDICTOR_MCTS) ) {
if ( "pmcts".equalsIgnoreCase(agentUnderTest) || "pmctsND".equalsIgnoreCase(agentUnderTest) ){
StringBuilder builder = new StringBuilder();
builder.append(agentUnderTest);
builder.append(AgentUtils.PARAM_START);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment