}
return rules;
}
public Collection<ProgramRule> adaptive_main()
{
StopWatch stopWatch0 = new Log4JStopWatch("adaptive_main");
long t1 = System.currentTimeMillis();
StopWatch stopWatch = new Log4JStopWatch("adaptive_producePartition");
Vector<Partition> par = this.adaptive_producePartition();
stopWatch.stop();
StopWatch stopWatch1 = new Log4JStopWatch("adaptive_produceProgram");
Collection<ProgramRule> cpr = this.adaptive_produceProgram(par);
stopWatch1.stop();
Traces.AllSegs.clear();
//record the learning time
this.learnspan = System.currentTimeMillis()-t1;
stopWatch0.stop();
return cpr;