...
 
Commits (2)
......@@ -42,7 +42,7 @@ mkdir -p setup
java -cp $JAR_FILE com.fossgalaxy.comet.fireworks.f2019.CompetitionSetup $COMET_USER $COMET_PASS > setup/setup.out 2> setup/setup.err
echo "[OK] setup complete!"
for track_dir in setup/*/
for track_dir in setup/track-18 setup/track-17
do
echo " generating " $track_dir
cp $JAR_FILE $track_dir/setup.jar
......
......@@ -20,7 +20,7 @@ import java.util.*;
public class LearntRunner {
public static final String model1 = "model[51,26,8,46,5,31,3,33,16]";
public static final String model2 = "model[26,30,43,5,31,3,33]";
public static final String model2 = "model[26,30,43,5,31,3,33,16]";
private static Logger logger = LoggerFactory.getLogger(LearntRunner.class);
......
......@@ -12,13 +12,13 @@ public class SanityCheck {
//model[26,30,12,2,31,3]
System.out.println("model 1");
ProductionRuleAgent agent = (ProductionRuleAgent)AgentUtils.buildAgent("model[51,26,8,5,31,3]");
ProductionRuleAgent agent = (ProductionRuleAgent)AgentUtils.buildAgent(LearntRunner.model1);
for (Rule rule : agent.getRules()) {
System.out.println(rule);
}
System.out.println("model 2");
agent = (ProductionRuleAgent)AgentUtils.buildAgent("model[26,30,12,2,31,3]");
agent = (ProductionRuleAgent)AgentUtils.buildAgent(LearntRunner.model2);
for (Rule rule : agent.getRules()) {
System.out.println(rule);
}
......