OptaPlanner distribution 6.0.1-SNAPSHOT

org.optaplanner.examples.vehiclerouting.solver.score
Class VehicleRoutingSimpleScoreCalculator

java.lang.Object
  extended by org.optaplanner.examples.vehiclerouting.solver.score.VehicleRoutingSimpleScoreCalculator
All Implemented Interfaces:
SimpleScoreCalculator<VehicleRoutingSolution>

public class VehicleRoutingSimpleScoreCalculator
extends Object
implements SimpleScoreCalculator<VehicleRoutingSolution>


Constructor Summary
VehicleRoutingSimpleScoreCalculator()
           
 
Method Summary
 HardSoftScore calculateScore(VehicleRoutingSolution schedule)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

VehicleRoutingSimpleScoreCalculator

public VehicleRoutingSimpleScoreCalculator()
Method Detail

calculateScore

public HardSoftScore calculateScore(VehicleRoutingSolution schedule)
Specified by:
calculateScore in interface SimpleScoreCalculator<VehicleRoutingSolution>
Parameters:
schedule - never null
Returns:
never null

OptaPlanner distribution 6.0.1-SNAPSHOT

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