7778798081828384858687
reasoner = new GameReasoner(gameInfo); start_clock = Integer.parseInt( content.getElement(4).toString() ); play_clock = Integer.parseInt( content.getElement(5).toString() ); current_episode = new Episode(); // Start to explore algorithm.load(); if(explore)
565758596061626364
public void exploreNewEpisode(RState initial_state, List<Agent> agents) { Map<Agent,Episode> episodes = new HashMap<Agent,Episode>(); for(Agent agent : agents) { episodes.put(agent,new Episode()); } explore(initial_state,episodes); }
127128129130131132133134135
} } for(Agent agent : episodes.keySet()) { Episode episode = episodes.get(agent); learnEpisode(episode,agent); } }