Package rlVizLib.general

Examples of rlVizLib.general.TinyGlue


            //SET COLOR
            g.setColor(Color.RED);
            //DRAW STRING
            AffineTransform saveAT = g.getTransform();
            g.scale(.005, .005);
            TinyGlue theGlueState=theGlueStateProvider.getTheGlueState();
           
            //used for rounding
            String theRewardString;
            double preRound;
                preRound = theGlueState.getLastReward();

            if(Double.isNaN(preRound)){
                theRewardString = "None";
            }
            else
                theRewardString = myFormatter.format(preRound);

            g.drawString("E/S/T/R: " +theGlueState.getEpisodeNumber()+"/"+theGlueState.getTimeStep()+"/"+theGlueState.getTotalSteps()+"/"+theRewardString,0.0f, 10.0f);
            g.setTransform(saveAT);
        }
View Full Code Here

TOP

Related Classes of rlVizLib.general.TinyGlue

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.