OptaPlanner distribution 6.0.1.Final

org.optaplanner.examples.tsp.solver.score
Class TspSimpleScoreCalculator

java.lang.Object
  extended by org.optaplanner.examples.tsp.solver.score.TspSimpleScoreCalculator
All Implemented Interfaces:
SimpleScoreCalculator<TravelingSalesmanTour>

public class TspSimpleScoreCalculator
extends Object
implements SimpleScoreCalculator<TravelingSalesmanTour>


Constructor Summary
TspSimpleScoreCalculator()
           
 
Method Summary
 SimpleScore calculateScore(TravelingSalesmanTour tour)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TspSimpleScoreCalculator

public TspSimpleScoreCalculator()
Method Detail

calculateScore

public SimpleScore calculateScore(TravelingSalesmanTour tour)
Specified by:
calculateScore in interface SimpleScoreCalculator<TravelingSalesmanTour>
Parameters:
tour - never null
Returns:
never null

OptaPlanner distribution 6.0.1.Final

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