51525354555657585960
{ String qtable_path = args[0]; String match_directory = args[1]; String playername = args[2]; QTable policy = QTable.loadFromFile(qtable_path); SuccessRate r = evaluate(policy,match_directory,playername); System.out.println(r.getRate()); } }
6162636465666768697071
this.gamma = gamma; } public QTable buildQTable(String gdl_filename, ProgressTracker tracker) throws IOException { QTable table = new QTable(); GameReasoner reasoner = GameReasoner.fromGameFile(gdl_filename); List<String> roles = new ArrayList<String>(); List<TermObject> roles_terms = reasoner.getGameInfo().getRoles();
279280281282283284285286287288289
catch (InterruptedException e) { } } } }.start(); QTable table = gen.buildQTable(gdl_filename, tracker); tracker.print(); long end = System.currentTimeMillis(); System.out.println("Total time : " + (end-start)/1000.0);