Package fr.irit.halterego.rrl_ggp.util

Examples of fr.irit.halterego.rrl_ggp.util.ProgressTracker


           
            BuildQTable gen = new BuildQTable(gamma);
           
            long start = System.currentTimeMillis();
           
            final ProgressTracker tracker = new ProgressTracker();
           
            new Thread()
            {
                public void run()
                {
                    while(!tracker.full())
                    {
                        tracker.print();
                        try
                        {
                            Thread.sleep(1000);
                        }
                        catch (InterruptedException e) { }
                    }
                }
            }.start();
           
            QTable table = gen.buildQTable(gdl_filename, tracker);
           
            tracker.print();
            long end = System.currentTimeMillis();
            System.out.println("Total time : " + (end-start)/1000.0);
           
            // Write the Q table file
            FileOutputStream fos = new FileOutputStream(output_filename);
View Full Code Here

TOP

Related Classes of fr.irit.halterego.rrl_ggp.util.ProgressTracker

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.