Package org.rlcommunity.rlglue.codec.util

Examples of org.rlcommunity.rlglue.codec.util.AgentLoader.run()


            p.load(new FileInputStream(new File(config_path)));
            System.setProperties(p);
           
            RRLAlgorithm algorithm = (RRLAlgorithm)AgentProperties.getAlgorithmClass().newInstance();
            AgentLoader loader = new AgentLoader(new GGPAgent(algorithm,explore));
            loader.run();
        }
        catch(Exception e)
        {
            throw new RuntimeException(e);
        }
View Full Code Here


     * @param args
     */
    public static void main(String[] args)
    {
        AgentLoader theLoader = new AgentLoader(new SkeletonAgent());
        theLoader.run();
    }
   
    private void loadConfigAgent(String theFileName)
    {
        // Carga del archivo indicado el tipo de algoritmo de apredizaje que se
View Full Code Here

     * @param args
     */
   
    public static void main(String[] args){
       AgentLoader theLoader=new AgentLoader(new SkeletonAgent());
        theLoader.run();
  }

}
View Full Code Here


    public static void main(String[] args){
      System.out.println("Message from inside the agent: Running the Q-Learning Agent Alpha version!!!");
      AgentLoader L=new AgentLoader(new QTetrisAgent());
      L.run();
    }

}
View Full Code Here

  System.out.println("Running the Q-Learning Agent Alpha version!!!");        
        QTetrisAgent agent = new QTetrisAgent();
        //SampleTetrisAgent agent = new SampleTetrisAgent();
        //RandomAgent agent = new RandomAgent();
        AgentLoader agentloader = new AgentLoader(agent);
        agentloader.run();
   }
}
View Full Code Here

     * AgentLoader and connect to the rl_glue server.
     * @param args
     */
    public static void main(String[] args) {
        AgentLoader theLoader = new AgentLoader(new SampleSarsaAgent());
        theLoader.run();
    }

    /**
     * Dumps the value function to a file named theFileName.  Not fancy. Must be
     * called after init but before cleanup.
View Full Code Here

        // TODO Auto-generated method stub
    }
   
    public static void main(String[] args){
        AgentLoader L=new AgentLoader(new Test_Empty_Agent());
        L.run();
    }
}
View Full Code Here

        // TODO Auto-generated method stub
    }
   
    public static void main(String[] args){
        AgentLoader L=new AgentLoader(new Test_1_Agent());
        L.run();
    }
}
View Full Code Here

    public void agent_cleanup() {
    }
   
    public static void main(String[] args){
        AgentLoader L=new AgentLoader(new Test_Message_Agent());
        L.run();
    }
}
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.