Examples of GDLAlgorithmAgent


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

    @Override
    public void agent_end(double reward)
    {
        current_episode.addTransiton(last_state, last_action, null, reward);
       
        Agent agent = new GDLAlgorithmAgent(my_role);
        algorithm.learnEpisode(current_episode, agent);
       
        algorithm.save();
    }
View Full Code Here

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

            {
                break;
            }
           
            List<Agent> agents = new ArrayList<Agent>();
            Agent learner = new GDLAlgorithmAgent(my_role);
            for(String role : all_roles)
            {
                agents.add(new GDLAlgorithmAgent(role));
            }
            algorithm.exploreFromEpisode(state, current_episode, agents, learner);
        }
    }
View Full Code Here

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

            GameInformation game_infos = GameReasoner.createGameInfo(path_to_gdl);
           
            List<Agent> agents = new ArrayList<Agent>();
            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)
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.