org.drools.planner.benchmark.core.statistic
Interface ProblemStatistic

All Known Implementing Classes:
AbstractProblemStatistic, BestScoreStatistic, CalculateCountStatistic, MemoryUseStatistic

public interface ProblemStatistic

TODO is this the correct package? Statistics can maybe be used outside the benchmarker


Method Summary
 void addListener(Solver solver, String configName)
           
 void removeListener(Solver solver, String configName)
           
 CharSequence writeStatistic(File statisticDirectory, String baseName)
           
 

Method Detail

addListener

void addListener(Solver solver,
                 String configName)

removeListener

void removeListener(Solver solver,
                    String configName)

writeStatistic

CharSequence writeStatistic(File statisticDirectory,
                            String baseName)
Parameters:
statisticDirectory - never null
baseName - never null
Returns:
a htmFragment, never null


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