Package org.rlcommunity.rlglue.codec.util

Examples of org.rlcommunity.rlglue.codec.util.EnvironmentLoader


            environment = new GGPEnvironment(start_content, gamecontroller);
            new Thread()
            {
                public void run()
                { 
                    EnvironmentLoader loader = new EnvironmentLoader(environment);
                    loader.run();
                }
            }.start();
        }
        else
        {
View Full Code Here


     *
     * @param args
     */
    public static void main(String[] args)
    {
        EnvironmentLoader theLoader = new EnvironmentLoader(
                new SkeletonEnvironment());
        theLoader.run();
    }
View Full Code Here

    /**
     * This is a trick we can use to make the agent easily loadable.
     * @param args
     */
    public static void main(String[] args) {
        EnvironmentLoader theLoader = new EnvironmentLoader(new SampleMinesEnvironment());
        theLoader.run();
    }
View Full Code Here

   /**
     * This is a trick we can use to make the agent easily loadable.
     * @param args
     */
    public static void main(String[] args){
        EnvironmentLoader theLoader=new EnvironmentLoader(new SkeletonEnvironment());
        theLoader.run();
    }
View Full Code Here

 
  public static void main(String[] args){
    //Create an agentLoader that will start the agent when its run method is called
    AgentLoader theAgentLoader=new AgentLoader(new SkeletonAgent());
    //Create an environmentloader that will start the environment when its run method is called
    EnvironmentLoader theEnvironmentLoader=new EnvironmentLoader(new SkeletonEnvironment());
   
    //Create threads so that the agent and environment can run asynchronously    
    Thread agentThread=new Thread(theAgentLoader);
    Thread environmentThread=new Thread(theEnvironmentLoader);
   
View Full Code Here

        parameterholder.addStringParam("environment-jar-path",
                "../../../rl-competition/system/libraries/envJars");
       
        RLVizSettings.initializeSettings(args);
        RLVizSettings.addNewParameters(parameterholder);
        EnvironmentLoader environmentloader = new EnvironmentLoader(new EnvironmentShell());
        environmentloader.run();
//        
    }
View Full Code Here

 
  public static void main(String[] args){
    //Create an agentLoader that will start the agent when its run method is called
    AgentLoader theAgentLoader=new AgentLoader(new SampleSarsaAgent());
    //Create an environmentloader that will start the environment when its run method is called
    EnvironmentLoader theEnvironmentLoader=new EnvironmentLoader(new SampleMinesEnvironment());
   
    //Create threads so that the agent and environment can run asynchronously    
    Thread agentThread=new Thread(theAgentLoader);
    Thread environmentThread=new Thread(theEnvironmentLoader);
   
View Full Code Here

    public void env_cleanup() {
    }

    public static void main(String[] args) {
        EnvironmentLoader L = new EnvironmentLoader(new Test_1_Environment());
        L.run();
    }
View Full Code Here

    public String env_message(String inMessage) {
        return "";
    }

    public static void main(String[] args){
        EnvironmentLoader L=new EnvironmentLoader(new Test_Speed_Environment());
        L.run();
    }
View Full Code Here

        return new String(inMessage);
    }

    public static void main(String[] args){
        EnvironmentLoader L=new EnvironmentLoader(new Test_Message_Environment());
        L.run();
    }
View Full Code Here

TOP

Related Classes of org.rlcommunity.rlglue.codec.util.EnvironmentLoader

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.