org.drools.planner.benchmark.statistic.bestscore
Class BestScoreStatisticListener

java.lang.Object
  extended by org.drools.planner.benchmark.statistic.bestscore.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> getStatisticPointList()
           
 
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

getStatisticPointList

public List<BestScoreStatisticPoint> getStatisticPointList()

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


Copyright © 2001-2011 JBoss by Red Hat. All Rights Reserved.