Package net.javlov.world.grid

Examples of net.javlov.world.grid.GridRewardFunction


    landmark = new Phys2DBody( new StaticBox(cellwidth, cellheight), 10, true );
    landmark.setLocation(10.5*cellwidth, 2.5*cellheight);
    landmark.setType(Body.UNDEFINED);
    world.addFixedBody(landmark);
   
    rf = new GridRewardFunction();
    world.setRewardFunction(rf);
    world.addCollisionListener(rf);
   
    GoalBody goal = new GoalBody(525, 125);
    goal.setReward(0);
View Full Code Here

TOP

Related Classes of net.javlov.world.grid.GridRewardFunction

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.