org.drools.planner.core.score.director.simple
Interface SimpleScoreCalculator<Sol extends Solution>

Type Parameters:
Sol -
All Known Implementing Classes:
CloudBalancingMapBasedSimpleScoreCalculator, CloudBalancingSimpleScoreCalculator, NQueensSimpleScoreCalculator

public interface SimpleScoreCalculator<Sol extends Solution>

Used for simple java Score calculation. This is non-incremental calculation, which is slow.

Any implementation must be stateless.

See Also:
SimpleScoreDirector

Method Summary
 Score calculateScore(Sol solution)
           
 

Method Detail

calculateScore

Score calculateScore(Sol solution)
Parameters:
solution - never null
Returns:
never null


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