Package fr.irit.halterego.rrl_ggp.impl

Examples of fr.irit.halterego.rrl_ggp.impl.GameReasoner


        all_roles = new ArrayList<String>();
        for(TermObject t : gameInfo.getRoles())
        {
            all_roles.add(t.toString());
        }  
        reasoner = new GameReasoner(gameInfo);
       
        start_clock = Integer.parseInt( content.getElement(4).toString() );
        play_clock = Integer.parseInt( content.getElement(5).toString() );
       
        current_episode = new Episode();
View Full Code Here


   
    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();
       
        for (TermObject t : roles_terms)
        {
            roles.add(t.toString());
        }
View Full Code Here

        GdlAtom roleAtom = (GdlAtom) start_content.getElement(2);
        role = (TermObject) TermObject.buildFromGdl(roleAtom);
        GdlList game_description = (GdlList) start_content.getElement(3);
        GameInformation gameInfo = new MetaGdl(GameManager.getParser()).examineGdl(game_description);
        roles = gameInfo.getRoles();
        reasoner = new GameReasoner(gameInfo);
        state = new GDLState(reasoner);
       
        return start_content.toString();
    }
View Full Code Here

            for(TermObject t : game_infos.getRoles())
            {
                agents.add(new GDLAlgorithmAgent(t.toString()));
            }
           
            GameReasoner reasoner = new GameReasoner(game_infos);
           
            for(int i = 0; i < iterations; ++i)
            {
                System.out.println("iteration " + i);
                RState state = new GDLState(reasoner);
View Full Code Here

TOP

Related Classes of fr.irit.halterego.rrl_ggp.impl.GameReasoner

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.