org.drools.planner.benchmark.statistic
Class BestScoreStatisticListener

java.lang.Object
  extended by org.drools.planner.benchmark.statistic.BestScoreStatisticListener
All Implemented Interfaces:
EventListener, SolverEventListener

public class BestScoreStatisticListener
extends Object
implements SolverEventListener


Constructor Summary
BestScoreStatisticListener()
           
 
Method Summary
 void bestSolutionChanged(BestSolutionChangedEvent event)
          Called from the solver thread.
 List<BestScoreStatisticPoint> getBestScoreStatisticPointList()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BestScoreStatisticListener

public BestScoreStatisticListener()
Method Detail

bestSolutionChanged

public void bestSolutionChanged(BestSolutionChangedEvent event)
Description copied from interface: SolverEventListener
Called from the solver thread. Should return fast, as it steals time from the Solver.

Specified by:
bestSolutionChanged in interface SolverEventListener
Parameters:
event - never null

getBestScoreStatisticPointList

public List<BestScoreStatisticPoint> getBestScoreStatisticPointList()


Copyright © 2001-2011 JBoss Inc.. All Rights Reserved.