...
 
Commits (2)
......@@ -46,6 +46,7 @@ for track_dir in setup/*/
do
echo " generating " $track_dir
cp $JAR_FILE $track_dir/setup.jar
cp -a extra_files/. $track_dir/
LAST_VAL=0
ARG_COUNT=($(wc --lines $track_dir/args.txt))
......@@ -106,4 +107,4 @@ for i in `seq 1 $MAX_JOB_SIZE $ARG_COUNT`;
done
popd
done
\ No newline at end of file
done
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
......@@ -24,7 +24,7 @@ public class CompetitionSetup {
CometServer api = new CometServer(API_URL, args[0], args[1]);
int numGames = SetupUtils.getSeedCount();
int[] tracks = {TRACK_LEARNING, TRACK_MIRROR, TRACK_MIXED};
int[] tracks = {TRACK_LEARNING, TRACK_MIXED};
for (int pk : tracks) {
try {
File drop = new File("setup/track-" + pk);
......@@ -112,10 +112,8 @@ public class CompetitionSetup {
// a few unusual guys to confuse people
"iggi2",
"Funky"
// masters entries
"model[51|26|8|5|31|3]",
"model[26|30|12|2|31|3]"
);
}
......
......@@ -97,15 +97,15 @@ public class LearntRunner {
HashMap<String, String> mapping = new HashMap<>();
// FIXME - these agents are the ones published with the starter pack!
mapping.put("A", "iggi");
mapping.put("B", "piers");
mapping.put("C", "internal");
mapping.put("A", "flawed");
mapping.put("B", "iggi");
mapping.put("C", "piers");
mapping.put("D", "outer");
mapping.put("E", "legal_random");
mapping.put("F", "mctsND");
mapping.put("G", "flawed");
mapping.put("H", "iggi");
mapping.put("I", "piers");
mapping.put("E", "model[51|26|8|5|31|3]");
mapping.put("F", "internal");
mapping.put("G", "iggi");
mapping.put("H", "mctsND");
mapping.put("I", "model[26|30|12|2|31|3]");
return mapping;
}
......
package com.fossgalaxy.comet.fireworks.f2019;
import com.fossgalaxy.games.fireworks.ai.Agent;
import com.fossgalaxy.games.fireworks.ai.rule.ProductionRuleAgent;
import com.fossgalaxy.games.fireworks.utils.AgentUtils;
public class SanityCheck {
public static void main(String[] args) {
ProductionRuleAgent agent = (ProductionRuleAgent)AgentUtils.buildAgent("model[51,26,8,5,31]");
System.out.println(agent.getRules());
System.out.println(AgentUtils.buildAgent("mctsND"));
}
}