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);