From 8786eabf10c10da4c023d52175b1bfa40174efe3 Mon Sep 17 00:00:00 2001 From: oblonski <4sschroeder@gmail.com> Date: Tue, 14 Jan 2014 04:38:53 -0500 Subject: [PATCH] add javadoc to VrphGoldenReader --- .../instance/reader/VrphGoldenReader.java | 19 +++++++++++++++++-- 1 file changed, 17 insertions(+), 2 deletions(-) diff --git a/jsprit-instances/src/main/java/jsprit/instance/reader/VrphGoldenReader.java b/jsprit-instances/src/main/java/jsprit/instance/reader/VrphGoldenReader.java index ca1978b1..3a97705c 100644 --- a/jsprit-instances/src/main/java/jsprit/instance/reader/VrphGoldenReader.java +++ b/jsprit-instances/src/main/java/jsprit/instance/reader/VrphGoldenReader.java @@ -17,17 +17,32 @@ import jsprit.core.problem.vehicle.VehicleTypeImpl; import jsprit.core.util.Coordinate; /** - * diff. options yields to different problem types for + * Reads modified files from Taillard's website + * http://mistic.heig-vd.ch/taillard/problemes.dir/vrp.dir/vrp.html + * + *

diff. options of VrphType yields to different problem types for * - vrphe with infinite fleet, i.e. different types with different variable costs and infinite number of vehicles of each type * - vrphe with finite fleet, i.e. different types with different variable costs and finite number of vehicles of each type - * - vfm, different types with different fixed costs + * - vfm, different types with different fixed costs + * - vfmvrc different types with different fixed costs and variable costs * + *

cxxx3-cxxx6 do not have variable costs and nuVehicle, thus they can only be used for vfm. * * @author schroeder * */ public class VrphGoldenReader { + /** + * + * VRPHE_INFINITE - different types with different variable costs and infinite number of vehicles of each type + *

VRPHE_FINITE - different types with different variable costs and finite number of vehicles of each type + *

VFM - different types with different fixed costs + *

VFMVRC - different types with different fixed costs and variable costs + * + * @author schroeder + * + */ public enum VrphType { VRPH_INFINITE, VRPH_FINITE, VFM, VFMVRC }