1
0
Fork 0
mirror of https://github.com/graphhopper/jsprit.git synced 2020-01-24 07:45:05 +01:00

add deprecating doc to Solutions

This commit is contained in:
Stefan Schroeder 2013-11-06 16:11:01 +01:00
parent ce4c3acc39
commit 05005d5a04

View file

@ -22,6 +22,12 @@ import basics.VehicleRoutingProblemSolution;
public class Solutions { public class Solutions {
/**
*
* @deprecated use bestOf instead.
* @param solutions
* @return
*/
@Deprecated @Deprecated
public static VehicleRoutingProblemSolution getBest(Collection<VehicleRoutingProblemSolution> solutions){ public static VehicleRoutingProblemSolution getBest(Collection<VehicleRoutingProblemSolution> solutions){
VehicleRoutingProblemSolution best = null; VehicleRoutingProblemSolution best = null;