OptaPlanner distribution 6.0.0.Beta4

org.optaplanner.core.impl.score.director.simple
Interface SimpleScoreCalculator<Sol extends Solution>

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

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

OptaPlanner distribution 6.0.0.Beta4

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