Package org.rlcommunity.rlglue.codec

Examples of org.rlcommunity.rlglue.codec.LocalGlue


        super.setupInitialState();
       
        // Create the Agent
        theAgent = new SkeletonAgent();
        theEnvironment = new SkeletonEnvironment();
        RLGlue.setGlue(new LocalGlue(theEnvironment,theAgent));

        /* We could also start over and do another experiment */
        RLGlue.RL_init();
       
        // Load known states saved from previous matches
View Full Code Here


    AgentInterface theAgent=new SkeletonAgent();
   
    //Create the Environment
    EnvironmentInterface theEnvironment=new SkeletonEnvironment();
   
    LocalGlue localGlueImplementation=new LocalGlue(theEnvironment,theAgent);
    RLGlue.setGlue(localGlueImplementation);
   
   
    //Run the main method of the Skeleton Experiment, using the arguments were were passed
    //This will run the experiment in the main thread.  The Agent and Environment will run
View Full Code Here

    AgentInterface theAgent=new SampleSarsaAgent();
   
    //Create the Environment
    EnvironmentInterface theEnvironment=new SampleMinesEnvironment();
   
    LocalGlue localGlueImplementation=new LocalGlue(theEnvironment,theAgent);
    RLGlue.setGlue(localGlueImplementation);
   
   
    //Run the main method of the Sample Experiment, using the arguments were were passed
    //This will run the experiment in the main thread.  The Agent and Environment will run
View Full Code Here

TOP

Related Classes of org.rlcommunity.rlglue.codec.LocalGlue

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.