diff --git a/doc/algorithms/ActivityVisitor.html b/doc/algorithms/ActivityVisitor.html new file mode 100644 index 00000000..ed278476 --- /dev/null +++ b/doc/algorithms/ActivityVisitor.html @@ -0,0 +1,247 @@ + + + + + + +ActivityVisitor + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +algorithms +
+Interface ActivityVisitor

+
+
All Known Implementing Classes:
UpdateActivityTimes, UpdateCostsAtAllLevels, UpdateEarliestStartTimeWindowAtActLocations, UpdateLoadAtActivityLevel, UpdateLoadAtAllLevels, UpdateOccuredDeliveriesAtActivityLevel
+
+
+
+
public interface ActivityVisitor
+ + +

+


+ +

+ + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ voidbegin(VehicleRoute route) + +
+           
+ voidfinish() + +
+           
+ voidvisit(TourActivity activity) + +
+           
+  +

+ + + + + + + + +
+Method Detail
+ +

+begin

+
+void begin(VehicleRoute route)
+
+
+
+
+
+
+ +

+visit

+
+void visit(TourActivity activity)
+
+
+
+
+
+
+ +

+finish

+
+void finish()
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/doc/algorithms/BestInsertionBuilder.html b/doc/algorithms/BestInsertionBuilder.html new file mode 100644 index 00000000..ad8c1a8a --- /dev/null +++ b/doc/algorithms/BestInsertionBuilder.html @@ -0,0 +1,348 @@ + + + + + + +BestInsertionBuilder + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +algorithms +
+Class BestInsertionBuilder

+
+java.lang.Object
+  extended by algorithms.BestInsertionBuilder
+
+
+
All Implemented Interfaces:
InsertionStrategyBuilder
+
+
+
+
public class BestInsertionBuilder
extends java.lang.Object
implements InsertionStrategyBuilder
+ + +

+


+ +

+ + + + + + + + + + + +
+Constructor Summary
BestInsertionBuilder(VehicleRoutingProblem vrp, + StateManager stateManager) + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ voidaddConstraint(HardActivityLevelConstraint hardActvitiyLevelConstraint) + +
+           
+ voidaddConstraint(HardRouteLevelConstraint hardRouteLevelConstraint) + +
+           
+ InsertionStrategybuild() + +
+           
+ voidsetFleetManager(VehicleFleetManager fleetManager) + +
+           
+ voidsetLocalLevel() + +
+           
+ + + + + + + +
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+BestInsertionBuilder

+
+public BestInsertionBuilder(VehicleRoutingProblem vrp,
+                            StateManager stateManager)
+
+
+ + + + + + + + +
+Method Detail
+ +

+addConstraint

+
+public void addConstraint(HardActivityLevelConstraint hardActvitiyLevelConstraint)
+
+
+
+
+
+
+
+
+
+ +

+addConstraint

+
+public void addConstraint(HardRouteLevelConstraint hardRouteLevelConstraint)
+
+
+
+
+
+
+
+
+
+ +

+setLocalLevel

+
+public void setLocalLevel()
+
+
+
+
+
+
+
+
+
+ +

+setFleetManager

+
+public void setFleetManager(VehicleFleetManager fleetManager)
+
+
+
+
+
+
+
+
+
+ +

+build

+
+public InsertionStrategy build()
+
+
+
Specified by:
build in interface InsertionStrategyBuilder
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/doc/algorithms/BestInsertionInitialSolutionFactory.html b/doc/algorithms/BestInsertionInitialSolutionFactory.html new file mode 100644 index 00000000..03ddfa10 --- /dev/null +++ b/doc/algorithms/BestInsertionInitialSolutionFactory.html @@ -0,0 +1,280 @@ + + + + + + +BestInsertionInitialSolutionFactory + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +algorithms +
+Class BestInsertionInitialSolutionFactory

+
+java.lang.Object
+  extended by algorithms.BestInsertionInitialSolutionFactory
+
+
+
All Implemented Interfaces:
InitialSolutionFactory
+
+
+
+
public final class BestInsertionInitialSolutionFactory
extends java.lang.Object
implements InitialSolutionFactory
+ + +

+


+ +

+ + + + + + + + + + + +
+Constructor Summary
BestInsertionInitialSolutionFactory(InsertionStrategy insertionStrategy) + +
+           
+  + + + + + + + + + + + + + + + +
+Method Summary
+ VehicleRoutingProblemSolutioncreateSolution(VehicleRoutingProblem vrp) + +
+           
+ voidsetGenerateAsMuchAsRoutesAsVehiclesExist(boolean generateAsMuchAsRoutesAsVehiclesExist) + +
+           
+ + + + + + + +
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+BestInsertionInitialSolutionFactory

+
+public BestInsertionInitialSolutionFactory(InsertionStrategy insertionStrategy)
+
+
+ + + + + + + + +
+Method Detail
+ +

+setGenerateAsMuchAsRoutesAsVehiclesExist

+
+public void setGenerateAsMuchAsRoutesAsVehiclesExist(boolean generateAsMuchAsRoutesAsVehiclesExist)
+
+
+
+
+
+
+
+
+
+ +

+createSolution

+
+public VehicleRoutingProblemSolution createSolution(VehicleRoutingProblem vrp)
+
+
+
Specified by:
createSolution in interface InitialSolutionFactory
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/doc/algorithms/CalculationUtils.html b/doc/algorithms/CalculationUtils.html new file mode 100644 index 00000000..d7366a83 --- /dev/null +++ b/doc/algorithms/CalculationUtils.html @@ -0,0 +1,257 @@ + + + + + + +CalculationUtils + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +algorithms +
+Class CalculationUtils

+
+java.lang.Object
+  extended by algorithms.CalculationUtils
+
+
+
+
public class CalculationUtils
extends java.lang.Object
+ + +

+


+ +

+ + + + + + + + + + + +
+Constructor Summary
CalculationUtils() + +
+           
+  + + + + + + + + + + + +
+Method Summary
+static doublegetActivityEndTime(double actArrTime, + TourActivity act) + +
+          Calculates actEndTime assuming that activity can at earliest start at act.getTheoreticalEarliestOperationStartTime().
+ + + + + + + +
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+CalculationUtils

+
+public CalculationUtils()
+
+
+ + + + + + + + +
+Method Detail
+ +

+getActivityEndTime

+
+public static double getActivityEndTime(double actArrTime,
+                                        TourActivity act)
+
+
Calculates actEndTime assuming that activity can at earliest start at act.getTheoreticalEarliestOperationStartTime(). +

+

+
Parameters:
actArrTime -
act - +
Returns:
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/doc/algorithms/ConstraintManager.html b/doc/algorithms/ConstraintManager.html new file mode 100644 index 00000000..fcb3646a --- /dev/null +++ b/doc/algorithms/ConstraintManager.html @@ -0,0 +1,332 @@ + + + + + + +ConstraintManager + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +algorithms +
+Class ConstraintManager

+
+java.lang.Object
+  extended by algorithms.ConstraintManager
+
+
+
All Implemented Interfaces:
HardActivityLevelConstraint, HardRouteLevelConstraint
+
+
+
+
public class ConstraintManager
extends java.lang.Object
implements HardActivityLevelConstraint, HardRouteLevelConstraint
+ + +

+


+ +

+ + + + + + + + + + + +
+Constructor Summary
ConstraintManager() + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ voidaddConstraint(HardActivityLevelConstraint actLevelConstraint) + +
+           
+ voidaddConstraint(HardRouteLevelConstraint routeLevelConstraint) + +
+           
+ booleanfulfilled(InsertionContext insertionContext) + +
+           
+ booleanfulfilled(InsertionContext iFacts, + TourActivity prevAct, + TourActivity newAct, + TourActivity nextAct, + double prevActDepTime) + +
+           
+ + + + + + + +
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+ConstraintManager

+
+public ConstraintManager()
+
+
+ + + + + + + + +
+Method Detail
+ +

+addConstraint

+
+public void addConstraint(HardActivityLevelConstraint actLevelConstraint)
+
+
+
+
+
+
+
+
+
+ +

+addConstraint

+
+public void addConstraint(HardRouteLevelConstraint routeLevelConstraint)
+
+
+
+
+
+
+
+
+
+ +

+fulfilled

+
+public boolean fulfilled(InsertionContext insertionContext)
+
+
+
Specified by:
fulfilled in interface HardRouteLevelConstraint
+
+
+
+
+
+
+ +

+fulfilled

+
+public boolean fulfilled(InsertionContext iFacts,
+                         TourActivity prevAct,
+                         TourActivity newAct,
+                         TourActivity nextAct,
+                         double prevActDepTime)
+
+
+
Specified by:
fulfilled in interface HardActivityLevelConstraint
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/doc/algorithms/FiniteFleetManagerFactory.html b/doc/algorithms/FiniteFleetManagerFactory.html new file mode 100644 index 00000000..f498ebca --- /dev/null +++ b/doc/algorithms/FiniteFleetManagerFactory.html @@ -0,0 +1,258 @@ + + + + + + +FiniteFleetManagerFactory + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +algorithms +
+Class FiniteFleetManagerFactory

+
+java.lang.Object
+  extended by algorithms.FiniteFleetManagerFactory
+
+
+
All Implemented Interfaces:
VehicleFleetManagerFactory
+
+
+
+
public class FiniteFleetManagerFactory
extends java.lang.Object
implements VehicleFleetManagerFactory
+ + +

+


+ +

+ + + + + + + + + + + +
+Constructor Summary
FiniteFleetManagerFactory(java.util.Collection<Vehicle> vehicles) + +
+           
+  + + + + + + + + + + + +
+Method Summary
+ VehicleFleetManagercreateFleetManager() + +
+           
+ + + + + + + +
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+FiniteFleetManagerFactory

+
+public FiniteFleetManagerFactory(java.util.Collection<Vehicle> vehicles)
+
+
+ + + + + + + + +
+Method Detail
+ +

+createFleetManager

+
+public VehicleFleetManager createFleetManager()
+
+
+
Specified by:
createFleetManager in interface VehicleFleetManagerFactory
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/doc/algorithms/GreedySchrimpfFactory.html b/doc/algorithms/GreedySchrimpfFactory.html new file mode 100644 index 00000000..8aaf2319 --- /dev/null +++ b/doc/algorithms/GreedySchrimpfFactory.html @@ -0,0 +1,276 @@ + + + + + + +GreedySchrimpfFactory + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +algorithms +
+Class GreedySchrimpfFactory

+
+java.lang.Object
+  extended by algorithms.GreedySchrimpfFactory
+
+
+
+
public class GreedySchrimpfFactory
extends java.lang.Object
+ + +

+Factory that creates the VehicleRoutingAlgorithm as proposed by Schrimpf et al., 2000 with the following parameters: + +

+ R&R_random (prob=0.5, F=0.5); + R&R_radial (prob=0.5, F=0.3); + threshold-accepting with exponentialDecayFunction (alpha=0.1, warmup-iterations=100); + nuOfIterations=2000 + +

Gerhard Schrimpf, Johannes Schneider, Hermann Stamm- Wilbrandt, and Gunter Dueck. + Record breaking optimization results using the ruin and recreate principle. + Journal of Computational Physics, 159(2):139 – 171, 2000. ISSN 0021-9991. doi: 10.1006/jcph.1999. 6413. + URL http://www.sciencedirect.com/science/article/ pii/S0021999199964136 + +

algorithm-xml-config is available at src/main/resources/schrimpf.xml. +

+ +

+

+
Author:
+
stefan schroeder
+
+
+ +

+ + + + + + + + + + + +
+Constructor Summary
GreedySchrimpfFactory() + +
+           
+  + + + + + + + + + + + +
+Method Summary
+ VehicleRoutingAlgorithmcreateAlgorithm(VehicleRoutingProblem vrp) + +
+          Creates the VehicleRoutingAlgorithm.
+ + + + + + + +
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+GreedySchrimpfFactory

+
+public GreedySchrimpfFactory()
+
+
+ + + + + + + + +
+Method Detail
+ +

+createAlgorithm

+
+public VehicleRoutingAlgorithm createAlgorithm(VehicleRoutingProblem vrp)
+
+
Creates the VehicleRoutingAlgorithm. +

+

+
Parameters:
vrp - +
Returns:
algorithm
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/doc/algorithms/HardActivityLevelConstraint.html b/doc/algorithms/HardActivityLevelConstraint.html new file mode 100644 index 00000000..cb28c4c0 --- /dev/null +++ b/doc/algorithms/HardActivityLevelConstraint.html @@ -0,0 +1,217 @@ + + + + + + +HardActivityLevelConstraint + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +algorithms +
+Interface HardActivityLevelConstraint

+
+
All Known Implementing Classes:
ConstraintManager, HardPickupAndDeliveryActivityLevelConstraint, HardPickupAndDeliveryBackhaulActivityLevelConstraint, HardTimeWindowActivityLevelConstraint
+
+
+
+
public interface HardActivityLevelConstraint
+ + +

+


+ +

+ + + + + + + + + + + + +
+Method Summary
+ booleanfulfilled(InsertionContext iFacts, + TourActivity prevAct, + TourActivity newAct, + TourActivity nextAct, + double prevActDepTime) + +
+           
+  +

+ + + + + + + + +
+Method Detail
+ +

+fulfilled

+
+boolean fulfilled(InsertionContext iFacts,
+                  TourActivity prevAct,
+                  TourActivity newAct,
+                  TourActivity nextAct,
+                  double prevActDepTime)
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/doc/algorithms/HardLoadConstraint.html b/doc/algorithms/HardLoadConstraint.html new file mode 100644 index 00000000..26b469e5 --- /dev/null +++ b/doc/algorithms/HardLoadConstraint.html @@ -0,0 +1,258 @@ + + + + + + +HardLoadConstraint + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +algorithms +
+Class HardLoadConstraint

+
+java.lang.Object
+  extended by algorithms.HardLoadConstraint
+
+
+
All Implemented Interfaces:
HardRouteLevelConstraint
+
+
+
+
public class HardLoadConstraint
extends java.lang.Object
implements HardRouteLevelConstraint
+ + +

+


+ +

+ + + + + + + + + + + +
+Constructor Summary
HardLoadConstraint(StateManager states) + +
+           
+  + + + + + + + + + + + +
+Method Summary
+ booleanfulfilled(InsertionContext insertionContext) + +
+           
+ + + + + + + +
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+HardLoadConstraint

+
+public HardLoadConstraint(StateManager states)
+
+
+ + + + + + + + +
+Method Detail
+ +

+fulfilled

+
+public boolean fulfilled(InsertionContext insertionContext)
+
+
+
Specified by:
fulfilled in interface HardRouteLevelConstraint
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/doc/algorithms/HardPickupAndDeliveryActivityLevelConstraint.html b/doc/algorithms/HardPickupAndDeliveryActivityLevelConstraint.html new file mode 100644 index 00000000..3fe01356 --- /dev/null +++ b/doc/algorithms/HardPickupAndDeliveryActivityLevelConstraint.html @@ -0,0 +1,266 @@ + + + + + + +HardPickupAndDeliveryActivityLevelConstraint + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +algorithms +
+Class HardPickupAndDeliveryActivityLevelConstraint

+
+java.lang.Object
+  extended by algorithms.HardPickupAndDeliveryActivityLevelConstraint
+
+
+
All Implemented Interfaces:
HardActivityLevelConstraint
+
+
+
+
public class HardPickupAndDeliveryActivityLevelConstraint
extends java.lang.Object
implements HardActivityLevelConstraint
+ + +

+


+ +

+ + + + + + + + + + + +
+Constructor Summary
HardPickupAndDeliveryActivityLevelConstraint(StateManager stateManager) + +
+           
+  + + + + + + + + + + + +
+Method Summary
+ booleanfulfilled(InsertionContext iFacts, + TourActivity prevAct, + TourActivity newAct, + TourActivity nextAct, + double prevActDepTime) + +
+           
+ + + + + + + +
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+HardPickupAndDeliveryActivityLevelConstraint

+
+public HardPickupAndDeliveryActivityLevelConstraint(StateManager stateManager)
+
+
+ + + + + + + + +
+Method Detail
+ +

+fulfilled

+
+public boolean fulfilled(InsertionContext iFacts,
+                         TourActivity prevAct,
+                         TourActivity newAct,
+                         TourActivity nextAct,
+                         double prevActDepTime)
+
+
+
Specified by:
fulfilled in interface HardActivityLevelConstraint
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/doc/algorithms/HardPickupAndDeliveryBackhaulActivityLevelConstraint.html b/doc/algorithms/HardPickupAndDeliveryBackhaulActivityLevelConstraint.html new file mode 100644 index 00000000..db3dcace --- /dev/null +++ b/doc/algorithms/HardPickupAndDeliveryBackhaulActivityLevelConstraint.html @@ -0,0 +1,266 @@ + + + + + + +HardPickupAndDeliveryBackhaulActivityLevelConstraint + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +algorithms +
+Class HardPickupAndDeliveryBackhaulActivityLevelConstraint

+
+java.lang.Object
+  extended by algorithms.HardPickupAndDeliveryBackhaulActivityLevelConstraint
+
+
+
All Implemented Interfaces:
HardActivityLevelConstraint
+
+
+
+
public class HardPickupAndDeliveryBackhaulActivityLevelConstraint
extends java.lang.Object
implements HardActivityLevelConstraint
+ + +

+


+ +

+ + + + + + + + + + + +
+Constructor Summary
HardPickupAndDeliveryBackhaulActivityLevelConstraint(StateManager stateManager) + +
+           
+  + + + + + + + + + + + +
+Method Summary
+ booleanfulfilled(InsertionContext iFacts, + TourActivity prevAct, + TourActivity newAct, + TourActivity nextAct, + double prevActDepTime) + +
+           
+ + + + + + + +
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+HardPickupAndDeliveryBackhaulActivityLevelConstraint

+
+public HardPickupAndDeliveryBackhaulActivityLevelConstraint(StateManager stateManager)
+
+
+ + + + + + + + +
+Method Detail
+ +

+fulfilled

+
+public boolean fulfilled(InsertionContext iFacts,
+                         TourActivity prevAct,
+                         TourActivity newAct,
+                         TourActivity nextAct,
+                         double prevActDepTime)
+
+
+
Specified by:
fulfilled in interface HardActivityLevelConstraint
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/doc/algorithms/HardPickupAndDeliveryLoadConstraint.html b/doc/algorithms/HardPickupAndDeliveryLoadConstraint.html new file mode 100644 index 00000000..138265a7 --- /dev/null +++ b/doc/algorithms/HardPickupAndDeliveryLoadConstraint.html @@ -0,0 +1,266 @@ + + + + + + +HardPickupAndDeliveryLoadConstraint + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +algorithms +
+Class HardPickupAndDeliveryLoadConstraint

+
+java.lang.Object
+  extended by algorithms.HardPickupAndDeliveryLoadConstraint
+
+
+
All Implemented Interfaces:
HardRouteLevelConstraint
+
+
+
+
public class HardPickupAndDeliveryLoadConstraint
extends java.lang.Object
implements HardRouteLevelConstraint
+ + +

+lsjdfjsdlfjsa +

+ +

+

+
Author:
+
stefan
+
+
+ +

+ + + + + + + + + + + +
+Constructor Summary
HardPickupAndDeliveryLoadConstraint(StateManager stateManager) + +
+           
+  + + + + + + + + + + + +
+Method Summary
+ booleanfulfilled(InsertionContext insertionContext) + +
+           
+ + + + + + + +
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+HardPickupAndDeliveryLoadConstraint

+
+public HardPickupAndDeliveryLoadConstraint(StateManager stateManager)
+
+
+ + + + + + + + +
+Method Detail
+ +

+fulfilled

+
+public boolean fulfilled(InsertionContext insertionContext)
+
+
+
Specified by:
fulfilled in interface HardRouteLevelConstraint
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/doc/algorithms/HardRouteLevelConstraint.html b/doc/algorithms/HardRouteLevelConstraint.html new file mode 100644 index 00000000..aa23c14b --- /dev/null +++ b/doc/algorithms/HardRouteLevelConstraint.html @@ -0,0 +1,209 @@ + + + + + + +HardRouteLevelConstraint + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +algorithms +
+Interface HardRouteLevelConstraint

+
+
All Known Implementing Classes:
ConstraintManager, HardLoadConstraint, HardPickupAndDeliveryLoadConstraint
+
+
+
+
public interface HardRouteLevelConstraint
+ + +

+


+ +

+ + + + + + + + + + + + +
+Method Summary
+ booleanfulfilled(InsertionContext insertionContext) + +
+           
+  +

+ + + + + + + + +
+Method Detail
+ +

+fulfilled

+
+boolean fulfilled(InsertionContext insertionContext)
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/doc/algorithms/HardTimeWindowActivityLevelConstraint.html b/doc/algorithms/HardTimeWindowActivityLevelConstraint.html new file mode 100644 index 00000000..b9653f2b --- /dev/null +++ b/doc/algorithms/HardTimeWindowActivityLevelConstraint.html @@ -0,0 +1,276 @@ + + + + + + +HardTimeWindowActivityLevelConstraint + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +algorithms +
+Class HardTimeWindowActivityLevelConstraint

+
+java.lang.Object
+  extended by algorithms.HardTimeWindowActivityLevelConstraint
+
+
+
All Implemented Interfaces:
HardActivityLevelConstraint
+
+
+
+
public class HardTimeWindowActivityLevelConstraint
extends java.lang.Object
implements HardActivityLevelConstraint
+ + +

+ljsljslfjs +

+ +

+

+
Author:
+
stefan
+
+
+ +

+ + + + + + + + + + + +
+Constructor Summary
HardTimeWindowActivityLevelConstraint(StateManager states, + VehicleRoutingTransportCosts routingCosts) + +
+           
+  + + + + + + + + + + + +
+Method Summary
+ booleanfulfilled(InsertionContext iFacts, + TourActivity prevAct, + TourActivity newAct, + TourActivity nextAct, + double prevActDepTime) + +
+           
+ + + + + + + +
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+HardTimeWindowActivityLevelConstraint

+
+public HardTimeWindowActivityLevelConstraint(StateManager states,
+                                             VehicleRoutingTransportCosts routingCosts)
+
+
+ + + + + + + + +
+Method Detail
+ +

+fulfilled

+
+public boolean fulfilled(InsertionContext iFacts,
+                         TourActivity prevAct,
+                         TourActivity newAct,
+                         TourActivity nextAct,
+                         double prevActDepTime)
+
+
+
Specified by:
fulfilled in interface HardActivityLevelConstraint
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/doc/algorithms/InfiniteFleetManagerFactory.html b/doc/algorithms/InfiniteFleetManagerFactory.html new file mode 100644 index 00000000..3b2b1691 --- /dev/null +++ b/doc/algorithms/InfiniteFleetManagerFactory.html @@ -0,0 +1,258 @@ + + + + + + +InfiniteFleetManagerFactory + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +algorithms +
+Class InfiniteFleetManagerFactory

+
+java.lang.Object
+  extended by algorithms.InfiniteFleetManagerFactory
+
+
+
All Implemented Interfaces:
VehicleFleetManagerFactory
+
+
+
+
public class InfiniteFleetManagerFactory
extends java.lang.Object
implements VehicleFleetManagerFactory
+ + +

+


+ +

+ + + + + + + + + + + +
+Constructor Summary
InfiniteFleetManagerFactory(java.util.Collection<Vehicle> vehicles) + +
+           
+  + + + + + + + + + + + +
+Method Summary
+ VehicleFleetManagercreateFleetManager() + +
+           
+ + + + + + + +
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+InfiniteFleetManagerFactory

+
+public InfiniteFleetManagerFactory(java.util.Collection<Vehicle> vehicles)
+
+
+ + + + + + + + +
+Method Detail
+ +

+createFleetManager

+
+public VehicleFleetManager createFleetManager()
+
+
+
Specified by:
createFleetManager in interface VehicleFleetManagerFactory
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/doc/algorithms/InitialSolutionFactory.html b/doc/algorithms/InitialSolutionFactory.html new file mode 100644 index 00000000..8bf0697f --- /dev/null +++ b/doc/algorithms/InitialSolutionFactory.html @@ -0,0 +1,209 @@ + + + + + + +InitialSolutionFactory + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +algorithms +
+Interface InitialSolutionFactory

+
+
All Known Implementing Classes:
BestInsertionInitialSolutionFactory
+
+
+
+
public interface InitialSolutionFactory
+ + +

+


+ +

+ + + + + + + + + + + + +
+Method Summary
+ VehicleRoutingProblemSolutioncreateSolution(VehicleRoutingProblem vrp) + +
+           
+  +

+ + + + + + + + +
+Method Detail
+ +

+createSolution

+
+VehicleRoutingProblemSolution createSolution(VehicleRoutingProblem vrp)
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/doc/algorithms/InitializeLoadsAtStartAndEndOfRouteWhenInsertionStarts.html b/doc/algorithms/InitializeLoadsAtStartAndEndOfRouteWhenInsertionStarts.html new file mode 100644 index 00000000..c44b4f80 --- /dev/null +++ b/doc/algorithms/InitializeLoadsAtStartAndEndOfRouteWhenInsertionStarts.html @@ -0,0 +1,278 @@ + + + + + + +InitializeLoadsAtStartAndEndOfRouteWhenInsertionStarts + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +algorithms +
+Class InitializeLoadsAtStartAndEndOfRouteWhenInsertionStarts

+
+java.lang.Object
+  extended by algorithms.InitializeLoadsAtStartAndEndOfRouteWhenInsertionStarts
+
+
+
All Implemented Interfaces:
InsertionListener, InsertionStartsListener, SearchStrategyModuleListener, VehicleRoutingAlgorithmListener
+
+
+
+
public class InitializeLoadsAtStartAndEndOfRouteWhenInsertionStarts
extends java.lang.Object
implements InsertionStartsListener
+ + +

+Initializes the load of each route/vehicle at start- and end-location before insertion starts. + +

StateTypes.LOAD_AT_DEPOT and StateTypes.LOAD are modified for each route +

These states can be retrieved by
+ stateManager.getRouteState(route, StateTypes.LOAD_AT_DEPOT) for LOAD_AT_DEPOT and
+ stateManager.getRouteState(route, StateTypes.LOAD) for LOAD (i.e. load at end) +

+ +

+


+ +

+ + + + + + + + + + + +
+Constructor Summary
InitializeLoadsAtStartAndEndOfRouteWhenInsertionStarts(StateManagerImpl stateManager) + +
+          Initializes the load of each route/vehicle at start- and end-location before insertion starts.
+  + + + + + + + + + + + +
+Method Summary
+ voidinformInsertionStarts(java.util.Collection<VehicleRoute> vehicleRoutes, + java.util.Collection<Job> unassignedJobs) + +
+           
+ + + + + + + +
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+InitializeLoadsAtStartAndEndOfRouteWhenInsertionStarts

+
+public InitializeLoadsAtStartAndEndOfRouteWhenInsertionStarts(StateManagerImpl stateManager)
+
+
Initializes the load of each route/vehicle at start- and end-location before insertion starts. + +

StateTypes.LOAD_AT_DEPOT and StateTypes.LOAD are modified for each route +

These states can be retrieved by
+ stateManager.getRouteState(route, StateTypes.LOAD_AT_DEPOT) for LOAD_AT_DEPOT and
+ stateManager.getRouteState(route, StateTypes.LOAD) for LOAD (i.e. load at end) +

+

+
Parameters:
stateManager -
+
+ + + + + + + + +
+Method Detail
+ +

+informInsertionStarts

+
+public void informInsertionStarts(java.util.Collection<VehicleRoute> vehicleRoutes,
+                                  java.util.Collection<Job> unassignedJobs)
+
+
+
Specified by:
informInsertionStarts in interface InsertionStartsListener
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/doc/algorithms/InsertionContext.html b/doc/algorithms/InsertionContext.html new file mode 100644 index 00000000..a305f969 --- /dev/null +++ b/doc/algorithms/InsertionContext.html @@ -0,0 +1,341 @@ + + + + + + +InsertionContext + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +algorithms +
+Class InsertionContext

+
+java.lang.Object
+  extended by algorithms.InsertionContext
+
+
+
+
public class InsertionContext
extends java.lang.Object
+ + +

+


+ +

+ + + + + + + + + + + +
+Constructor Summary
InsertionContext(VehicleRoute route, + Job job, + Vehicle newVehicle, + Driver newDriver, + double newDepTime) + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ JobgetJob() + +
+           
+ doublegetNewDepTime() + +
+           
+ DrivergetNewDriver() + +
+           
+ VehiclegetNewVehicle() + +
+           
+ VehicleRoutegetRoute() + +
+           
+ + + + + + + +
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+InsertionContext

+
+public InsertionContext(VehicleRoute route,
+                        Job job,
+                        Vehicle newVehicle,
+                        Driver newDriver,
+                        double newDepTime)
+
+
+ + + + + + + + +
+Method Detail
+ +

+getRoute

+
+public VehicleRoute getRoute()
+
+
+ +
Returns:
the route
+
+
+
+ +

+getJob

+
+public Job getJob()
+
+
+ +
Returns:
the job
+
+
+
+ +

+getNewVehicle

+
+public Vehicle getNewVehicle()
+
+
+ +
Returns:
the newVehicle
+
+
+
+ +

+getNewDriver

+
+public Driver getNewDriver()
+
+
+ +
Returns:
the newDriver
+
+
+
+ +

+getNewDepTime

+
+public double getNewDepTime()
+
+
+ +
Returns:
the newDepTime
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/doc/algorithms/InsertionStrategy.html b/doc/algorithms/InsertionStrategy.html new file mode 100644 index 00000000..2287032b --- /dev/null +++ b/doc/algorithms/InsertionStrategy.html @@ -0,0 +1,271 @@ + + + + + + +InsertionStrategy + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +algorithms +
+Interface InsertionStrategy

+
+
+
public interface InsertionStrategy
+ + +

+

+
Author:
+
stefan schroeder
+
+
+ +

+ + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ voidaddListener(InsertionListener insertionListener) + +
+           
+ java.util.Collection<InsertionListener>getListeners() + +
+           
+ voidinsertJobs(java.util.Collection<VehicleRoute> vehicleRoutes, + java.util.Collection<Job> unassignedJobs) + +
+          Assigns the unassigned jobs to service-providers
+ voidremoveListener(InsertionListener insertionListener) + +
+           
+  +

+ + + + + + + + +
+Method Detail
+ +

+insertJobs

+
+void insertJobs(java.util.Collection<VehicleRoute> vehicleRoutes,
+                java.util.Collection<Job> unassignedJobs)
+
+
Assigns the unassigned jobs to service-providers +

+

+
Parameters:
vehicleRoutes -
unassignedJobs -
+
+
+
+ +

+addListener

+
+void addListener(InsertionListener insertionListener)
+
+
+
+
+
+
+ +

+removeListener

+
+void removeListener(InsertionListener insertionListener)
+
+
+
+
+
+
+ +

+getListeners

+
+java.util.Collection<InsertionListener> getListeners()
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/doc/algorithms/InsertionStrategyBuilder.html b/doc/algorithms/InsertionStrategyBuilder.html new file mode 100644 index 00000000..4805f808 --- /dev/null +++ b/doc/algorithms/InsertionStrategyBuilder.html @@ -0,0 +1,209 @@ + + + + + + +InsertionStrategyBuilder + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +algorithms +
+Interface InsertionStrategyBuilder

+
+
All Known Implementing Classes:
BestInsertionBuilder
+
+
+
+
public interface InsertionStrategyBuilder
+ + +

+


+ +

+ + + + + + + + + + + + +
+Method Summary
+ InsertionStrategybuild() + +
+           
+  +

+ + + + + + + + +
+Method Detail
+ +

+build

+
+InsertionStrategy build()
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/doc/algorithms/JobDistance.html b/doc/algorithms/JobDistance.html new file mode 100644 index 00000000..6c042125 --- /dev/null +++ b/doc/algorithms/JobDistance.html @@ -0,0 +1,208 @@ + + + + + + +JobDistance + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +algorithms +
+Interface JobDistance

+
+
+
public interface JobDistance
+ + +

+


+ +

+ + + + + + + + + + + + +
+Method Summary
+ doublegetDistance(Job i, + Job j) + +
+           
+  +

+ + + + + + + + +
+Method Detail
+ +

+getDistance

+
+double getDistance(Job i,
+                   Job j)
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/doc/algorithms/NeighborhoodThresholdInitialiser.html b/doc/algorithms/NeighborhoodThresholdInitialiser.html new file mode 100644 index 00000000..b2514b5b --- /dev/null +++ b/doc/algorithms/NeighborhoodThresholdInitialiser.html @@ -0,0 +1,328 @@ + + + + + + +NeighborhoodThresholdInitialiser + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +algorithms +
+Class NeighborhoodThresholdInitialiser

+
+java.lang.Object
+  extended by algorithms.NeighborhoodThresholdInitialiser
+
+
+
All Implemented Interfaces:
AlgorithmStartsListener, VehicleRoutingAlgorithmListener
+
+
+
+
public class NeighborhoodThresholdInitialiser
extends java.lang.Object
implements AlgorithmStartsListener
+ + +

+


+ +

+ + + + + + + + + + + +
+Constructor Summary
NeighborhoodThresholdInitialiser(NeighborhoodImpl neighborhood) + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ voidinformAlgorithmStarts(VehicleRoutingProblem problem, + VehicleRoutingAlgorithm algorithm, + java.util.Collection<VehicleRoutingProblemSolution> solutions) + +
+           
+ voidinitialise(VehicleRoutingProblem problem) + +
+           
+ voidsetCrowFlySpeed(int crowFlySpeed) + +
+           
+ voidsetRoutingAlgorithmFactory(VehicleRoutingAlgorithmFactory routingAlgorithmFactory) + +
+           
+ + + + + + + +
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+NeighborhoodThresholdInitialiser

+
+public NeighborhoodThresholdInitialiser(NeighborhoodImpl neighborhood)
+
+
+ + + + + + + + +
+Method Detail
+ +

+setCrowFlySpeed

+
+public void setCrowFlySpeed(int crowFlySpeed)
+
+
+
+
+
+
Parameters:
crowFlySpeed - the crowFlySpeed to set
+
+
+
+ +

+setRoutingAlgorithmFactory

+
+public void setRoutingAlgorithmFactory(VehicleRoutingAlgorithmFactory routingAlgorithmFactory)
+
+
+
+
+
+
Parameters:
routingAlgorithmFactory - the routingAlgorithm to set
+
+
+
+ +

+initialise

+
+public void initialise(VehicleRoutingProblem problem)
+
+
+
+
+
+
+
+
+
+ +

+informAlgorithmStarts

+
+public void informAlgorithmStarts(VehicleRoutingProblem problem,
+                                  VehicleRoutingAlgorithm algorithm,
+                                  java.util.Collection<VehicleRoutingProblemSolution> solutions)
+
+
+
Specified by:
informAlgorithmStarts in interface AlgorithmStartsListener
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/doc/algorithms/RadialRuinStrategyFactory.html b/doc/algorithms/RadialRuinStrategyFactory.html new file mode 100644 index 00000000..b0dc528d --- /dev/null +++ b/doc/algorithms/RadialRuinStrategyFactory.html @@ -0,0 +1,260 @@ + + + + + + +RadialRuinStrategyFactory + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +algorithms +
+Class RadialRuinStrategyFactory

+
+java.lang.Object
+  extended by algorithms.RadialRuinStrategyFactory
+
+
+
All Implemented Interfaces:
RuinStrategyFactory
+
+
+
+
public class RadialRuinStrategyFactory
extends java.lang.Object
implements RuinStrategyFactory
+ + +

+


+ +

+ + + + + + + + + + + +
+Constructor Summary
RadialRuinStrategyFactory(double fraction, + JobDistance jobDistance) + +
+           
+  + + + + + + + + + + + +
+Method Summary
+ RuinStrategycreateStrategy(VehicleRoutingProblem vrp) + +
+           
+ + + + + + + +
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+RadialRuinStrategyFactory

+
+public RadialRuinStrategyFactory(double fraction,
+                                 JobDistance jobDistance)
+
+
+ + + + + + + + +
+Method Detail
+ +

+createStrategy

+
+public RuinStrategy createStrategy(VehicleRoutingProblem vrp)
+
+
+
Specified by:
createStrategy in interface RuinStrategyFactory
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/doc/algorithms/RandomRuinStrategyFactory.html b/doc/algorithms/RandomRuinStrategyFactory.html new file mode 100644 index 00000000..c2c0654c --- /dev/null +++ b/doc/algorithms/RandomRuinStrategyFactory.html @@ -0,0 +1,258 @@ + + + + + + +RandomRuinStrategyFactory + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +algorithms +
+Class RandomRuinStrategyFactory

+
+java.lang.Object
+  extended by algorithms.RandomRuinStrategyFactory
+
+
+
All Implemented Interfaces:
RuinStrategyFactory
+
+
+
+
public class RandomRuinStrategyFactory
extends java.lang.Object
implements RuinStrategyFactory
+ + +

+


+ +

+ + + + + + + + + + + +
+Constructor Summary
RandomRuinStrategyFactory(double fraction) + +
+           
+  + + + + + + + + + + + +
+Method Summary
+ RuinStrategycreateStrategy(VehicleRoutingProblem vrp) + +
+           
+ + + + + + + +
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+RandomRuinStrategyFactory

+
+public RandomRuinStrategyFactory(double fraction)
+
+
+ + + + + + + + +
+Method Detail
+ +

+createStrategy

+
+public RuinStrategy createStrategy(VehicleRoutingProblem vrp)
+
+
+
Specified by:
createStrategy in interface RuinStrategyFactory
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/doc/algorithms/RemoveEmptyVehicles.html b/doc/algorithms/RemoveEmptyVehicles.html new file mode 100644 index 00000000..8e5e52ef --- /dev/null +++ b/doc/algorithms/RemoveEmptyVehicles.html @@ -0,0 +1,280 @@ + + + + + + +RemoveEmptyVehicles + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +algorithms +
+Class RemoveEmptyVehicles

+
+java.lang.Object
+  extended by algorithms.RemoveEmptyVehicles
+
+
+
All Implemented Interfaces:
InsertionEndsListener, InsertionListener, SearchStrategyModuleListener, VehicleRoutingAlgorithmListener
+
+
+
+
public class RemoveEmptyVehicles
extends java.lang.Object
implements InsertionEndsListener
+ + +

+


+ +

+ + + + + + + + + + + +
+Constructor Summary
RemoveEmptyVehicles(VehicleFleetManager fleetManager) + +
+           
+  + + + + + + + + + + + + + + + +
+Method Summary
+ voidinformInsertionEnds(java.util.Collection<VehicleRoute> vehicleRoutes) + +
+           
+ java.lang.StringtoString() + +
+           
+ + + + + + + +
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+RemoveEmptyVehicles

+
+public RemoveEmptyVehicles(VehicleFleetManager fleetManager)
+
+
+ + + + + + + + +
+Method Detail
+ +

+toString

+
+public java.lang.String toString()
+
+
+
Overrides:
toString in class java.lang.Object
+
+
+
+
+
+
+ +

+informInsertionEnds

+
+public void informInsertionEnds(java.util.Collection<VehicleRoute> vehicleRoutes)
+
+
+
Specified by:
informInsertionEnds in interface InsertionEndsListener
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/doc/algorithms/ReverseActivityVisitor.html b/doc/algorithms/ReverseActivityVisitor.html new file mode 100644 index 00000000..2a1d0b07 --- /dev/null +++ b/doc/algorithms/ReverseActivityVisitor.html @@ -0,0 +1,247 @@ + + + + + + +ReverseActivityVisitor + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +algorithms +
+Interface ReverseActivityVisitor

+
+
All Known Implementing Classes:
UpdateFuturePickupsAtActivityLevel, UpdateLatestOperationStartTimeAtActLocations
+
+
+
+
public interface ReverseActivityVisitor
+ + +

+


+ +

+ + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ voidbegin(VehicleRoute route) + +
+           
+ voidfinish() + +
+           
+ voidvisit(TourActivity activity) + +
+           
+  +

+ + + + + + + + +
+Method Detail
+ +

+begin

+
+void begin(VehicleRoute route)
+
+
+
+
+
+
+ +

+visit

+
+void visit(TourActivity activity)
+
+
+
+
+
+
+ +

+finish

+
+void finish()
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/doc/algorithms/ReverseRouteActivityVisitor.html b/doc/algorithms/ReverseRouteActivityVisitor.html new file mode 100644 index 00000000..877e2fd7 --- /dev/null +++ b/doc/algorithms/ReverseRouteActivityVisitor.html @@ -0,0 +1,280 @@ + + + + + + +ReverseRouteActivityVisitor + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +algorithms +
+Class ReverseRouteActivityVisitor

+
+java.lang.Object
+  extended by algorithms.ReverseRouteActivityVisitor
+
+
+
All Implemented Interfaces:
RouteVisitor
+
+
+
+
public class ReverseRouteActivityVisitor
extends java.lang.Object
implements RouteVisitor
+ + +

+


+ +

+ + + + + + + + + + + +
+Constructor Summary
ReverseRouteActivityVisitor() + +
+           
+  + + + + + + + + + + + + + + + +
+Method Summary
+ voidaddActivityVisitor(ReverseActivityVisitor activityVisitor) + +
+           
+ voidvisit(VehicleRoute route) + +
+           
+ + + + + + + +
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+ReverseRouteActivityVisitor

+
+public ReverseRouteActivityVisitor()
+
+
+ + + + + + + + +
+Method Detail
+ +

+visit

+
+public void visit(VehicleRoute route)
+
+
+
Specified by:
visit in interface RouteVisitor
+
+
+
+
+
+
+ +

+addActivityVisitor

+
+public void addActivityVisitor(ReverseActivityVisitor activityVisitor)
+
+
+
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/doc/algorithms/RouteActivityVisitor.html b/doc/algorithms/RouteActivityVisitor.html new file mode 100644 index 00000000..8253db7b --- /dev/null +++ b/doc/algorithms/RouteActivityVisitor.html @@ -0,0 +1,280 @@ + + + + + + +RouteActivityVisitor + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +algorithms +
+Class RouteActivityVisitor

+
+java.lang.Object
+  extended by algorithms.RouteActivityVisitor
+
+
+
All Implemented Interfaces:
RouteVisitor
+
+
+
+
public class RouteActivityVisitor
extends java.lang.Object
implements RouteVisitor
+ + +

+


+ +

+ + + + + + + + + + + +
+Constructor Summary
RouteActivityVisitor() + +
+           
+  + + + + + + + + + + + + + + + +
+Method Summary
+ voidaddActivityVisitor(ActivityVisitor activityVisitor) + +
+           
+ voidvisit(VehicleRoute route) + +
+           
+ + + + + + + +
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+RouteActivityVisitor

+
+public RouteActivityVisitor()
+
+
+ + + + + + + + +
+Method Detail
+ +

+visit

+
+public void visit(VehicleRoute route)
+
+
+
Specified by:
visit in interface RouteVisitor
+
+
+
+
+
+
+ +

+addActivityVisitor

+
+public void addActivityVisitor(ActivityVisitor activityVisitor)
+
+
+
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/doc/algorithms/RouteVisitor.html b/doc/algorithms/RouteVisitor.html new file mode 100644 index 00000000..a1992919 --- /dev/null +++ b/doc/algorithms/RouteVisitor.html @@ -0,0 +1,209 @@ + + + + + + +RouteVisitor + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +algorithms +
+Interface RouteVisitor

+
+
All Known Implementing Classes:
ReverseRouteActivityVisitor, RouteActivityVisitor
+
+
+
+
public interface RouteVisitor
+ + +

+


+ +

+ + + + + + + + + + + + +
+Method Summary
+ voidvisit(VehicleRoute route) + +
+           
+  +

+ + + + + + + + +
+Method Detail
+ +

+visit

+
+void visit(VehicleRoute route)
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/doc/algorithms/RuinAndRecreateModule.html b/doc/algorithms/RuinAndRecreateModule.html new file mode 100644 index 00000000..6459d870 --- /dev/null +++ b/doc/algorithms/RuinAndRecreateModule.html @@ -0,0 +1,306 @@ + + + + + + +RuinAndRecreateModule + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +algorithms +
+Class RuinAndRecreateModule

+
+java.lang.Object
+  extended by algorithms.RuinAndRecreateModule
+
+
+
All Implemented Interfaces:
SearchStrategyModule
+
+
+
+
public class RuinAndRecreateModule
extends java.lang.Object
implements SearchStrategyModule
+ + +

+


+ +

+ + + + + + + + + + + +
+Constructor Summary
RuinAndRecreateModule(java.lang.String moduleName, + InsertionStrategy insertion, + RuinStrategy ruin) + +
+           
+  + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ voidaddModuleListener(SearchStrategyModuleListener moduleListener) + +
+           
+ java.lang.StringgetName() + +
+           
+ VehicleRoutingProblemSolutionrunAndGetSolution(VehicleRoutingProblemSolution vrpSolution) + +
+           
+ + + + + + + +
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+RuinAndRecreateModule

+
+public RuinAndRecreateModule(java.lang.String moduleName,
+                             InsertionStrategy insertion,
+                             RuinStrategy ruin)
+
+
+ + + + + + + + +
+Method Detail
+ +

+runAndGetSolution

+
+public VehicleRoutingProblemSolution runAndGetSolution(VehicleRoutingProblemSolution vrpSolution)
+
+
+
Specified by:
runAndGetSolution in interface SearchStrategyModule
+
+
+
+
+
+
+ +

+getName

+
+public java.lang.String getName()
+
+
+
Specified by:
getName in interface SearchStrategyModule
+
+
+
+
+
+
+ +

+addModuleListener

+
+public void addModuleListener(SearchStrategyModuleListener moduleListener)
+
+
+
Specified by:
addModuleListener in interface SearchStrategyModule
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/doc/algorithms/RuinStrategy.html b/doc/algorithms/RuinStrategy.html new file mode 100644 index 00000000..763e8210 --- /dev/null +++ b/doc/algorithms/RuinStrategy.html @@ -0,0 +1,298 @@ + + + + + + +RuinStrategy + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +algorithms +
+Interface RuinStrategy

+
+
+
public interface RuinStrategy
+ + +

+

+
Author:
+
stefan schroeder
+
+
+ +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ voidaddListener(RuinListener ruinListener) + +
+          Adds a ruin-listener.
+ java.util.Collection<RuinListener>getListeners() + +
+           
+ voidremoveListener(RuinListener ruinListener) + +
+           
+ java.util.Collection<Job>ruin(java.util.Collection<VehicleRoute> vehicleRoutes) + +
+          Ruins a current solution, i.e.
+ java.util.Collection<Job>ruin(java.util.Collection<VehicleRoute> vehicleRoutes, + Job targetJob, + int nOfJobs2BeRemoved) + +
+          Removes targetJob as well as its neighbors with a size of (nOfJobs2BeRemoved-1).
+  +

+ + + + + + + + +
+Method Detail
+ +

+ruin

+
+java.util.Collection<Job> ruin(java.util.Collection<VehicleRoute> vehicleRoutes)
+
+
Ruins a current solution, i.e. a collection of vehicle-routes and + returns a collection of removed and thus unassigned jobs. +

+

+
Parameters:
{@link - VehicleRoute} +
Returns:
Collection of Job
+
+
+
+ +

+ruin

+
+java.util.Collection<Job> ruin(java.util.Collection<VehicleRoute> vehicleRoutes,
+                               Job targetJob,
+                               int nOfJobs2BeRemoved)
+
+
Removes targetJob as well as its neighbors with a size of (nOfJobs2BeRemoved-1). +

+

+
+
+
+
+ +

+addListener

+
+void addListener(RuinListener ruinListener)
+
+
Adds a ruin-listener. +

+

+
Parameters:
{@link - RuinListener}
+
+
+
+ +

+removeListener

+
+void removeListener(RuinListener ruinListener)
+
+
+
+
+
+
+ +

+getListeners

+
+java.util.Collection<RuinListener> getListeners()
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/doc/algorithms/RuinStrategyFactory.html b/doc/algorithms/RuinStrategyFactory.html new file mode 100644 index 00000000..44f9df10 --- /dev/null +++ b/doc/algorithms/RuinStrategyFactory.html @@ -0,0 +1,209 @@ + + + + + + +RuinStrategyFactory + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +algorithms +
+Interface RuinStrategyFactory

+
+
All Known Implementing Classes:
RadialRuinStrategyFactory, RandomRuinStrategyFactory
+
+
+
+
public interface RuinStrategyFactory
+ + +

+


+ +

+ + + + + + + + + + + + +
+Method Summary
+ RuinStrategycreateStrategy(VehicleRoutingProblem vrp) + +
+           
+  +

+ + + + + + + + +
+Method Detail
+ +

+createStrategy

+
+RuinStrategy createStrategy(VehicleRoutingProblem vrp)
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/doc/algorithms/SchrimpfFactory.html b/doc/algorithms/SchrimpfFactory.html new file mode 100644 index 00000000..4f9981b2 --- /dev/null +++ b/doc/algorithms/SchrimpfFactory.html @@ -0,0 +1,276 @@ + + + + + + +SchrimpfFactory + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +algorithms +
+Class SchrimpfFactory

+
+java.lang.Object
+  extended by algorithms.SchrimpfFactory
+
+
+
+
public class SchrimpfFactory
extends java.lang.Object
+ + +

+Factory that creates the VehicleRoutingAlgorithm as proposed by Schrimpf et al., 2000 with the following parameters: + +

+ R&R_random (prob=0.5, F=0.5); + R&R_radial (prob=0.5, F=0.3); + threshold-accepting with exponentialDecayFunction (alpha=0.1, warmup-iterations=100); + nuOfIterations=2000 + +

Gerhard Schrimpf, Johannes Schneider, Hermann Stamm- Wilbrandt, and Gunter Dueck. + Record breaking optimization results using the ruin and recreate principle. + Journal of Computational Physics, 159(2):139 – 171, 2000. ISSN 0021-9991. doi: 10.1006/jcph.1999. 6413. + URL http://www.sciencedirect.com/science/article/ pii/S0021999199964136 + +

algorithm-xml-config is available at src/main/resources/schrimpf.xml. +

+ +

+

+
Author:
+
stefan schroeder
+
+
+ +

+ + + + + + + + + + + +
+Constructor Summary
SchrimpfFactory() + +
+           
+  + + + + + + + + + + + +
+Method Summary
+ VehicleRoutingAlgorithmcreateAlgorithm(VehicleRoutingProblem vrp) + +
+          Creates the VehicleRoutingAlgorithm.
+ + + + + + + +
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+SchrimpfFactory

+
+public SchrimpfFactory()
+
+
+ + + + + + + + +
+Method Detail
+ +

+createAlgorithm

+
+public VehicleRoutingAlgorithm createAlgorithm(VehicleRoutingProblem vrp)
+
+
Creates the VehicleRoutingAlgorithm. +

+

+
Parameters:
vrp - +
Returns:
algorithm
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/doc/algorithms/StateIdFactory.html b/doc/algorithms/StateIdFactory.html new file mode 100644 index 00000000..8be04a75 --- /dev/null +++ b/doc/algorithms/StateIdFactory.html @@ -0,0 +1,252 @@ + + + + + + +StateIdFactory + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +algorithms +
+Class StateIdFactory

+
+java.lang.Object
+  extended by algorithms.StateIdFactory
+
+
+
+
public class StateIdFactory
extends java.lang.Object
+ + +

+


+ +

+ + + + + + + + + + + +
+Constructor Summary
StateIdFactory() + +
+           
+  + + + + + + + + + + + +
+Method Summary
+static StateManager.StateIdcreateId(java.lang.String name) + +
+           
+ + + + + + + +
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+StateIdFactory

+
+public StateIdFactory()
+
+
+ + + + + + + + +
+Method Detail
+ +

+createId

+
+public static StateManager.StateId createId(java.lang.String name)
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/doc/algorithms/StateManager.State.html b/doc/algorithms/StateManager.State.html new file mode 100644 index 00000000..860f7ff1 --- /dev/null +++ b/doc/algorithms/StateManager.State.html @@ -0,0 +1,212 @@ + + + + + + +StateManager.State + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +algorithms +
+Interface StateManager.State

+
+
All Known Implementing Classes:
StateManagerImpl.StateImpl
+
+
+
Enclosing interface:
StateManager
+
+
+
+
public static interface StateManager.State
+ + +

+


+ +

+ + + + + + + + + + + + +
+Method Summary
+ doubletoDouble() + +
+           
+  +

+ + + + + + + + +
+Method Detail
+ +

+toDouble

+
+double toDouble()
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/doc/algorithms/StateManager.StateId.html b/doc/algorithms/StateManager.StateId.html new file mode 100644 index 00000000..4d1478a7 --- /dev/null +++ b/doc/algorithms/StateManager.StateId.html @@ -0,0 +1,171 @@ + + + + + + +StateManager.StateId + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +algorithms +
+Interface StateManager.StateId

+
+
Enclosing interface:
StateManager
+
+
+
+
public static interface StateManager.StateId
+ + +

+


+ +

+ +

+ +


+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/doc/algorithms/StateManager.html b/doc/algorithms/StateManager.html new file mode 100644 index 00000000..6426be1f --- /dev/null +++ b/doc/algorithms/StateManager.html @@ -0,0 +1,257 @@ + + + + + + +StateManager + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +algorithms +
+Interface StateManager

+
+
All Known Implementing Classes:
StateManagerImpl
+
+
+
+
public interface StateManager
+ + +

+


+ +

+ + + + + + + + + + + + + + + +
+Nested Class Summary
+static interfaceStateManager.State + +
+           
+static interfaceStateManager.StateId + +
+           
+  + + + + + + + + + + + + + + + +
+Method Summary
+ StateManager.StategetActivityState(TourActivity act, + StateManager.StateId stateId) + +
+           
+ StateManager.StategetRouteState(VehicleRoute route, + StateManager.StateId stateId) + +
+           
+  +

+ + + + + + + + +
+Method Detail
+ +

+getActivityState

+
+StateManager.State getActivityState(TourActivity act,
+                                    StateManager.StateId stateId)
+
+
+
+
+
+
+ +

+getRouteState

+
+StateManager.State getRouteState(VehicleRoute route,
+                                 StateManager.StateId stateId)
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/doc/algorithms/StateManagerImpl.StateImpl.html b/doc/algorithms/StateManagerImpl.StateImpl.html new file mode 100644 index 00000000..2daaf09e --- /dev/null +++ b/doc/algorithms/StateManagerImpl.StateImpl.html @@ -0,0 +1,261 @@ + + + + + + +StateManagerImpl.StateImpl + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +algorithms +
+Class StateManagerImpl.StateImpl

+
+java.lang.Object
+  extended by algorithms.StateManagerImpl.StateImpl
+
+
+
All Implemented Interfaces:
StateManager.State
+
+
+
Enclosing class:
StateManagerImpl
+
+
+
+
public static class StateManagerImpl.StateImpl
extends java.lang.Object
implements StateManager.State
+ + +

+


+ +

+ + + + + + + + + + + +
+Constructor Summary
StateManagerImpl.StateImpl(double state) + +
+           
+  + + + + + + + + + + + +
+Method Summary
+ doubletoDouble() + +
+           
+ + + + + + + +
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+StateManagerImpl.StateImpl

+
+public StateManagerImpl.StateImpl(double state)
+
+
+ + + + + + + + +
+Method Detail
+ +

+toDouble

+
+public double toDouble()
+
+
+
Specified by:
toDouble in interface StateManager.State
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/doc/algorithms/StateManagerImpl.html b/doc/algorithms/StateManagerImpl.html new file mode 100644 index 00000000..51c00097 --- /dev/null +++ b/doc/algorithms/StateManagerImpl.html @@ -0,0 +1,726 @@ + + + + + + +StateManagerImpl + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +algorithms +
+Class StateManagerImpl

+
+java.lang.Object
+  extended by algorithms.StateManagerImpl
+
+
+
All Implemented Interfaces:
StateManager, InsertionEndsListener, InsertionListener, InsertionStartsListener, IterationStartsListener, JobInsertedListener, RuinListener, SearchStrategyModuleListener, VehicleRoutingAlgorithmListener
+
+
+
+
public class StateManagerImpl
extends java.lang.Object
implements StateManager, IterationStartsListener, RuinListener, InsertionStartsListener, JobInsertedListener, InsertionEndsListener
+ + +

+


+ +

+ + + + + + + + + + + +
+Nested Class Summary
+static classStateManagerImpl.StateImpl + +
+           
+ + + + + + + +
Nested classes/interfaces inherited from interface algorithms.StateManager
StateManager.State, StateManager.StateId
+  + + + + + + + + + + + +
+Constructor Summary
StateManagerImpl() + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ voidaddActivityVisitor(ActivityVisitor activityVistor) + +
+          Adds an activityVisitor.
+ voidaddActivityVisitor(ReverseActivityVisitor activityVistor) + +
+          Adds an reverseActivityVisitor.
+ voidaddListener(InsertionListener insertionListener) + +
+           
+ voidaddListener(RuinListener ruinListener) + +
+           
+ voidaddRouteVisitor(RouteVisitor routeVisitor) + +
+           
+ voidclear() + +
+           
+ StateManager.StategetActivityState(TourActivity act, + StateManager.StateId stateId) + +
+           
+ StateManager.StategetRouteState(VehicleRoute route, + StateManager.StateId stateId) + +
+           
+ voidinformInsertionEnds(java.util.Collection<VehicleRoute> vehicleRoutes) + +
+           
+ voidinformInsertionStarts(java.util.Collection<VehicleRoute> vehicleRoutes, + java.util.Collection<Job> unassignedJobs) + +
+           
+ voidinformIterationStarts(int i, + VehicleRoutingProblem problem, + java.util.Collection<VehicleRoutingProblemSolution> solutions) + +
+           
+ voidinformJobInserted(Job job2insert, + VehicleRoute inRoute, + double additionalCosts, + double additionalTime) + +
+           
+ voidputActivityState(TourActivity act, + StateManager.StateId stateId, + StateManager.State state) + +
+           
+ voidputRouteState(VehicleRoute route, + StateManager.StateId stateId, + StateManager.State state) + +
+           
+ voidremoved(Job job, + VehicleRoute fromRoute) + +
+          informs if a Job has been removed from a VehicleRoute.
+ voidremoveListener(InsertionListener insertionListener) + +
+           
+ voidremoveListener(RuinListener ruinListener) + +
+           
+ voidruinEnds(java.util.Collection<VehicleRoute> routes, + java.util.Collection<Job> unassignedJobs) + +
+          informs about ruin-end.
+ voidruinStarts(java.util.Collection<VehicleRoute> routes) + +
+          informs about ruin-start.
+ + + + + + + +
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+StateManagerImpl

+
+public StateManagerImpl()
+
+
+ + + + + + + + +
+Method Detail
+ +

+addListener

+
+public void addListener(RuinListener ruinListener)
+
+
+
+
+
+
+
+
+
+ +

+removeListener

+
+public void removeListener(RuinListener ruinListener)
+
+
+
+
+
+
+
+
+
+ +

+addListener

+
+public void addListener(InsertionListener insertionListener)
+
+
+
+
+
+
+
+
+
+ +

+removeListener

+
+public void removeListener(InsertionListener insertionListener)
+
+
+
+
+
+
+
+
+
+ +

+clear

+
+public void clear()
+
+
+
+
+
+
+
+
+
+ +

+getActivityState

+
+public StateManager.State getActivityState(TourActivity act,
+                                           StateManager.StateId stateId)
+
+
+
Specified by:
getActivityState in interface StateManager
+
+
+
+
+
+
+ +

+putActivityState

+
+public void putActivityState(TourActivity act,
+                             StateManager.StateId stateId,
+                             StateManager.State state)
+
+
+
+
+
+
+
+
+
+ +

+getRouteState

+
+public StateManager.State getRouteState(VehicleRoute route,
+                                        StateManager.StateId stateId)
+
+
+
Specified by:
getRouteState in interface StateManager
+
+
+
+
+
+
+ +

+putRouteState

+
+public void putRouteState(VehicleRoute route,
+                          StateManager.StateId stateId,
+                          StateManager.State state)
+
+
+
+
+
+
+
+
+
+ +

+informJobInserted

+
+public void informJobInserted(Job job2insert,
+                              VehicleRoute inRoute,
+                              double additionalCosts,
+                              double additionalTime)
+
+
+
Specified by:
informJobInserted in interface JobInsertedListener
+
+
+
+
+
+
+ +

+informInsertionStarts

+
+public void informInsertionStarts(java.util.Collection<VehicleRoute> vehicleRoutes,
+                                  java.util.Collection<Job> unassignedJobs)
+
+
+
Specified by:
informInsertionStarts in interface InsertionStartsListener
+
+
+
+
+
+
+ +

+addActivityVisitor

+
+public void addActivityVisitor(ActivityVisitor activityVistor)
+
+
Adds an activityVisitor. +

This visitor visits all activities in a route subsequently in two cases. First, if insertionStart (after ruinStrategies have removed activities from routes) + and, second, if a job has been inserted and thus if a route has changed. +

+

+
+
+
+
Parameters:
activityVistor -
+
+
+
+ +

+addActivityVisitor

+
+public void addActivityVisitor(ReverseActivityVisitor activityVistor)
+
+
Adds an reverseActivityVisitor. +

This reverseVisitor visits all activities in a route subsequently (starting from the end of the route) in two cases. First, if insertionStart (after ruinStrategies have removed activities from routes) + and, second, if a job has been inserted and thus if a route has changed. +

+

+
+
+
+
Parameters:
reverseActivityVistor -
+
+
+
+ +

+addRouteVisitor

+
+public void addRouteVisitor(RouteVisitor routeVisitor)
+
+
+
+
+
+
+
+
+
+ +

+informIterationStarts

+
+public void informIterationStarts(int i,
+                                  VehicleRoutingProblem problem,
+                                  java.util.Collection<VehicleRoutingProblemSolution> solutions)
+
+
+
Specified by:
informIterationStarts in interface IterationStartsListener
+
+
+
+
+
+
+ +

+ruinStarts

+
+public void ruinStarts(java.util.Collection<VehicleRoute> routes)
+
+
Description copied from interface: RuinListener
+
informs about ruin-start. +

+

+
Specified by:
ruinStarts in interface RuinListener
+
+
+
+
+
+
+ +

+ruinEnds

+
+public void ruinEnds(java.util.Collection<VehicleRoute> routes,
+                     java.util.Collection<Job> unassignedJobs)
+
+
Description copied from interface: RuinListener
+
informs about ruin-end. +

+

+
Specified by:
ruinEnds in interface RuinListener
+
+
+
+
+
+
+ +

+removed

+
+public void removed(Job job,
+                    VehicleRoute fromRoute)
+
+
Description copied from interface: RuinListener
+
informs if a Job has been removed from a VehicleRoute. +

+

+
Specified by:
removed in interface RuinListener
+
+
+
+
+
+
+ +

+informInsertionEnds

+
+public void informInsertionEnds(java.util.Collection<VehicleRoute> vehicleRoutes)
+
+
+
Specified by:
informInsertionEnds in interface InsertionEndsListener
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/doc/algorithms/StateUpdates.UpdateStates.html b/doc/algorithms/StateUpdates.UpdateStates.html new file mode 100644 index 00000000..d0fdb29c --- /dev/null +++ b/doc/algorithms/StateUpdates.UpdateStates.html @@ -0,0 +1,372 @@ + + + + + + +StateUpdates.UpdateStates + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +algorithms +
+Class StateUpdates.UpdateStates

+
+java.lang.Object
+  extended by algorithms.StateUpdates.UpdateStates
+
+
+
All Implemented Interfaces:
InsertionListener, JobInsertedListener, RuinListener, SearchStrategyModuleListener, VehicleRoutingAlgorithmListener
+
+
+
Enclosing class:
StateUpdates
+
+
+
+
public static class StateUpdates.UpdateStates
extends java.lang.Object
implements JobInsertedListener, RuinListener
+ + +

+


+ +

+ + + + + + + + + + + +
+Constructor Summary
StateUpdates.UpdateStates(StateManagerImpl states, + VehicleRoutingTransportCosts routingCosts, + VehicleRoutingActivityCosts activityCosts) + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ voidinformJobInserted(Job job2insert, + VehicleRoute inRoute, + double additionalCosts, + double additionalTime) + +
+           
+ voidremoved(Job job, + VehicleRoute fromRoute) + +
+          informs if a Job has been removed from a VehicleRoute.
+ voidruinEnds(java.util.Collection<VehicleRoute> routes, + java.util.Collection<Job> unassignedJobs) + +
+          informs about ruin-end.
+ voidruinStarts(java.util.Collection<VehicleRoute> routes) + +
+          informs about ruin-start.
+ voidupdate(VehicleRoute route) + +
+           
+ + + + + + + +
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+StateUpdates.UpdateStates

+
+public StateUpdates.UpdateStates(StateManagerImpl states,
+                                 VehicleRoutingTransportCosts routingCosts,
+                                 VehicleRoutingActivityCosts activityCosts)
+
+
+ + + + + + + + +
+Method Detail
+ +

+update

+
+public void update(VehicleRoute route)
+
+
+
+
+
+
+
+
+
+ +

+informJobInserted

+
+public void informJobInserted(Job job2insert,
+                              VehicleRoute inRoute,
+                              double additionalCosts,
+                              double additionalTime)
+
+
+
Specified by:
informJobInserted in interface JobInsertedListener
+
+
+
+
+
+
+ +

+ruinStarts

+
+public void ruinStarts(java.util.Collection<VehicleRoute> routes)
+
+
Description copied from interface: RuinListener
+
informs about ruin-start. +

+

+
Specified by:
ruinStarts in interface RuinListener
+
+
+
+
+
+
+ +

+ruinEnds

+
+public void ruinEnds(java.util.Collection<VehicleRoute> routes,
+                     java.util.Collection<Job> unassignedJobs)
+
+
Description copied from interface: RuinListener
+
informs about ruin-end. +

+

+
Specified by:
ruinEnds in interface RuinListener
+
+
+
+
+
+
+ +

+removed

+
+public void removed(Job job,
+                    VehicleRoute fromRoute)
+
+
Description copied from interface: RuinListener
+
informs if a Job has been removed from a VehicleRoute. +

+

+
Specified by:
removed in interface RuinListener
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/doc/algorithms/StateUpdates.html b/doc/algorithms/StateUpdates.html new file mode 100644 index 00000000..f7decd9e --- /dev/null +++ b/doc/algorithms/StateUpdates.html @@ -0,0 +1,241 @@ + + + + + + +StateUpdates + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +algorithms +
+Class StateUpdates

+
+java.lang.Object
+  extended by algorithms.StateUpdates
+
+
+
+
public class StateUpdates
extends java.lang.Object
+ + +

+


+ +

+ + + + + + + + + + + +
+Nested Class Summary
+static classStateUpdates.UpdateStates + +
+           
+  + + + + + + + + + + +
+Constructor Summary
StateUpdates() + +
+           
+  + + + + + + + +
+Method Summary
+ + + + + + + +
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+StateUpdates

+
+public StateUpdates()
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/doc/algorithms/UpdateActivityTimes.html b/doc/algorithms/UpdateActivityTimes.html new file mode 100644 index 00000000..ec191d19 --- /dev/null +++ b/doc/algorithms/UpdateActivityTimes.html @@ -0,0 +1,320 @@ + + + + + + +UpdateActivityTimes + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +algorithms +
+Class UpdateActivityTimes

+
+java.lang.Object
+  extended by algorithms.UpdateActivityTimes
+
+
+
All Implemented Interfaces:
ActivityVisitor
+
+
+
+
public class UpdateActivityTimes
extends java.lang.Object
implements ActivityVisitor
+ + +

+Updates arrival and end times of activities. + +

Note that this modifies arrTime and endTime of each activity in a route. +

+ +

+

+
Author:
+
stefan
+
+
+ +

+ + + + + + + + + + + +
+Constructor Summary
UpdateActivityTimes(ForwardTransportTime transportTime) + +
+          Updates arrival and end times of activities.
+  + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ voidbegin(VehicleRoute route) + +
+           
+ voidfinish() + +
+           
+ voidvisit(TourActivity activity) + +
+           
+ + + + + + + +
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+UpdateActivityTimes

+
+public UpdateActivityTimes(ForwardTransportTime transportTime)
+
+
Updates arrival and end times of activities. + +

Note that this modifies arrTime and endTime of each activity in a route. + +

ArrTimes and EndTimes can be retrieved by
+ activity.getArrTime() and + activity.getEndTime() +

+

+ + + + + + + + +
+Method Detail
+ +

+begin

+
+public void begin(VehicleRoute route)
+
+
+
Specified by:
begin in interface ActivityVisitor
+
+
+
+
+
+
+ +

+visit

+
+public void visit(TourActivity activity)
+
+
+
Specified by:
visit in interface ActivityVisitor
+
+
+
+
+
+
+ +

+finish

+
+public void finish()
+
+
+
Specified by:
finish in interface ActivityVisitor
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/doc/algorithms/UpdateCostsAtAllLevels.html b/doc/algorithms/UpdateCostsAtAllLevels.html new file mode 100644 index 00000000..81865fa2 --- /dev/null +++ b/doc/algorithms/UpdateCostsAtAllLevels.html @@ -0,0 +1,320 @@ + + + + + + +UpdateCostsAtAllLevels + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +algorithms +
+Class UpdateCostsAtAllLevels

+
+java.lang.Object
+  extended by algorithms.UpdateCostsAtAllLevels
+
+
+
All Implemented Interfaces:
ActivityVisitor
+
+
+
+
public class UpdateCostsAtAllLevels
extends java.lang.Object
implements ActivityVisitor
+ + +

+Updates total costs (i.e. transport and activity costs) at route and activity level. + +

Thus it modifies stateManager.getRouteState(route, StateTypes.COSTS) and
+ stateManager.getActivityState(activity, StateTypes.COSTS) +

+ +

+


+ +

+ + + + + + + + + + + +
+Constructor Summary
UpdateCostsAtAllLevels(VehicleRoutingActivityCosts activityCost, + VehicleRoutingTransportCosts transportCost, + StateManagerImpl states) + +
+          Updates total costs (i.e.
+  + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ voidbegin(VehicleRoute route) + +
+           
+ voidfinish() + +
+           
+ voidvisit(TourActivity act) + +
+           
+ + + + + + + +
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+UpdateCostsAtAllLevels

+
+public UpdateCostsAtAllLevels(VehicleRoutingActivityCosts activityCost,
+                              VehicleRoutingTransportCosts transportCost,
+                              StateManagerImpl states)
+
+
Updates total costs (i.e. transport and activity costs) at route and activity level. + +

Thus it modifies stateManager.getRouteState(route, StateTypes.COSTS) and
+ stateManager.getActivityState(activity, StateTypes.COSTS) +

+

+
Parameters:
activityCost -
transportCost -
states -
+
+ + + + + + + + +
+Method Detail
+ +

+begin

+
+public void begin(VehicleRoute route)
+
+
+
Specified by:
begin in interface ActivityVisitor
+
+
+
+
+
+
+ +

+visit

+
+public void visit(TourActivity act)
+
+
+
Specified by:
visit in interface ActivityVisitor
+
+
+
+
+
+
+ +

+finish

+
+public void finish()
+
+
+
Specified by:
finish in interface ActivityVisitor
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/doc/algorithms/UpdateCostsAtRouteLevel.html b/doc/algorithms/UpdateCostsAtRouteLevel.html new file mode 100644 index 00000000..6d0fdfc4 --- /dev/null +++ b/doc/algorithms/UpdateCostsAtRouteLevel.html @@ -0,0 +1,314 @@ + + + + + + +UpdateCostsAtRouteLevel + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +algorithms +
+Class UpdateCostsAtRouteLevel

+
+java.lang.Object
+  extended by algorithms.UpdateCostsAtRouteLevel
+
+
+
All Implemented Interfaces:
InsertionEndsListener, InsertionListener, InsertionStartsListener, JobInsertedListener, SearchStrategyModuleListener, VehicleRoutingAlgorithmListener
+
+
+
+
public class UpdateCostsAtRouteLevel
extends java.lang.Object
implements JobInsertedListener, InsertionStartsListener, InsertionEndsListener
+ + +

+


+ +

+ + + + + + + + + + + +
+Constructor Summary
UpdateCostsAtRouteLevel(StateManagerImpl states, + VehicleRoutingTransportCosts tpCosts, + VehicleRoutingActivityCosts actCosts) + +
+           
+  + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ voidinformInsertionEnds(java.util.Collection<VehicleRoute> vehicleRoutes) + +
+           
+ voidinformInsertionStarts(java.util.Collection<VehicleRoute> vehicleRoutes, + java.util.Collection<Job> unassignedJobs) + +
+           
+ voidinformJobInserted(Job job2insert, + VehicleRoute inRoute, + double additionalCosts, + double additionalTime) + +
+           
+ + + + + + + +
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+UpdateCostsAtRouteLevel

+
+public UpdateCostsAtRouteLevel(StateManagerImpl states,
+                               VehicleRoutingTransportCosts tpCosts,
+                               VehicleRoutingActivityCosts actCosts)
+
+
+ + + + + + + + +
+Method Detail
+ +

+informJobInserted

+
+public void informJobInserted(Job job2insert,
+                              VehicleRoute inRoute,
+                              double additionalCosts,
+                              double additionalTime)
+
+
+
Specified by:
informJobInserted in interface JobInsertedListener
+
+
+
+
+
+
+ +

+informInsertionStarts

+
+public void informInsertionStarts(java.util.Collection<VehicleRoute> vehicleRoutes,
+                                  java.util.Collection<Job> unassignedJobs)
+
+
+
Specified by:
informInsertionStarts in interface InsertionStartsListener
+
+
+
+
+
+
+ +

+informInsertionEnds

+
+public void informInsertionEnds(java.util.Collection<VehicleRoute> vehicleRoutes)
+
+
+
Specified by:
informInsertionEnds in interface InsertionEndsListener
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/doc/algorithms/UpdateEarliestStartTimeWindowAtActLocations.html b/doc/algorithms/UpdateEarliestStartTimeWindowAtActLocations.html new file mode 100644 index 00000000..ef7833e1 --- /dev/null +++ b/doc/algorithms/UpdateEarliestStartTimeWindowAtActLocations.html @@ -0,0 +1,304 @@ + + + + + + +UpdateEarliestStartTimeWindowAtActLocations + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +algorithms +
+Class UpdateEarliestStartTimeWindowAtActLocations

+
+java.lang.Object
+  extended by algorithms.UpdateEarliestStartTimeWindowAtActLocations
+
+
+
All Implemented Interfaces:
ActivityVisitor
+
+
+
+
public class UpdateEarliestStartTimeWindowAtActLocations
extends java.lang.Object
implements ActivityVisitor
+ + +

+


+ +

+ + + + + + + + + + + +
+Constructor Summary
UpdateEarliestStartTimeWindowAtActLocations(StateManagerImpl states, + VehicleRoutingTransportCosts transportCosts) + +
+           
+  + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ voidbegin(VehicleRoute route) + +
+           
+ voidfinish() + +
+           
+ voidvisit(TourActivity activity) + +
+           
+ + + + + + + +
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+UpdateEarliestStartTimeWindowAtActLocations

+
+public UpdateEarliestStartTimeWindowAtActLocations(StateManagerImpl states,
+                                                   VehicleRoutingTransportCosts transportCosts)
+
+
+ + + + + + + + +
+Method Detail
+ +

+begin

+
+public void begin(VehicleRoute route)
+
+
+
Specified by:
begin in interface ActivityVisitor
+
+
+
+
+
+
+ +

+visit

+
+public void visit(TourActivity activity)
+
+
+
Specified by:
visit in interface ActivityVisitor
+
+
+
+
+
+
+ +

+finish

+
+public void finish()
+
+
+
Specified by:
finish in interface ActivityVisitor
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/doc/algorithms/UpdateFuturePickupsAtActivityLevel.html b/doc/algorithms/UpdateFuturePickupsAtActivityLevel.html new file mode 100644 index 00000000..9732e28d --- /dev/null +++ b/doc/algorithms/UpdateFuturePickupsAtActivityLevel.html @@ -0,0 +1,302 @@ + + + + + + +UpdateFuturePickupsAtActivityLevel + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +algorithms +
+Class UpdateFuturePickupsAtActivityLevel

+
+java.lang.Object
+  extended by algorithms.UpdateFuturePickupsAtActivityLevel
+
+
+
All Implemented Interfaces:
ReverseActivityVisitor
+
+
+
+
public class UpdateFuturePickupsAtActivityLevel
extends java.lang.Object
implements ReverseActivityVisitor
+ + +

+


+ +

+ + + + + + + + + + + +
+Constructor Summary
UpdateFuturePickupsAtActivityLevel(StateManagerImpl stateManager) + +
+           
+  + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ voidbegin(VehicleRoute route) + +
+           
+ voidfinish() + +
+           
+ voidvisit(TourActivity act) + +
+           
+ + + + + + + +
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+UpdateFuturePickupsAtActivityLevel

+
+public UpdateFuturePickupsAtActivityLevel(StateManagerImpl stateManager)
+
+
+ + + + + + + + +
+Method Detail
+ +

+begin

+
+public void begin(VehicleRoute route)
+
+
+
Specified by:
begin in interface ReverseActivityVisitor
+
+
+
+
+
+
+ +

+visit

+
+public void visit(TourActivity act)
+
+
+
Specified by:
visit in interface ReverseActivityVisitor
+
+
+
+
+
+
+ +

+finish

+
+public void finish()
+
+
+
Specified by:
finish in interface ReverseActivityVisitor
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/doc/algorithms/UpdateLatestOperationStartTimeAtActLocations.html b/doc/algorithms/UpdateLatestOperationStartTimeAtActLocations.html new file mode 100644 index 00000000..0256ebd1 --- /dev/null +++ b/doc/algorithms/UpdateLatestOperationStartTimeAtActLocations.html @@ -0,0 +1,304 @@ + + + + + + +UpdateLatestOperationStartTimeAtActLocations + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +algorithms +
+Class UpdateLatestOperationStartTimeAtActLocations

+
+java.lang.Object
+  extended by algorithms.UpdateLatestOperationStartTimeAtActLocations
+
+
+
All Implemented Interfaces:
ReverseActivityVisitor
+
+
+
+
public class UpdateLatestOperationStartTimeAtActLocations
extends java.lang.Object
implements ReverseActivityVisitor
+ + +

+


+ +

+ + + + + + + + + + + +
+Constructor Summary
UpdateLatestOperationStartTimeAtActLocations(StateManagerImpl states, + VehicleRoutingTransportCosts tpCosts) + +
+           
+  + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ voidbegin(VehicleRoute route) + +
+           
+ voidfinish() + +
+           
+ voidvisit(TourActivity activity) + +
+           
+ + + + + + + +
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+UpdateLatestOperationStartTimeAtActLocations

+
+public UpdateLatestOperationStartTimeAtActLocations(StateManagerImpl states,
+                                                    VehicleRoutingTransportCosts tpCosts)
+
+
+ + + + + + + + +
+Method Detail
+ +

+begin

+
+public void begin(VehicleRoute route)
+
+
+
Specified by:
begin in interface ReverseActivityVisitor
+
+
+
+
+
+
+ +

+visit

+
+public void visit(TourActivity activity)
+
+
+
Specified by:
visit in interface ReverseActivityVisitor
+
+
+
+
+
+
+ +

+finish

+
+public void finish()
+
+
+
Specified by:
finish in interface ReverseActivityVisitor
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/doc/algorithms/UpdateLoadAtActivityLevel.html b/doc/algorithms/UpdateLoadAtActivityLevel.html new file mode 100644 index 00000000..d52a5d72 --- /dev/null +++ b/doc/algorithms/UpdateLoadAtActivityLevel.html @@ -0,0 +1,329 @@ + + + + + + +UpdateLoadAtActivityLevel + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +algorithms +
+Class UpdateLoadAtActivityLevel

+
+java.lang.Object
+  extended by algorithms.UpdateLoadAtActivityLevel
+
+
+
All Implemented Interfaces:
ActivityVisitor
+
+
+
+
public class UpdateLoadAtActivityLevel
extends java.lang.Object
implements ActivityVisitor
+ + +

+Updates load at activity level. + +

Note that this assumes that StateTypes.LOAD_AT_DEPOT is already updated, i.e. it starts by setting loadAtDepot to StateTypes.LOAD_AT_DEPOT. + If StateTypes.LOAD_AT_DEPOT is not set, it starts with 0 load at depot. + +

Thus it DEPENDS on StateTypes.LOAD_AT_DEPOT +

+ +

+

+
Author:
+
stefan
+
+
+ +

+ + + + + + + + + + + +
+Constructor Summary
UpdateLoadAtActivityLevel(StateManagerImpl stateManager) + +
+          Updates load at activity level.
+  + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ voidbegin(VehicleRoute route) + +
+           
+ voidfinish() + +
+           
+ voidvisit(TourActivity act) + +
+           
+ + + + + + + +
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+UpdateLoadAtActivityLevel

+
+public UpdateLoadAtActivityLevel(StateManagerImpl stateManager)
+
+
Updates load at activity level. + +

Note that this assumes that StateTypes.LOAD_AT_DEPOT is already updated, i.e. it starts by setting loadAtDepot to StateTypes.LOAD_AT_DEPOT. + If StateTypes.LOAD_AT_DEPOT is not set, it starts with 0 load at depot. + +

Thus it DEPENDS on StateTypes.LOAD_AT_DEPOT + +

If you want to update StateTypes.LOAD_AT_DEPOT see InitializeLoadsAtStartAndEndOfRouteWhenInsertionStarts, UpdateLoadsAtStartAndEndOfRouteWhenJobHasBeenInserted + +

The loads can be retrieved by
+ stateManager.getActivityState(activity,StateTypes.LOAD); +

+

+
See Also:
InitializeLoadsAtStartAndEndOfRouteWhenInsertionStarts}, {@link UpdateLoadsAtStartAndEndOfRouteWhenJobHasBeenInserted}
+
+ + + + + + + + +
+Method Detail
+ +

+begin

+
+public void begin(VehicleRoute route)
+
+
+
Specified by:
begin in interface ActivityVisitor
+
+
+
+
+
+
+ +

+visit

+
+public void visit(TourActivity act)
+
+
+
Specified by:
visit in interface ActivityVisitor
+
+
+
+
+
+
+ +

+finish

+
+public void finish()
+
+
+
Specified by:
finish in interface ActivityVisitor
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/doc/algorithms/UpdateLoadAtAllLevels.html b/doc/algorithms/UpdateLoadAtAllLevels.html new file mode 100644 index 00000000..be18e4f6 --- /dev/null +++ b/doc/algorithms/UpdateLoadAtAllLevels.html @@ -0,0 +1,302 @@ + + + + + + +UpdateLoadAtAllLevels + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +algorithms +
+Class UpdateLoadAtAllLevels

+
+java.lang.Object
+  extended by algorithms.UpdateLoadAtAllLevels
+
+
+
All Implemented Interfaces:
ActivityVisitor
+
+
+
+
public class UpdateLoadAtAllLevels
extends java.lang.Object
implements ActivityVisitor
+ + +

+


+ +

+ + + + + + + + + + + +
+Constructor Summary
UpdateLoadAtAllLevels(StateManagerImpl states) + +
+           
+  + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ voidbegin(VehicleRoute route) + +
+           
+ voidfinish() + +
+           
+ voidvisit(TourActivity activity) + +
+           
+ + + + + + + +
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+UpdateLoadAtAllLevels

+
+public UpdateLoadAtAllLevels(StateManagerImpl states)
+
+
+ + + + + + + + +
+Method Detail
+ +

+begin

+
+public void begin(VehicleRoute route)
+
+
+
Specified by:
begin in interface ActivityVisitor
+
+
+
+
+
+
+ +

+visit

+
+public void visit(TourActivity activity)
+
+
+
Specified by:
visit in interface ActivityVisitor
+
+
+
+
+
+
+ +

+finish

+
+public void finish()
+
+
+
Specified by:
finish in interface ActivityVisitor
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/doc/algorithms/UpdateLoadAtRouteLevel.html b/doc/algorithms/UpdateLoadAtRouteLevel.html new file mode 100644 index 00000000..bdd07ad9 --- /dev/null +++ b/doc/algorithms/UpdateLoadAtRouteLevel.html @@ -0,0 +1,298 @@ + + + + + + +UpdateLoadAtRouteLevel + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +algorithms +
+Class UpdateLoadAtRouteLevel

+
+java.lang.Object
+  extended by algorithms.UpdateLoadAtRouteLevel
+
+
+
All Implemented Interfaces:
InsertionListener, InsertionStartsListener, JobInsertedListener, SearchStrategyModuleListener, VehicleRoutingAlgorithmListener
+
+
+
+
public class UpdateLoadAtRouteLevel
extends java.lang.Object
implements JobInsertedListener, InsertionStartsListener
+ + +

+Updates load at route level, i.e. modifies StateTypes.LOAD for each route. +

+ +

+

+
Author:
+
stefan
+
+
+ +

+ + + + + + + + + + + +
+Constructor Summary
UpdateLoadAtRouteLevel(StateManagerImpl states) + +
+          Updates load at route level, i.e.
+  + + + + + + + + + + + + + + + +
+Method Summary
+ voidinformInsertionStarts(java.util.Collection<VehicleRoute> vehicleRoutes, + java.util.Collection<Job> unassignedJobs) + +
+           
+ voidinformJobInserted(Job job2insert, + VehicleRoute inRoute, + double additionalCosts, + double additionalTime) + +
+           
+ + + + + + + +
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+UpdateLoadAtRouteLevel

+
+public UpdateLoadAtRouteLevel(StateManagerImpl states)
+
+
Updates load at route level, i.e. modifies StateTypes.LOAD for each route. +

+

+ + + + + + + + +
+Method Detail
+ +

+informJobInserted

+
+public void informJobInserted(Job job2insert,
+                              VehicleRoute inRoute,
+                              double additionalCosts,
+                              double additionalTime)
+
+
+
Specified by:
informJobInserted in interface JobInsertedListener
+
+
+
+
+
+
+ +

+informInsertionStarts

+
+public void informInsertionStarts(java.util.Collection<VehicleRoute> vehicleRoutes,
+                                  java.util.Collection<Job> unassignedJobs)
+
+
+
Specified by:
informInsertionStarts in interface InsertionStartsListener
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/doc/algorithms/UpdateLoadsAtStartAndEndOfRouteWhenJobHasBeenInserted.html b/doc/algorithms/UpdateLoadsAtStartAndEndOfRouteWhenJobHasBeenInserted.html new file mode 100644 index 00000000..fa1cc74e --- /dev/null +++ b/doc/algorithms/UpdateLoadsAtStartAndEndOfRouteWhenJobHasBeenInserted.html @@ -0,0 +1,280 @@ + + + + + + +UpdateLoadsAtStartAndEndOfRouteWhenJobHasBeenInserted + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +algorithms +
+Class UpdateLoadsAtStartAndEndOfRouteWhenJobHasBeenInserted

+
+java.lang.Object
+  extended by algorithms.UpdateLoadsAtStartAndEndOfRouteWhenJobHasBeenInserted
+
+
+
All Implemented Interfaces:
InsertionListener, JobInsertedListener, SearchStrategyModuleListener, VehicleRoutingAlgorithmListener
+
+
+
+
public class UpdateLoadsAtStartAndEndOfRouteWhenJobHasBeenInserted
extends java.lang.Object
implements JobInsertedListener
+ + +

+Updates loads at start and end of a route if a job has been inserted in that route. + +

These states can be retrieved by
+ stateManager.getRouteState(route, StateTypes.LOAD_AT_DEPOT) for LOAD_AT_DEPOT and
+ stateManager.getRouteState(route, StateTypes.LOAD) for LOAD (i.e. load at end) +

+ +

+


+ +

+ + + + + + + + + + + +
+Constructor Summary
UpdateLoadsAtStartAndEndOfRouteWhenJobHasBeenInserted(StateManagerImpl stateManager) + +
+          Updates loads at start and end of a route if a job has been inserted in that route.
+  + + + + + + + + + + + +
+Method Summary
+ voidinformJobInserted(Job job2insert, + VehicleRoute inRoute, + double additionalCosts, + double additionalTime) + +
+           
+ + + + + + + +
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+UpdateLoadsAtStartAndEndOfRouteWhenJobHasBeenInserted

+
+public UpdateLoadsAtStartAndEndOfRouteWhenJobHasBeenInserted(StateManagerImpl stateManager)
+
+
Updates loads at start and end of a route if a job has been inserted in that route. + +

These states can be retrieved by
+ stateManager.getRouteState(route, StateTypes.LOAD_AT_DEPOT) for LOAD_AT_DEPOT and
+ stateManager.getRouteState(route, StateTypes.LOAD) for LOAD (i.e. load at end) +

+

+
Parameters:
stateManager -
+
+ + + + + + + + +
+Method Detail
+ +

+informJobInserted

+
+public void informJobInserted(Job job2insert,
+                              VehicleRoute inRoute,
+                              double additionalCosts,
+                              double additionalTime)
+
+
+
Specified by:
informJobInserted in interface JobInsertedListener
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/doc/algorithms/UpdateOccuredDeliveriesAtActivityLevel.html b/doc/algorithms/UpdateOccuredDeliveriesAtActivityLevel.html new file mode 100644 index 00000000..86aeae71 --- /dev/null +++ b/doc/algorithms/UpdateOccuredDeliveriesAtActivityLevel.html @@ -0,0 +1,302 @@ + + + + + + +UpdateOccuredDeliveriesAtActivityLevel + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +algorithms +
+Class UpdateOccuredDeliveriesAtActivityLevel

+
+java.lang.Object
+  extended by algorithms.UpdateOccuredDeliveriesAtActivityLevel
+
+
+
All Implemented Interfaces:
ActivityVisitor
+
+
+
+
public class UpdateOccuredDeliveriesAtActivityLevel
extends java.lang.Object
implements ActivityVisitor
+ + +

+


+ +

+ + + + + + + + + + + +
+Constructor Summary
UpdateOccuredDeliveriesAtActivityLevel(StateManagerImpl stateManager) + +
+           
+  + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ voidbegin(VehicleRoute route) + +
+           
+ voidfinish() + +
+           
+ voidvisit(TourActivity act) + +
+           
+ + + + + + + +
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+UpdateOccuredDeliveriesAtActivityLevel

+
+public UpdateOccuredDeliveriesAtActivityLevel(StateManagerImpl stateManager)
+
+
+ + + + + + + + +
+Method Detail
+ +

+begin

+
+public void begin(VehicleRoute route)
+
+
+
Specified by:
begin in interface ActivityVisitor
+
+
+
+
+
+
+ +

+visit

+
+public void visit(TourActivity act)
+
+
+
Specified by:
visit in interface ActivityVisitor
+
+
+
+
+
+
+ +

+finish

+
+public void finish()
+
+
+
Specified by:
finish in interface ActivityVisitor
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/doc/algorithms/VehicleFleetManager.html b/doc/algorithms/VehicleFleetManager.html new file mode 100644 index 00000000..7c7a30f7 --- /dev/null +++ b/doc/algorithms/VehicleFleetManager.html @@ -0,0 +1,303 @@ + + + + + + +VehicleFleetManager + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +algorithms +
+Interface VehicleFleetManager

+
+
+
public interface VehicleFleetManager
+ + +

+


+ +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ java.util.Collection<Vehicle>getAvailableVehicles() + +
+           
+ java.util.Collection<Vehicle>getAvailableVehicles(java.lang.String withoutThisType, + java.lang.String locationId) + +
+           
+ booleanisLocked(Vehicle vehicle) + +
+           
+ voidlock(Vehicle vehicle) + +
+           
+ voidunlock(Vehicle vehicle) + +
+           
+ voidunlockAll() + +
+           
+  +

+ + + + + + + + +
+Method Detail
+ +

+lock

+
+void lock(Vehicle vehicle)
+
+
+
+
+
+
+ +

+unlock

+
+void unlock(Vehicle vehicle)
+
+
+
+
+
+
+ +

+isLocked

+
+boolean isLocked(Vehicle vehicle)
+
+
+
+
+
+
+ +

+unlockAll

+
+void unlockAll()
+
+
+
+
+
+
+ +

+getAvailableVehicles

+
+java.util.Collection<Vehicle> getAvailableVehicles()
+
+
+
+
+
+
+ +

+getAvailableVehicles

+
+java.util.Collection<Vehicle> getAvailableVehicles(java.lang.String withoutThisType,
+                                                   java.lang.String locationId)
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/doc/algorithms/VehicleFleetManagerFactory.html b/doc/algorithms/VehicleFleetManagerFactory.html new file mode 100644 index 00000000..7b4312e8 --- /dev/null +++ b/doc/algorithms/VehicleFleetManagerFactory.html @@ -0,0 +1,209 @@ + + + + + + +VehicleFleetManagerFactory + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +algorithms +
+Interface VehicleFleetManagerFactory

+
+
All Known Implementing Classes:
FiniteFleetManagerFactory, InfiniteFleetManagerFactory
+
+
+
+
public interface VehicleFleetManagerFactory
+ + +

+


+ +

+ + + + + + + + + + + + +
+Method Summary
+ VehicleFleetManagercreateFleetManager() + +
+           
+  +

+ + + + + + + + +
+Method Detail
+ +

+createFleetManager

+
+VehicleFleetManager createFleetManager()
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/doc/algorithms/VehicleRoutingAlgorithms.html b/doc/algorithms/VehicleRoutingAlgorithms.html new file mode 100644 index 00000000..c8bf6f32 --- /dev/null +++ b/doc/algorithms/VehicleRoutingAlgorithms.html @@ -0,0 +1,296 @@ + + + + + + +VehicleRoutingAlgorithms + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +algorithms +
+Class VehicleRoutingAlgorithms

+
+java.lang.Object
+  extended by algorithms.VehicleRoutingAlgorithms
+
+
+
+
public class VehicleRoutingAlgorithms
extends java.lang.Object
+ + +

+


+ +

+ + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+static VehicleRoutingAlgorithmcreateAlgorithm(VehicleRoutingProblem vrp, + AlgorithmConfig algorithmConfig) + +
+          Creates a VehicleRoutingAlgorithm from a AlgorithConfig based on the input vrp.
+static VehicleRoutingAlgorithmreadAndCreateAlgorithm(VehicleRoutingProblem vrp, + java.lang.String configFileName) + +
+          Read and creates VehicleRoutingAlgorithm from config-file.
+static VehicleRoutingAlgorithmreadAndCreateAlgorithm(VehicleRoutingProblem vrp, + java.net.URL configURL) + +
+          Read and creates a VehicleRoutingAlgorithm from an url.
+static VehicleRoutingAlgorithmreadAndCreateAlgorithm(VehicleRoutingProblem vrp, + org.apache.commons.configuration.XMLConfiguration config) + +
+          Deprecated. 
+ + + + + + + +
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Method Detail
+ +

+createAlgorithm

+
+public static VehicleRoutingAlgorithm createAlgorithm(VehicleRoutingProblem vrp,
+                                                      AlgorithmConfig algorithmConfig)
+
+
Creates a VehicleRoutingAlgorithm from a AlgorithConfig based on the input vrp. +

+

+
Parameters:
vrp -
algorithmConfig - +
Returns:
VehicleRoutingAlgorithm
+
+
+
+ +

+readAndCreateAlgorithm

+
+@Deprecated
+public static VehicleRoutingAlgorithm readAndCreateAlgorithm(VehicleRoutingProblem vrp,
+                                                                        org.apache.commons.configuration.XMLConfiguration config)
+
+
Deprecated.  +

+

+
+
+
+
+ +

+readAndCreateAlgorithm

+
+public static VehicleRoutingAlgorithm readAndCreateAlgorithm(VehicleRoutingProblem vrp,
+                                                             java.net.URL configURL)
+
+
Read and creates a VehicleRoutingAlgorithm from an url. +

+

+
Parameters:
vrp -
configURL - +
Returns:
VehicleRoutingProblem
+
+
+
+ +

+readAndCreateAlgorithm

+
+public static VehicleRoutingAlgorithm readAndCreateAlgorithm(VehicleRoutingProblem vrp,
+                                                             java.lang.String configFileName)
+
+
Read and creates VehicleRoutingAlgorithm from config-file. +

+

+
Parameters:
vrp -
configFileName - +
Returns:
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/doc/algorithms/acceptors/AcceptNewIfBetterThanWorst.html b/doc/algorithms/acceptors/AcceptNewIfBetterThanWorst.html new file mode 100644 index 00000000..de9d3319 --- /dev/null +++ b/doc/algorithms/acceptors/AcceptNewIfBetterThanWorst.html @@ -0,0 +1,288 @@ + + + + + + +AcceptNewIfBetterThanWorst + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +algorithms.acceptors +
+Class AcceptNewIfBetterThanWorst

+
+java.lang.Object
+  extended by algorithms.acceptors.AcceptNewIfBetterThanWorst
+
+
+
All Implemented Interfaces:
SolutionAcceptor
+
+
+
+
public class AcceptNewIfBetterThanWorst
extends java.lang.Object
implements SolutionAcceptor
+ + +

+


+ +

+ + + + + + + + + + + +
+Constructor Summary
AcceptNewIfBetterThanWorst(int solutionMemory) + +
+           
+  + + + + + + + + + + + + + + + +
+Method Summary
+ booleanacceptSolution(java.util.Collection<VehicleRoutingProblemSolution> solutions, + VehicleRoutingProblemSolution newSolution) + +
+          Accepts every solution if solution memory allows.
+ java.lang.StringtoString() + +
+           
+ + + + + + + +
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+AcceptNewIfBetterThanWorst

+
+public AcceptNewIfBetterThanWorst(int solutionMemory)
+
+
+ + + + + + + + +
+Method Detail
+ +

+acceptSolution

+
+public boolean acceptSolution(java.util.Collection<VehicleRoutingProblemSolution> solutions,
+                              VehicleRoutingProblemSolution newSolution)
+
+
Accepts every solution if solution memory allows. If memory occupied, than accepts new solution only if better than the worst in memory. + Consequently, the worst solution is removed from solutions, and the new solution added. + +

Note that this modifies Collection solutions. +

+

+
Specified by:
acceptSolution in interface SolutionAcceptor
+
+
+ +
Returns:
TODO
+
+
+
+ +

+toString

+
+public java.lang.String toString()
+
+
+
Overrides:
toString in class java.lang.Object
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/doc/algorithms/acceptors/AcceptNewRemoveFirst.html b/doc/algorithms/acceptors/AcceptNewRemoveFirst.html new file mode 100644 index 00000000..3d80661d --- /dev/null +++ b/doc/algorithms/acceptors/AcceptNewRemoveFirst.html @@ -0,0 +1,288 @@ + + + + + + +AcceptNewRemoveFirst + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +algorithms.acceptors +
+Class AcceptNewRemoveFirst

+
+java.lang.Object
+  extended by algorithms.acceptors.AcceptNewRemoveFirst
+
+
+
All Implemented Interfaces:
SolutionAcceptor
+
+
+
+
public class AcceptNewRemoveFirst
extends java.lang.Object
implements SolutionAcceptor
+ + +

+


+ +

+ + + + + + + + + + + +
+Constructor Summary
AcceptNewRemoveFirst(int solutionMemory) + +
+           
+  + + + + + + + + + + + + + + + +
+Method Summary
+ booleanacceptSolution(java.util.Collection<VehicleRoutingProblemSolution> solutions, + VehicleRoutingProblemSolution newSolution) + +
+          Accepts every solution if solution memory allows.
+ java.lang.StringtoString() + +
+           
+ + + + + + + +
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+AcceptNewRemoveFirst

+
+public AcceptNewRemoveFirst(int solutionMemory)
+
+
+ + + + + + + + +
+Method Detail
+ +

+acceptSolution

+
+public boolean acceptSolution(java.util.Collection<VehicleRoutingProblemSolution> solutions,
+                              VehicleRoutingProblemSolution newSolution)
+
+
Accepts every solution if solution memory allows. If memory occupied, than accepts new solution only if better than the worst in memory. + Consequently, the worst solution is removed from solutions, and the new solution added. + +

Note that this modifies Collection solutions. +

+

+
Specified by:
acceptSolution in interface SolutionAcceptor
+
+
+ +
Returns:
TODO
+
+
+
+ +

+toString

+
+public java.lang.String toString()
+
+
+
Overrides:
toString in class java.lang.Object
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/doc/algorithms/acceptors/SchrimpfAcceptance.html b/doc/algorithms/acceptors/SchrimpfAcceptance.html new file mode 100644 index 00000000..25d73968 --- /dev/null +++ b/doc/algorithms/acceptors/SchrimpfAcceptance.html @@ -0,0 +1,344 @@ + + + + + + +SchrimpfAcceptance + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +algorithms.acceptors +
+Class SchrimpfAcceptance

+
+java.lang.Object
+  extended by algorithms.acceptors.SchrimpfAcceptance
+
+
+
All Implemented Interfaces:
SolutionAcceptor, AlgorithmStartsListener, IterationStartsListener, VehicleRoutingAlgorithmListener
+
+
+
+
public class SchrimpfAcceptance
extends java.lang.Object
implements SolutionAcceptor, IterationStartsListener, AlgorithmStartsListener
+ + +

+


+ +

+ + + + + + + + + + + +
+Constructor Summary
SchrimpfAcceptance(int solutionMemory, + double alpha, + int nOfWarmupIterations) + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ booleanacceptSolution(java.util.Collection<VehicleRoutingProblemSolution> solutions, + VehicleRoutingProblemSolution newSolution) + +
+          Accepts solution or not, and returns true if a new solution has been accepted.
+ voidinformAlgorithmStarts(VehicleRoutingProblem problem, + VehicleRoutingAlgorithm algorithm, + java.util.Collection<VehicleRoutingProblemSolution> solutions) + +
+           
+ voidinformIterationStarts(int i, + VehicleRoutingProblem problem, + java.util.Collection<VehicleRoutingProblemSolution> solutions) + +
+           
+ java.lang.StringtoString() + +
+           
+ + + + + + + +
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+SchrimpfAcceptance

+
+public SchrimpfAcceptance(int solutionMemory,
+                          double alpha,
+                          int nOfWarmupIterations)
+
+
+ + + + + + + + +
+Method Detail
+ +

+acceptSolution

+
+public boolean acceptSolution(java.util.Collection<VehicleRoutingProblemSolution> solutions,
+                              VehicleRoutingProblemSolution newSolution)
+
+
Description copied from interface: SolutionAcceptor
+
Accepts solution or not, and returns true if a new solution has been accepted. + +

If the solution is accepted, it is added to solutions, i.e. the solutions-collections is modified. +

+

+
Specified by:
acceptSolution in interface SolutionAcceptor
+
+
+ +
Returns:
TODO
+
+
+
+ +

+toString

+
+public java.lang.String toString()
+
+
+
Overrides:
toString in class java.lang.Object
+
+
+
+
+
+
+ +

+informAlgorithmStarts

+
+public void informAlgorithmStarts(VehicleRoutingProblem problem,
+                                  VehicleRoutingAlgorithm algorithm,
+                                  java.util.Collection<VehicleRoutingProblemSolution> solutions)
+
+
+
Specified by:
informAlgorithmStarts in interface AlgorithmStartsListener
+
+
+
+
+
+
+ +

+informIterationStarts

+
+public void informIterationStarts(int i,
+                                  VehicleRoutingProblem problem,
+                                  java.util.Collection<VehicleRoutingProblemSolution> solutions)
+
+
+
Specified by:
informIterationStarts in interface IterationStartsListener
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/doc/algorithms/acceptors/SolutionAcceptor.html b/doc/algorithms/acceptors/SolutionAcceptor.html new file mode 100644 index 00000000..748f58b0 --- /dev/null +++ b/doc/algorithms/acceptors/SolutionAcceptor.html @@ -0,0 +1,224 @@ + + + + + + +SolutionAcceptor + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +algorithms.acceptors +
+Interface SolutionAcceptor

+
+
All Known Implementing Classes:
AcceptNewIfBetterThanWorst, AcceptNewRemoveFirst, SchrimpfAcceptance
+
+
+
+
public interface SolutionAcceptor
+ + +

+Acceptor that decides whether the newSolution is accepted or not. +

+ +

+

+
Author:
+
stefan
+
+
+ +

+ + + + + + + + + + + + +
+Method Summary
+ booleanacceptSolution(java.util.Collection<VehicleRoutingProblemSolution> solutions, + VehicleRoutingProblemSolution newSolution) + +
+          Accepts solution or not, and returns true if a new solution has been accepted.
+  +

+ + + + + + + + +
+Method Detail
+ +

+acceptSolution

+
+boolean acceptSolution(java.util.Collection<VehicleRoutingProblemSolution> solutions,
+                       VehicleRoutingProblemSolution newSolution)
+
+
Accepts solution or not, and returns true if a new solution has been accepted. + +

If the solution is accepted, it is added to solutions, i.e. the solutions-collections is modified. +

+

+
Parameters:
solutions -
newSolution - +
Returns:
TODO
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/doc/algorithms/acceptors/class-use/AcceptNewIfBetterThanWorst.html b/doc/algorithms/acceptors/class-use/AcceptNewIfBetterThanWorst.html new file mode 100644 index 00000000..336fdc3c --- /dev/null +++ b/doc/algorithms/acceptors/class-use/AcceptNewIfBetterThanWorst.html @@ -0,0 +1,144 @@ + + + + + + +Uses of Class algorithms.acceptors.AcceptNewIfBetterThanWorst + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Class
algorithms.acceptors.AcceptNewIfBetterThanWorst

+
+No usage of algorithms.acceptors.AcceptNewIfBetterThanWorst +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/doc/algorithms/acceptors/class-use/AcceptNewRemoveFirst.html b/doc/algorithms/acceptors/class-use/AcceptNewRemoveFirst.html new file mode 100644 index 00000000..eabbf210 --- /dev/null +++ b/doc/algorithms/acceptors/class-use/AcceptNewRemoveFirst.html @@ -0,0 +1,144 @@ + + + + + + +Uses of Class algorithms.acceptors.AcceptNewRemoveFirst + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Class
algorithms.acceptors.AcceptNewRemoveFirst

+
+No usage of algorithms.acceptors.AcceptNewRemoveFirst +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/doc/algorithms/acceptors/class-use/SchrimpfAcceptance.html b/doc/algorithms/acceptors/class-use/SchrimpfAcceptance.html new file mode 100644 index 00000000..948eb240 --- /dev/null +++ b/doc/algorithms/acceptors/class-use/SchrimpfAcceptance.html @@ -0,0 +1,144 @@ + + + + + + +Uses of Class algorithms.acceptors.SchrimpfAcceptance + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Class
algorithms.acceptors.SchrimpfAcceptance

+
+No usage of algorithms.acceptors.SchrimpfAcceptance +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/doc/algorithms/acceptors/class-use/SolutionAcceptor.html b/doc/algorithms/acceptors/class-use/SolutionAcceptor.html new file mode 100644 index 00000000..3253fbd7 --- /dev/null +++ b/doc/algorithms/acceptors/class-use/SolutionAcceptor.html @@ -0,0 +1,240 @@ + + + + + + +Uses of Interface algorithms.acceptors.SolutionAcceptor + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Interface
algorithms.acceptors.SolutionAcceptor

+
+ + + + + + + + + + + + + +
+Packages that use SolutionAcceptor
algorithms.acceptors  
basics.algo  
+  +

+ + + + + +
+Uses of SolutionAcceptor in algorithms.acceptors
+  +

+ + + + + + + + + + + + + + + + + +
Classes in algorithms.acceptors that implement SolutionAcceptor
+ classAcceptNewIfBetterThanWorst + +
+           
+ classAcceptNewRemoveFirst + +
+           
+ classSchrimpfAcceptance + +
+           
+  +

+ + + + + +
+Uses of SolutionAcceptor in basics.algo
+  +

+ + + + + + + + + +
Methods in basics.algo that return SolutionAcceptor
+ SolutionAcceptorSearchStrategy.getSolutionAcceptor() + +
+           
+  +

+ + + + + + + + +
Constructors in basics.algo with parameters of type SolutionAcceptor
SearchStrategy(SolutionSelector solutionSelector, + SolutionAcceptor solutionAcceptor) + +
+           
+  +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/doc/algorithms/acceptors/package-frame.html b/doc/algorithms/acceptors/package-frame.html new file mode 100644 index 00000000..58309aac --- /dev/null +++ b/doc/algorithms/acceptors/package-frame.html @@ -0,0 +1,47 @@ + + + + + + +algorithms.acceptors + + + + + + + + + + + +algorithms.acceptors + + + + +
+Interfaces  + +
+SolutionAcceptor
+ + + + + + +
+Classes  + +
+AcceptNewIfBetterThanWorst +
+AcceptNewRemoveFirst +
+SchrimpfAcceptance
+ + + + diff --git a/doc/algorithms/acceptors/package-summary.html b/doc/algorithms/acceptors/package-summary.html new file mode 100644 index 00000000..f441cdef --- /dev/null +++ b/doc/algorithms/acceptors/package-summary.html @@ -0,0 +1,179 @@ + + + + + + +algorithms.acceptors + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+

+Package algorithms.acceptors +

+ + + + + + + + + +
+Interface Summary
SolutionAcceptorAcceptor that decides whether the newSolution is accepted or not.
+  + +

+ + + + + + + + + + + + + + + + + +
+Class Summary
AcceptNewIfBetterThanWorst 
AcceptNewRemoveFirst 
SchrimpfAcceptance 
+  + +

+

+
+
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/doc/algorithms/acceptors/package-tree.html b/doc/algorithms/acceptors/package-tree.html new file mode 100644 index 00000000..09046863 --- /dev/null +++ b/doc/algorithms/acceptors/package-tree.html @@ -0,0 +1,161 @@ + + + + + + +algorithms.acceptors Class Hierarchy + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Hierarchy For Package algorithms.acceptors +

+
+
+
Package Hierarchies:
All Packages
+
+

+Class Hierarchy +

+ +

+Interface Hierarchy +

+ +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/doc/algorithms/acceptors/package-use.html b/doc/algorithms/acceptors/package-use.html new file mode 100644 index 00000000..c0c746ee --- /dev/null +++ b/doc/algorithms/acceptors/package-use.html @@ -0,0 +1,189 @@ + + + + + + +Uses of Package algorithms.acceptors + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Package
algorithms.acceptors

+
+ + + + + + + + + + + + + +
+Packages that use algorithms.acceptors
algorithms.acceptors  
basics.algo  
+  +

+ + + + + + + + +
+Classes in algorithms.acceptors used by algorithms.acceptors
SolutionAcceptor + +
+          Acceptor that decides whether the newSolution is accepted or not.
+  +

+ + + + + + + + +
+Classes in algorithms.acceptors used by basics.algo
SolutionAcceptor + +
+          Acceptor that decides whether the newSolution is accepted or not.
+  +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/doc/algorithms/class-use/ActivityVisitor.html b/doc/algorithms/class-use/ActivityVisitor.html new file mode 100644 index 00000000..d9e38796 --- /dev/null +++ b/doc/algorithms/class-use/ActivityVisitor.html @@ -0,0 +1,244 @@ + + + + + + +Uses of Interface algorithms.ActivityVisitor + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Interface
algorithms.ActivityVisitor

+
+ + + + + + + + + +
+Packages that use ActivityVisitor
algorithms  
+  +

+ + + + + +
+Uses of ActivityVisitor in algorithms
+  +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Classes in algorithms that implement ActivityVisitor
+ classUpdateActivityTimes + +
+          Updates arrival and end times of activities.
+ classUpdateCostsAtAllLevels + +
+          Updates total costs (i.e.
+ classUpdateEarliestStartTimeWindowAtActLocations + +
+           
+ classUpdateLoadAtActivityLevel + +
+          Updates load at activity level.
+ classUpdateLoadAtAllLevels + +
+           
+ classUpdateOccuredDeliveriesAtActivityLevel + +
+           
+  +

+ + + + + + + + + + + + + +
Methods in algorithms with parameters of type ActivityVisitor
+ voidRouteActivityVisitor.addActivityVisitor(ActivityVisitor activityVisitor) + +
+           
+ voidStateManagerImpl.addActivityVisitor(ActivityVisitor activityVistor) + +
+          Adds an activityVisitor.
+  +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/doc/algorithms/class-use/BestInsertionBuilder.html b/doc/algorithms/class-use/BestInsertionBuilder.html new file mode 100644 index 00000000..2d2c493e --- /dev/null +++ b/doc/algorithms/class-use/BestInsertionBuilder.html @@ -0,0 +1,144 @@ + + + + + + +Uses of Class algorithms.BestInsertionBuilder + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Class
algorithms.BestInsertionBuilder

+
+No usage of algorithms.BestInsertionBuilder +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/doc/algorithms/class-use/BestInsertionInitialSolutionFactory.html b/doc/algorithms/class-use/BestInsertionInitialSolutionFactory.html new file mode 100644 index 00000000..654de76a --- /dev/null +++ b/doc/algorithms/class-use/BestInsertionInitialSolutionFactory.html @@ -0,0 +1,144 @@ + + + + + + +Uses of Class algorithms.BestInsertionInitialSolutionFactory + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Class
algorithms.BestInsertionInitialSolutionFactory

+
+No usage of algorithms.BestInsertionInitialSolutionFactory +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/doc/algorithms/class-use/CalculationUtils.html b/doc/algorithms/class-use/CalculationUtils.html new file mode 100644 index 00000000..50df5603 --- /dev/null +++ b/doc/algorithms/class-use/CalculationUtils.html @@ -0,0 +1,144 @@ + + + + + + +Uses of Class algorithms.CalculationUtils + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Class
algorithms.CalculationUtils

+
+No usage of algorithms.CalculationUtils +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/doc/algorithms/class-use/ConstraintManager.html b/doc/algorithms/class-use/ConstraintManager.html new file mode 100644 index 00000000..10638e73 --- /dev/null +++ b/doc/algorithms/class-use/ConstraintManager.html @@ -0,0 +1,144 @@ + + + + + + +Uses of Class algorithms.ConstraintManager + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Class
algorithms.ConstraintManager

+
+No usage of algorithms.ConstraintManager +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/doc/algorithms/class-use/FiniteFleetManagerFactory.html b/doc/algorithms/class-use/FiniteFleetManagerFactory.html new file mode 100644 index 00000000..399db052 --- /dev/null +++ b/doc/algorithms/class-use/FiniteFleetManagerFactory.html @@ -0,0 +1,144 @@ + + + + + + +Uses of Class algorithms.FiniteFleetManagerFactory + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Class
algorithms.FiniteFleetManagerFactory

+
+No usage of algorithms.FiniteFleetManagerFactory +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/doc/algorithms/class-use/GreedySchrimpfFactory.html b/doc/algorithms/class-use/GreedySchrimpfFactory.html new file mode 100644 index 00000000..6c8d7fcf --- /dev/null +++ b/doc/algorithms/class-use/GreedySchrimpfFactory.html @@ -0,0 +1,144 @@ + + + + + + +Uses of Class algorithms.GreedySchrimpfFactory + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Class
algorithms.GreedySchrimpfFactory

+
+No usage of algorithms.GreedySchrimpfFactory +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/doc/algorithms/class-use/HardActivityLevelConstraint.html b/doc/algorithms/class-use/HardActivityLevelConstraint.html new file mode 100644 index 00000000..92e6b00e --- /dev/null +++ b/doc/algorithms/class-use/HardActivityLevelConstraint.html @@ -0,0 +1,228 @@ + + + + + + +Uses of Interface algorithms.HardActivityLevelConstraint + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Interface
algorithms.HardActivityLevelConstraint

+
+ + + + + + + + + +
+Packages that use HardActivityLevelConstraint
algorithms  
+  +

+ + + + + +
+Uses of HardActivityLevelConstraint in algorithms
+  +

+ + + + + + + + + + + + + + + + + + + + + +
Classes in algorithms that implement HardActivityLevelConstraint
+ classConstraintManager + +
+           
+ classHardPickupAndDeliveryActivityLevelConstraint + +
+           
+ classHardPickupAndDeliveryBackhaulActivityLevelConstraint + +
+           
+ classHardTimeWindowActivityLevelConstraint + +
+          ljsljslfjs
+  +

+ + + + + + + + + + + + + +
Methods in algorithms with parameters of type HardActivityLevelConstraint
+ voidBestInsertionBuilder.addConstraint(HardActivityLevelConstraint hardActvitiyLevelConstraint) + +
+           
+ voidConstraintManager.addConstraint(HardActivityLevelConstraint actLevelConstraint) + +
+           
+  +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/doc/algorithms/class-use/HardLoadConstraint.html b/doc/algorithms/class-use/HardLoadConstraint.html new file mode 100644 index 00000000..6a81be6f --- /dev/null +++ b/doc/algorithms/class-use/HardLoadConstraint.html @@ -0,0 +1,144 @@ + + + + + + +Uses of Class algorithms.HardLoadConstraint + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Class
algorithms.HardLoadConstraint

+
+No usage of algorithms.HardLoadConstraint +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/doc/algorithms/class-use/HardPickupAndDeliveryActivityLevelConstraint.html b/doc/algorithms/class-use/HardPickupAndDeliveryActivityLevelConstraint.html new file mode 100644 index 00000000..a176eb68 --- /dev/null +++ b/doc/algorithms/class-use/HardPickupAndDeliveryActivityLevelConstraint.html @@ -0,0 +1,144 @@ + + + + + + +Uses of Class algorithms.HardPickupAndDeliveryActivityLevelConstraint + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Class
algorithms.HardPickupAndDeliveryActivityLevelConstraint

+
+No usage of algorithms.HardPickupAndDeliveryActivityLevelConstraint +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/doc/algorithms/class-use/HardPickupAndDeliveryBackhaulActivityLevelConstraint.html b/doc/algorithms/class-use/HardPickupAndDeliveryBackhaulActivityLevelConstraint.html new file mode 100644 index 00000000..e5908de6 --- /dev/null +++ b/doc/algorithms/class-use/HardPickupAndDeliveryBackhaulActivityLevelConstraint.html @@ -0,0 +1,144 @@ + + + + + + +Uses of Class algorithms.HardPickupAndDeliveryBackhaulActivityLevelConstraint + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Class
algorithms.HardPickupAndDeliveryBackhaulActivityLevelConstraint

+
+No usage of algorithms.HardPickupAndDeliveryBackhaulActivityLevelConstraint +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/doc/algorithms/class-use/HardPickupAndDeliveryLoadConstraint.html b/doc/algorithms/class-use/HardPickupAndDeliveryLoadConstraint.html new file mode 100644 index 00000000..f737f7b5 --- /dev/null +++ b/doc/algorithms/class-use/HardPickupAndDeliveryLoadConstraint.html @@ -0,0 +1,144 @@ + + + + + + +Uses of Class algorithms.HardPickupAndDeliveryLoadConstraint + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Class
algorithms.HardPickupAndDeliveryLoadConstraint

+
+No usage of algorithms.HardPickupAndDeliveryLoadConstraint +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/doc/algorithms/class-use/HardRouteLevelConstraint.html b/doc/algorithms/class-use/HardRouteLevelConstraint.html new file mode 100644 index 00000000..a5b15ca3 --- /dev/null +++ b/doc/algorithms/class-use/HardRouteLevelConstraint.html @@ -0,0 +1,220 @@ + + + + + + +Uses of Interface algorithms.HardRouteLevelConstraint + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Interface
algorithms.HardRouteLevelConstraint

+
+ + + + + + + + + +
+Packages that use HardRouteLevelConstraint
algorithms  
+  +

+ + + + + +
+Uses of HardRouteLevelConstraint in algorithms
+  +

+ + + + + + + + + + + + + + + + + +
Classes in algorithms that implement HardRouteLevelConstraint
+ classConstraintManager + +
+           
+ classHardLoadConstraint + +
+           
+ classHardPickupAndDeliveryLoadConstraint + +
+          lsjdfjsdlfjsa
+  +

+ + + + + + + + + + + + + +
Methods in algorithms with parameters of type HardRouteLevelConstraint
+ voidBestInsertionBuilder.addConstraint(HardRouteLevelConstraint hardRouteLevelConstraint) + +
+           
+ voidConstraintManager.addConstraint(HardRouteLevelConstraint routeLevelConstraint) + +
+           
+  +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/doc/algorithms/class-use/HardTimeWindowActivityLevelConstraint.html b/doc/algorithms/class-use/HardTimeWindowActivityLevelConstraint.html new file mode 100644 index 00000000..a3748f40 --- /dev/null +++ b/doc/algorithms/class-use/HardTimeWindowActivityLevelConstraint.html @@ -0,0 +1,144 @@ + + + + + + +Uses of Class algorithms.HardTimeWindowActivityLevelConstraint + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Class
algorithms.HardTimeWindowActivityLevelConstraint

+
+No usage of algorithms.HardTimeWindowActivityLevelConstraint +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/doc/algorithms/class-use/InfiniteFleetManagerFactory.html b/doc/algorithms/class-use/InfiniteFleetManagerFactory.html new file mode 100644 index 00000000..f72fe930 --- /dev/null +++ b/doc/algorithms/class-use/InfiniteFleetManagerFactory.html @@ -0,0 +1,144 @@ + + + + + + +Uses of Class algorithms.InfiniteFleetManagerFactory + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Class
algorithms.InfiniteFleetManagerFactory

+
+No usage of algorithms.InfiniteFleetManagerFactory +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/doc/algorithms/class-use/InitialSolutionFactory.html b/doc/algorithms/class-use/InitialSolutionFactory.html new file mode 100644 index 00000000..7d2ce294 --- /dev/null +++ b/doc/algorithms/class-use/InitialSolutionFactory.html @@ -0,0 +1,180 @@ + + + + + + +Uses of Interface algorithms.InitialSolutionFactory + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Interface
algorithms.InitialSolutionFactory

+
+ + + + + + + + + +
+Packages that use InitialSolutionFactory
algorithms  
+  +

+ + + + + +
+Uses of InitialSolutionFactory in algorithms
+  +

+ + + + + + + + + +
Classes in algorithms that implement InitialSolutionFactory
+ classBestInsertionInitialSolutionFactory + +
+           
+  +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/doc/algorithms/class-use/InitializeLoadsAtStartAndEndOfRouteWhenInsertionStarts.html b/doc/algorithms/class-use/InitializeLoadsAtStartAndEndOfRouteWhenInsertionStarts.html new file mode 100644 index 00000000..6af9baf4 --- /dev/null +++ b/doc/algorithms/class-use/InitializeLoadsAtStartAndEndOfRouteWhenInsertionStarts.html @@ -0,0 +1,144 @@ + + + + + + +Uses of Class algorithms.InitializeLoadsAtStartAndEndOfRouteWhenInsertionStarts + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Class
algorithms.InitializeLoadsAtStartAndEndOfRouteWhenInsertionStarts

+
+No usage of algorithms.InitializeLoadsAtStartAndEndOfRouteWhenInsertionStarts +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/doc/algorithms/class-use/InsertionContext.html b/doc/algorithms/class-use/InsertionContext.html new file mode 100644 index 00000000..277e83c1 --- /dev/null +++ b/doc/algorithms/class-use/InsertionContext.html @@ -0,0 +1,264 @@ + + + + + + +Uses of Class algorithms.InsertionContext + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Class
algorithms.InsertionContext

+
+ + + + + + + + + +
+Packages that use InsertionContext
algorithms  
+  +

+ + + + + +
+Uses of InsertionContext in algorithms
+  +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Methods in algorithms with parameters of type InsertionContext
+ booleanHardLoadConstraint.fulfilled(InsertionContext insertionContext) + +
+           
+ booleanConstraintManager.fulfilled(InsertionContext insertionContext) + +
+           
+ booleanHardPickupAndDeliveryLoadConstraint.fulfilled(InsertionContext insertionContext) + +
+           
+ booleanHardRouteLevelConstraint.fulfilled(InsertionContext insertionContext) + +
+           
+ booleanHardPickupAndDeliveryBackhaulActivityLevelConstraint.fulfilled(InsertionContext iFacts, + TourActivity prevAct, + TourActivity newAct, + TourActivity nextAct, + double prevActDepTime) + +
+           
+ booleanHardActivityLevelConstraint.fulfilled(InsertionContext iFacts, + TourActivity prevAct, + TourActivity newAct, + TourActivity nextAct, + double prevActDepTime) + +
+           
+ booleanConstraintManager.fulfilled(InsertionContext iFacts, + TourActivity prevAct, + TourActivity newAct, + TourActivity nextAct, + double prevActDepTime) + +
+           
+ booleanHardTimeWindowActivityLevelConstraint.fulfilled(InsertionContext iFacts, + TourActivity prevAct, + TourActivity newAct, + TourActivity nextAct, + double prevActDepTime) + +
+           
+ booleanHardPickupAndDeliveryActivityLevelConstraint.fulfilled(InsertionContext iFacts, + TourActivity prevAct, + TourActivity newAct, + TourActivity nextAct, + double prevActDepTime) + +
+           
+  +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/doc/algorithms/class-use/InsertionStrategy.html b/doc/algorithms/class-use/InsertionStrategy.html new file mode 100644 index 00000000..23b4f0b0 --- /dev/null +++ b/doc/algorithms/class-use/InsertionStrategy.html @@ -0,0 +1,210 @@ + + + + + + +Uses of Interface algorithms.InsertionStrategy + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Interface
algorithms.InsertionStrategy

+
+ + + + + + + + + +
+Packages that use InsertionStrategy
algorithms  
+  +

+ + + + + +
+Uses of InsertionStrategy in algorithms
+  +

+ + + + + + + + + + + + + +
Methods in algorithms that return InsertionStrategy
+ InsertionStrategyBestInsertionBuilder.build() + +
+           
+ InsertionStrategyInsertionStrategyBuilder.build() + +
+           
+  +

+ + + + + + + + + + + +
Constructors in algorithms with parameters of type InsertionStrategy
BestInsertionInitialSolutionFactory(InsertionStrategy insertionStrategy) + +
+           
RuinAndRecreateModule(java.lang.String moduleName, + InsertionStrategy insertion, + RuinStrategy ruin) + +
+           
+  +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/doc/algorithms/class-use/InsertionStrategyBuilder.html b/doc/algorithms/class-use/InsertionStrategyBuilder.html new file mode 100644 index 00000000..18511fb6 --- /dev/null +++ b/doc/algorithms/class-use/InsertionStrategyBuilder.html @@ -0,0 +1,180 @@ + + + + + + +Uses of Interface algorithms.InsertionStrategyBuilder + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Interface
algorithms.InsertionStrategyBuilder

+
+ + + + + + + + + +
+Packages that use InsertionStrategyBuilder
algorithms  
+  +

+ + + + + +
+Uses of InsertionStrategyBuilder in algorithms
+  +

+ + + + + + + + + +
Classes in algorithms that implement InsertionStrategyBuilder
+ classBestInsertionBuilder + +
+           
+  +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/doc/algorithms/class-use/JobDistance.html b/doc/algorithms/class-use/JobDistance.html new file mode 100644 index 00000000..36194dae --- /dev/null +++ b/doc/algorithms/class-use/JobDistance.html @@ -0,0 +1,179 @@ + + + + + + +Uses of Interface algorithms.JobDistance + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Interface
algorithms.JobDistance

+
+ + + + + + + + + +
+Packages that use JobDistance
algorithms  
+  +

+ + + + + +
+Uses of JobDistance in algorithms
+  +

+ + + + + + + + +
Constructors in algorithms with parameters of type JobDistance
RadialRuinStrategyFactory(double fraction, + JobDistance jobDistance) + +
+           
+  +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/doc/algorithms/class-use/NeighborhoodThresholdInitialiser.html b/doc/algorithms/class-use/NeighborhoodThresholdInitialiser.html new file mode 100644 index 00000000..ddc01f4d --- /dev/null +++ b/doc/algorithms/class-use/NeighborhoodThresholdInitialiser.html @@ -0,0 +1,144 @@ + + + + + + +Uses of Class algorithms.NeighborhoodThresholdInitialiser + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Class
algorithms.NeighborhoodThresholdInitialiser

+
+No usage of algorithms.NeighborhoodThresholdInitialiser +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/doc/algorithms/class-use/RadialRuinStrategyFactory.html b/doc/algorithms/class-use/RadialRuinStrategyFactory.html new file mode 100644 index 00000000..5f1d973a --- /dev/null +++ b/doc/algorithms/class-use/RadialRuinStrategyFactory.html @@ -0,0 +1,144 @@ + + + + + + +Uses of Class algorithms.RadialRuinStrategyFactory + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Class
algorithms.RadialRuinStrategyFactory

+
+No usage of algorithms.RadialRuinStrategyFactory +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/doc/algorithms/class-use/RandomRuinStrategyFactory.html b/doc/algorithms/class-use/RandomRuinStrategyFactory.html new file mode 100644 index 00000000..3d1ab970 --- /dev/null +++ b/doc/algorithms/class-use/RandomRuinStrategyFactory.html @@ -0,0 +1,144 @@ + + + + + + +Uses of Class algorithms.RandomRuinStrategyFactory + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Class
algorithms.RandomRuinStrategyFactory

+
+No usage of algorithms.RandomRuinStrategyFactory +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/doc/algorithms/class-use/RemoveEmptyVehicles.html b/doc/algorithms/class-use/RemoveEmptyVehicles.html new file mode 100644 index 00000000..c8c34b84 --- /dev/null +++ b/doc/algorithms/class-use/RemoveEmptyVehicles.html @@ -0,0 +1,144 @@ + + + + + + +Uses of Class algorithms.RemoveEmptyVehicles + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Class
algorithms.RemoveEmptyVehicles

+
+No usage of algorithms.RemoveEmptyVehicles +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/doc/algorithms/class-use/ReverseActivityVisitor.html b/doc/algorithms/class-use/ReverseActivityVisitor.html new file mode 100644 index 00000000..3821123d --- /dev/null +++ b/doc/algorithms/class-use/ReverseActivityVisitor.html @@ -0,0 +1,212 @@ + + + + + + +Uses of Interface algorithms.ReverseActivityVisitor + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Interface
algorithms.ReverseActivityVisitor

+
+ + + + + + + + + +
+Packages that use ReverseActivityVisitor
algorithms  
+  +

+ + + + + +
+Uses of ReverseActivityVisitor in algorithms
+  +

+ + + + + + + + + + + + + +
Classes in algorithms that implement ReverseActivityVisitor
+ classUpdateFuturePickupsAtActivityLevel + +
+           
+ classUpdateLatestOperationStartTimeAtActLocations + +
+           
+  +

+ + + + + + + + + + + + + +
Methods in algorithms with parameters of type ReverseActivityVisitor
+ voidReverseRouteActivityVisitor.addActivityVisitor(ReverseActivityVisitor activityVisitor) + +
+           
+ voidStateManagerImpl.addActivityVisitor(ReverseActivityVisitor activityVistor) + +
+          Adds an reverseActivityVisitor.
+  +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/doc/algorithms/class-use/ReverseRouteActivityVisitor.html b/doc/algorithms/class-use/ReverseRouteActivityVisitor.html new file mode 100644 index 00000000..fdefccb1 --- /dev/null +++ b/doc/algorithms/class-use/ReverseRouteActivityVisitor.html @@ -0,0 +1,144 @@ + + + + + + +Uses of Class algorithms.ReverseRouteActivityVisitor + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Class
algorithms.ReverseRouteActivityVisitor

+
+No usage of algorithms.ReverseRouteActivityVisitor +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/doc/algorithms/class-use/RouteActivityVisitor.html b/doc/algorithms/class-use/RouteActivityVisitor.html new file mode 100644 index 00000000..16ef7d3f --- /dev/null +++ b/doc/algorithms/class-use/RouteActivityVisitor.html @@ -0,0 +1,144 @@ + + + + + + +Uses of Class algorithms.RouteActivityVisitor + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Class
algorithms.RouteActivityVisitor

+
+No usage of algorithms.RouteActivityVisitor +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/doc/algorithms/class-use/RouteVisitor.html b/doc/algorithms/class-use/RouteVisitor.html new file mode 100644 index 00000000..b8900dc5 --- /dev/null +++ b/doc/algorithms/class-use/RouteVisitor.html @@ -0,0 +1,204 @@ + + + + + + +Uses of Interface algorithms.RouteVisitor + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Interface
algorithms.RouteVisitor

+
+ + + + + + + + + +
+Packages that use RouteVisitor
algorithms  
+  +

+ + + + + +
+Uses of RouteVisitor in algorithms
+  +

+ + + + + + + + + + + + + +
Classes in algorithms that implement RouteVisitor
+ classReverseRouteActivityVisitor + +
+           
+ classRouteActivityVisitor + +
+           
+  +

+ + + + + + + + + +
Methods in algorithms with parameters of type RouteVisitor
+ voidStateManagerImpl.addRouteVisitor(RouteVisitor routeVisitor) + +
+           
+  +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/doc/algorithms/class-use/RuinAndRecreateModule.html b/doc/algorithms/class-use/RuinAndRecreateModule.html new file mode 100644 index 00000000..4c9d572d --- /dev/null +++ b/doc/algorithms/class-use/RuinAndRecreateModule.html @@ -0,0 +1,144 @@ + + + + + + +Uses of Class algorithms.RuinAndRecreateModule + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Class
algorithms.RuinAndRecreateModule

+
+No usage of algorithms.RuinAndRecreateModule +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/doc/algorithms/class-use/RuinStrategy.html b/doc/algorithms/class-use/RuinStrategy.html new file mode 100644 index 00000000..69996d3d --- /dev/null +++ b/doc/algorithms/class-use/RuinStrategy.html @@ -0,0 +1,212 @@ + + + + + + +Uses of Interface algorithms.RuinStrategy + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Interface
algorithms.RuinStrategy

+
+ + + + + + + + + +
+Packages that use RuinStrategy
algorithms  
+  +

+ + + + + +
+Uses of RuinStrategy in algorithms
+  +

+ + + + + + + + + + + + + + + + + +
Methods in algorithms that return RuinStrategy
+ RuinStrategyRadialRuinStrategyFactory.createStrategy(VehicleRoutingProblem vrp) + +
+           
+ RuinStrategyRuinStrategyFactory.createStrategy(VehicleRoutingProblem vrp) + +
+           
+ RuinStrategyRandomRuinStrategyFactory.createStrategy(VehicleRoutingProblem vrp) + +
+           
+  +

+ + + + + + + + +
Constructors in algorithms with parameters of type RuinStrategy
RuinAndRecreateModule(java.lang.String moduleName, + InsertionStrategy insertion, + RuinStrategy ruin) + +
+           
+  +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/doc/algorithms/class-use/RuinStrategyFactory.html b/doc/algorithms/class-use/RuinStrategyFactory.html new file mode 100644 index 00000000..ed94f617 --- /dev/null +++ b/doc/algorithms/class-use/RuinStrategyFactory.html @@ -0,0 +1,188 @@ + + + + + + +Uses of Interface algorithms.RuinStrategyFactory + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Interface
algorithms.RuinStrategyFactory

+
+ + + + + + + + + +
+Packages that use RuinStrategyFactory
algorithms  
+  +

+ + + + + +
+Uses of RuinStrategyFactory in algorithms
+  +

+ + + + + + + + + + + + + +
Classes in algorithms that implement RuinStrategyFactory
+ classRadialRuinStrategyFactory + +
+           
+ classRandomRuinStrategyFactory + +
+           
+  +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/doc/algorithms/class-use/SchrimpfFactory.html b/doc/algorithms/class-use/SchrimpfFactory.html new file mode 100644 index 00000000..6883bfd8 --- /dev/null +++ b/doc/algorithms/class-use/SchrimpfFactory.html @@ -0,0 +1,144 @@ + + + + + + +Uses of Class algorithms.SchrimpfFactory + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Class
algorithms.SchrimpfFactory

+
+No usage of algorithms.SchrimpfFactory +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/doc/algorithms/class-use/StateIdFactory.html b/doc/algorithms/class-use/StateIdFactory.html new file mode 100644 index 00000000..cb75151c --- /dev/null +++ b/doc/algorithms/class-use/StateIdFactory.html @@ -0,0 +1,144 @@ + + + + + + +Uses of Class algorithms.StateIdFactory + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Class
algorithms.StateIdFactory

+
+No usage of algorithms.StateIdFactory +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/doc/algorithms/class-use/StateManager.State.html b/doc/algorithms/class-use/StateManager.State.html new file mode 100644 index 00000000..813fcb91 --- /dev/null +++ b/doc/algorithms/class-use/StateManager.State.html @@ -0,0 +1,252 @@ + + + + + + +Uses of Interface algorithms.StateManager.State + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Interface
algorithms.StateManager.State

+
+ + + + + + + + + +
+Packages that use StateManager.State
algorithms  
+  +

+ + + + + +
+Uses of StateManager.State in algorithms
+  +

+ + + + + + + + + +
Classes in algorithms that implement StateManager.State
+static classStateManagerImpl.StateImpl + +
+           
+  +

+ + + + + + + + + + + + + + + + + + + + + +
Methods in algorithms that return StateManager.State
+ StateManager.StateStateManager.getActivityState(TourActivity act, + StateManager.StateId stateId) + +
+           
+ StateManager.StateStateManagerImpl.getActivityState(TourActivity act, + StateManager.StateId stateId) + +
+           
+ StateManager.StateStateManager.getRouteState(VehicleRoute route, + StateManager.StateId stateId) + +
+           
+ StateManager.StateStateManagerImpl.getRouteState(VehicleRoute route, + StateManager.StateId stateId) + +
+           
+  +

+ + + + + + + + + + + + + +
Methods in algorithms with parameters of type StateManager.State
+ voidStateManagerImpl.putActivityState(TourActivity act, + StateManager.StateId stateId, + StateManager.State state) + +
+           
+ voidStateManagerImpl.putRouteState(VehicleRoute route, + StateManager.StateId stateId, + StateManager.State state) + +
+           
+  +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/doc/algorithms/class-use/StateManager.StateId.html b/doc/algorithms/class-use/StateManager.StateId.html new file mode 100644 index 00000000..ce0508b6 --- /dev/null +++ b/doc/algorithms/class-use/StateManager.StateId.html @@ -0,0 +1,244 @@ + + + + + + +Uses of Interface algorithms.StateManager.StateId + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Interface
algorithms.StateManager.StateId

+
+ + + + + + + + + +
+Packages that use StateManager.StateId
algorithms  
+  +

+ + + + + +
+Uses of StateManager.StateId in algorithms
+  +

+ + + + + + + + + +
Methods in algorithms that return StateManager.StateId
+static StateManager.StateIdStateIdFactory.createId(java.lang.String name) + +
+           
+  +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Methods in algorithms with parameters of type StateManager.StateId
+ StateManager.StateStateManager.getActivityState(TourActivity act, + StateManager.StateId stateId) + +
+           
+ StateManager.StateStateManagerImpl.getActivityState(TourActivity act, + StateManager.StateId stateId) + +
+           
+ StateManager.StateStateManager.getRouteState(VehicleRoute route, + StateManager.StateId stateId) + +
+           
+ StateManager.StateStateManagerImpl.getRouteState(VehicleRoute route, + StateManager.StateId stateId) + +
+           
+ voidStateManagerImpl.putActivityState(TourActivity act, + StateManager.StateId stateId, + StateManager.State state) + +
+           
+ voidStateManagerImpl.putRouteState(VehicleRoute route, + StateManager.StateId stateId, + StateManager.State state) + +
+           
+  +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/doc/algorithms/class-use/StateManager.html b/doc/algorithms/class-use/StateManager.html new file mode 100644 index 00000000..70b63d12 --- /dev/null +++ b/doc/algorithms/class-use/StateManager.html @@ -0,0 +1,226 @@ + + + + + + +Uses of Interface algorithms.StateManager + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Interface
algorithms.StateManager

+
+ + + + + + + + + +
+Packages that use StateManager
algorithms  
+  +

+ + + + + +
+Uses of StateManager in algorithms
+  +

+ + + + + + + + + +
Classes in algorithms that implement StateManager
+ classStateManagerImpl + +
+           
+  +

+ + + + + + + + + + + + + + + + + + + + + + + +
Constructors in algorithms with parameters of type StateManager
BestInsertionBuilder(VehicleRoutingProblem vrp, + StateManager stateManager) + +
+           
HardLoadConstraint(StateManager states) + +
+           
HardPickupAndDeliveryActivityLevelConstraint(StateManager stateManager) + +
+           
HardPickupAndDeliveryBackhaulActivityLevelConstraint(StateManager stateManager) + +
+           
HardPickupAndDeliveryLoadConstraint(StateManager stateManager) + +
+           
HardTimeWindowActivityLevelConstraint(StateManager states, + VehicleRoutingTransportCosts routingCosts) + +
+           
+  +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/doc/algorithms/class-use/StateManagerImpl.StateImpl.html b/doc/algorithms/class-use/StateManagerImpl.StateImpl.html new file mode 100644 index 00000000..571069ba --- /dev/null +++ b/doc/algorithms/class-use/StateManagerImpl.StateImpl.html @@ -0,0 +1,144 @@ + + + + + + +Uses of Class algorithms.StateManagerImpl.StateImpl + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Class
algorithms.StateManagerImpl.StateImpl

+
+No usage of algorithms.StateManagerImpl.StateImpl +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/doc/algorithms/class-use/StateManagerImpl.html b/doc/algorithms/class-use/StateManagerImpl.html new file mode 100644 index 00000000..385207a4 --- /dev/null +++ b/doc/algorithms/class-use/StateManagerImpl.html @@ -0,0 +1,252 @@ + + + + + + +Uses of Class algorithms.StateManagerImpl + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Class
algorithms.StateManagerImpl

+
+ + + + + + + + + +
+Packages that use StateManagerImpl
algorithms  
+  +

+ + + + + +
+Uses of StateManagerImpl in algorithms
+  +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Constructors in algorithms with parameters of type StateManagerImpl
InitializeLoadsAtStartAndEndOfRouteWhenInsertionStarts(StateManagerImpl stateManager) + +
+          Initializes the load of each route/vehicle at start- and end-location before insertion starts.
StateUpdates.UpdateStates(StateManagerImpl states, + VehicleRoutingTransportCosts routingCosts, + VehicleRoutingActivityCosts activityCosts) + +
+           
UpdateCostsAtAllLevels(VehicleRoutingActivityCosts activityCost, + VehicleRoutingTransportCosts transportCost, + StateManagerImpl states) + +
+          Updates total costs (i.e.
UpdateCostsAtRouteLevel(StateManagerImpl states, + VehicleRoutingTransportCosts tpCosts, + VehicleRoutingActivityCosts actCosts) + +
+           
UpdateEarliestStartTimeWindowAtActLocations(StateManagerImpl states, + VehicleRoutingTransportCosts transportCosts) + +
+           
UpdateFuturePickupsAtActivityLevel(StateManagerImpl stateManager) + +
+           
UpdateLatestOperationStartTimeAtActLocations(StateManagerImpl states, + VehicleRoutingTransportCosts tpCosts) + +
+           
UpdateLoadAtActivityLevel(StateManagerImpl stateManager) + +
+          Updates load at activity level.
UpdateLoadAtAllLevels(StateManagerImpl states) + +
+           
UpdateLoadAtRouteLevel(StateManagerImpl states) + +
+          Updates load at route level, i.e.
UpdateLoadsAtStartAndEndOfRouteWhenJobHasBeenInserted(StateManagerImpl stateManager) + +
+          Updates loads at start and end of a route if a job has been inserted in that route.
UpdateOccuredDeliveriesAtActivityLevel(StateManagerImpl stateManager) + +
+           
+  +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/doc/algorithms/class-use/StateUpdates.UpdateStates.html b/doc/algorithms/class-use/StateUpdates.UpdateStates.html new file mode 100644 index 00000000..d9091bf0 --- /dev/null +++ b/doc/algorithms/class-use/StateUpdates.UpdateStates.html @@ -0,0 +1,144 @@ + + + + + + +Uses of Class algorithms.StateUpdates.UpdateStates + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Class
algorithms.StateUpdates.UpdateStates

+
+No usage of algorithms.StateUpdates.UpdateStates +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/doc/algorithms/class-use/StateUpdates.html b/doc/algorithms/class-use/StateUpdates.html new file mode 100644 index 00000000..fdc1d4f0 --- /dev/null +++ b/doc/algorithms/class-use/StateUpdates.html @@ -0,0 +1,144 @@ + + + + + + +Uses of Class algorithms.StateUpdates + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Class
algorithms.StateUpdates

+
+No usage of algorithms.StateUpdates +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/doc/algorithms/class-use/UpdateActivityTimes.html b/doc/algorithms/class-use/UpdateActivityTimes.html new file mode 100644 index 00000000..3fe148ce --- /dev/null +++ b/doc/algorithms/class-use/UpdateActivityTimes.html @@ -0,0 +1,144 @@ + + + + + + +Uses of Class algorithms.UpdateActivityTimes + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Class
algorithms.UpdateActivityTimes

+
+No usage of algorithms.UpdateActivityTimes +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/doc/algorithms/class-use/UpdateCostsAtAllLevels.html b/doc/algorithms/class-use/UpdateCostsAtAllLevels.html new file mode 100644 index 00000000..57688d33 --- /dev/null +++ b/doc/algorithms/class-use/UpdateCostsAtAllLevels.html @@ -0,0 +1,144 @@ + + + + + + +Uses of Class algorithms.UpdateCostsAtAllLevels + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Class
algorithms.UpdateCostsAtAllLevels

+
+No usage of algorithms.UpdateCostsAtAllLevels +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/doc/algorithms/class-use/UpdateCostsAtRouteLevel.html b/doc/algorithms/class-use/UpdateCostsAtRouteLevel.html new file mode 100644 index 00000000..70ea4c67 --- /dev/null +++ b/doc/algorithms/class-use/UpdateCostsAtRouteLevel.html @@ -0,0 +1,144 @@ + + + + + + +Uses of Class algorithms.UpdateCostsAtRouteLevel + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Class
algorithms.UpdateCostsAtRouteLevel

+
+No usage of algorithms.UpdateCostsAtRouteLevel +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/doc/algorithms/class-use/UpdateEarliestStartTimeWindowAtActLocations.html b/doc/algorithms/class-use/UpdateEarliestStartTimeWindowAtActLocations.html new file mode 100644 index 00000000..d98dbd6d --- /dev/null +++ b/doc/algorithms/class-use/UpdateEarliestStartTimeWindowAtActLocations.html @@ -0,0 +1,144 @@ + + + + + + +Uses of Class algorithms.UpdateEarliestStartTimeWindowAtActLocations + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Class
algorithms.UpdateEarliestStartTimeWindowAtActLocations

+
+No usage of algorithms.UpdateEarliestStartTimeWindowAtActLocations +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/doc/algorithms/class-use/UpdateFuturePickupsAtActivityLevel.html b/doc/algorithms/class-use/UpdateFuturePickupsAtActivityLevel.html new file mode 100644 index 00000000..4da3dcaf --- /dev/null +++ b/doc/algorithms/class-use/UpdateFuturePickupsAtActivityLevel.html @@ -0,0 +1,144 @@ + + + + + + +Uses of Class algorithms.UpdateFuturePickupsAtActivityLevel + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Class
algorithms.UpdateFuturePickupsAtActivityLevel

+
+No usage of algorithms.UpdateFuturePickupsAtActivityLevel +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/doc/algorithms/class-use/UpdateLatestOperationStartTimeAtActLocations.html b/doc/algorithms/class-use/UpdateLatestOperationStartTimeAtActLocations.html new file mode 100644 index 00000000..570be370 --- /dev/null +++ b/doc/algorithms/class-use/UpdateLatestOperationStartTimeAtActLocations.html @@ -0,0 +1,144 @@ + + + + + + +Uses of Class algorithms.UpdateLatestOperationStartTimeAtActLocations + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Class
algorithms.UpdateLatestOperationStartTimeAtActLocations

+
+No usage of algorithms.UpdateLatestOperationStartTimeAtActLocations +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/doc/algorithms/class-use/UpdateLoadAtActivityLevel.html b/doc/algorithms/class-use/UpdateLoadAtActivityLevel.html new file mode 100644 index 00000000..305de3b3 --- /dev/null +++ b/doc/algorithms/class-use/UpdateLoadAtActivityLevel.html @@ -0,0 +1,144 @@ + + + + + + +Uses of Class algorithms.UpdateLoadAtActivityLevel + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Class
algorithms.UpdateLoadAtActivityLevel

+
+No usage of algorithms.UpdateLoadAtActivityLevel +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/doc/algorithms/class-use/UpdateLoadAtAllLevels.html b/doc/algorithms/class-use/UpdateLoadAtAllLevels.html new file mode 100644 index 00000000..28b8dafe --- /dev/null +++ b/doc/algorithms/class-use/UpdateLoadAtAllLevels.html @@ -0,0 +1,144 @@ + + + + + + +Uses of Class algorithms.UpdateLoadAtAllLevels + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Class
algorithms.UpdateLoadAtAllLevels

+
+No usage of algorithms.UpdateLoadAtAllLevels +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/doc/algorithms/class-use/UpdateLoadAtRouteLevel.html b/doc/algorithms/class-use/UpdateLoadAtRouteLevel.html new file mode 100644 index 00000000..428f7f60 --- /dev/null +++ b/doc/algorithms/class-use/UpdateLoadAtRouteLevel.html @@ -0,0 +1,144 @@ + + + + + + +Uses of Class algorithms.UpdateLoadAtRouteLevel + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Class
algorithms.UpdateLoadAtRouteLevel

+
+No usage of algorithms.UpdateLoadAtRouteLevel +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/doc/algorithms/class-use/UpdateLoadsAtStartAndEndOfRouteWhenJobHasBeenInserted.html b/doc/algorithms/class-use/UpdateLoadsAtStartAndEndOfRouteWhenJobHasBeenInserted.html new file mode 100644 index 00000000..073029d8 --- /dev/null +++ b/doc/algorithms/class-use/UpdateLoadsAtStartAndEndOfRouteWhenJobHasBeenInserted.html @@ -0,0 +1,144 @@ + + + + + + +Uses of Class algorithms.UpdateLoadsAtStartAndEndOfRouteWhenJobHasBeenInserted + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Class
algorithms.UpdateLoadsAtStartAndEndOfRouteWhenJobHasBeenInserted

+
+No usage of algorithms.UpdateLoadsAtStartAndEndOfRouteWhenJobHasBeenInserted +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/doc/algorithms/class-use/UpdateOccuredDeliveriesAtActivityLevel.html b/doc/algorithms/class-use/UpdateOccuredDeliveriesAtActivityLevel.html new file mode 100644 index 00000000..ee2fdf3a --- /dev/null +++ b/doc/algorithms/class-use/UpdateOccuredDeliveriesAtActivityLevel.html @@ -0,0 +1,144 @@ + + + + + + +Uses of Class algorithms.UpdateOccuredDeliveriesAtActivityLevel + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Class
algorithms.UpdateOccuredDeliveriesAtActivityLevel

+
+No usage of algorithms.UpdateOccuredDeliveriesAtActivityLevel +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/doc/algorithms/class-use/VehicleFleetManager.html b/doc/algorithms/class-use/VehicleFleetManager.html new file mode 100644 index 00000000..420c5d65 --- /dev/null +++ b/doc/algorithms/class-use/VehicleFleetManager.html @@ -0,0 +1,226 @@ + + + + + + +Uses of Interface algorithms.VehicleFleetManager + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Interface
algorithms.VehicleFleetManager

+
+ + + + + + + + + +
+Packages that use VehicleFleetManager
algorithms  
+  +

+ + + + + +
+Uses of VehicleFleetManager in algorithms
+  +

+ + + + + + + + + + + + + + + + + +
Methods in algorithms that return VehicleFleetManager
+ VehicleFleetManagerVehicleFleetManagerFactory.createFleetManager() + +
+           
+ VehicleFleetManagerFiniteFleetManagerFactory.createFleetManager() + +
+           
+ VehicleFleetManagerInfiniteFleetManagerFactory.createFleetManager() + +
+           
+  +

+ + + + + + + + + +
Methods in algorithms with parameters of type VehicleFleetManager
+ voidBestInsertionBuilder.setFleetManager(VehicleFleetManager fleetManager) + +
+           
+  +

+ + + + + + + + +
Constructors in algorithms with parameters of type VehicleFleetManager
RemoveEmptyVehicles(VehicleFleetManager fleetManager) + +
+           
+  +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/doc/algorithms/class-use/VehicleFleetManagerFactory.html b/doc/algorithms/class-use/VehicleFleetManagerFactory.html new file mode 100644 index 00000000..dcc86362 --- /dev/null +++ b/doc/algorithms/class-use/VehicleFleetManagerFactory.html @@ -0,0 +1,188 @@ + + + + + + +Uses of Interface algorithms.VehicleFleetManagerFactory + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Interface
algorithms.VehicleFleetManagerFactory

+
+ + + + + + + + + +
+Packages that use VehicleFleetManagerFactory
algorithms  
+  +

+ + + + + +
+Uses of VehicleFleetManagerFactory in algorithms
+  +

+ + + + + + + + + + + + + +
Classes in algorithms that implement VehicleFleetManagerFactory
+ classFiniteFleetManagerFactory + +
+           
+ classInfiniteFleetManagerFactory + +
+           
+  +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/doc/algorithms/class-use/VehicleRoutingAlgorithms.html b/doc/algorithms/class-use/VehicleRoutingAlgorithms.html new file mode 100644 index 00000000..3e9eaa51 --- /dev/null +++ b/doc/algorithms/class-use/VehicleRoutingAlgorithms.html @@ -0,0 +1,144 @@ + + + + + + +Uses of Class algorithms.VehicleRoutingAlgorithms + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Class
algorithms.VehicleRoutingAlgorithms

+
+No usage of algorithms.VehicleRoutingAlgorithms +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/doc/algorithms/package-frame.html b/doc/algorithms/package-frame.html new file mode 100644 index 00000000..e8065389 --- /dev/null +++ b/doc/algorithms/package-frame.html @@ -0,0 +1,149 @@ + + + + + + +algorithms + + + + + + + + + + + +algorithms + + + + +
+Interfaces  + +
+ActivityVisitor +
+HardActivityLevelConstraint +
+HardRouteLevelConstraint +
+InitialSolutionFactory +
+InsertionStrategy +
+InsertionStrategyBuilder +
+JobDistance +
+ReverseActivityVisitor +
+RouteVisitor +
+RuinStrategy +
+RuinStrategyFactory +
+StateManager +
+StateManager.State +
+StateManager.StateId +
+VehicleFleetManager +
+VehicleFleetManagerFactory
+ + + + + + +
+Classes  + +
+BestInsertionBuilder +
+BestInsertionInitialSolutionFactory +
+CalculationUtils +
+ConstraintManager +
+FiniteFleetManagerFactory +
+GreedySchrimpfFactory +
+HardLoadConstraint +
+HardPickupAndDeliveryActivityLevelConstraint +
+HardPickupAndDeliveryBackhaulActivityLevelConstraint +
+HardPickupAndDeliveryLoadConstraint +
+HardTimeWindowActivityLevelConstraint +
+InfiniteFleetManagerFactory +
+InitializeLoadsAtStartAndEndOfRouteWhenInsertionStarts +
+InsertionContext +
+NeighborhoodThresholdInitialiser +
+RadialRuinStrategyFactory +
+RandomRuinStrategyFactory +
+RemoveEmptyVehicles +
+ReverseRouteActivityVisitor +
+RouteActivityVisitor +
+RuinAndRecreateModule +
+SchrimpfFactory +
+StateIdFactory +
+StateManagerImpl +
+StateManagerImpl.StateImpl +
+StateUpdates +
+StateUpdates.UpdateStates +
+UpdateActivityTimes +
+UpdateCostsAtAllLevels +
+UpdateCostsAtRouteLevel +
+UpdateEarliestStartTimeWindowAtActLocations +
+UpdateFuturePickupsAtActivityLevel +
+UpdateLatestOperationStartTimeAtActLocations +
+UpdateLoadAtActivityLevel +
+UpdateLoadAtAllLevels +
+UpdateLoadAtRouteLevel +
+UpdateLoadsAtStartAndEndOfRouteWhenJobHasBeenInserted +
+UpdateOccuredDeliveriesAtActivityLevel +
+VehicleRoutingAlgorithms
+ + + + diff --git a/doc/algorithms/package-summary.html b/doc/algorithms/package-summary.html new file mode 100644 index 00000000..53afc4f5 --- /dev/null +++ b/doc/algorithms/package-summary.html @@ -0,0 +1,383 @@ + + + + + + +algorithms + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+

+Package algorithms +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Interface Summary
ActivityVisitor 
HardActivityLevelConstraint 
HardRouteLevelConstraint 
InitialSolutionFactory 
InsertionStrategy 
InsertionStrategyBuilder 
JobDistance 
ReverseActivityVisitor 
RouteVisitor 
RuinStrategy 
RuinStrategyFactory 
StateManager 
StateManager.State 
StateManager.StateId 
VehicleFleetManager 
VehicleFleetManagerFactory 
+  + +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Class Summary
BestInsertionBuilder 
BestInsertionInitialSolutionFactory 
CalculationUtils 
ConstraintManager 
FiniteFleetManagerFactory 
GreedySchrimpfFactoryFactory that creates the VehicleRoutingAlgorithm as proposed by Schrimpf et al., 2000 with the following parameters:
HardLoadConstraint 
HardPickupAndDeliveryActivityLevelConstraint 
HardPickupAndDeliveryBackhaulActivityLevelConstraint 
HardPickupAndDeliveryLoadConstraintlsjdfjsdlfjsa
HardTimeWindowActivityLevelConstraintljsljslfjs
InfiniteFleetManagerFactory 
InitializeLoadsAtStartAndEndOfRouteWhenInsertionStartsInitializes the load of each route/vehicle at start- and end-location before insertion starts.
InsertionContext 
NeighborhoodThresholdInitialiser 
RadialRuinStrategyFactory 
RandomRuinStrategyFactory 
RemoveEmptyVehicles 
ReverseRouteActivityVisitor 
RouteActivityVisitor 
RuinAndRecreateModule 
SchrimpfFactoryFactory that creates the VehicleRoutingAlgorithm as proposed by Schrimpf et al., 2000 with the following parameters:
StateIdFactory 
StateManagerImpl 
StateManagerImpl.StateImpl 
StateUpdates 
StateUpdates.UpdateStates 
UpdateActivityTimesUpdates arrival and end times of activities.
UpdateCostsAtAllLevelsUpdates total costs (i.e.
UpdateCostsAtRouteLevel 
UpdateEarliestStartTimeWindowAtActLocations 
UpdateFuturePickupsAtActivityLevel 
UpdateLatestOperationStartTimeAtActLocations 
UpdateLoadAtActivityLevelUpdates load at activity level.
UpdateLoadAtAllLevels 
UpdateLoadAtRouteLevelUpdates load at route level, i.e.
UpdateLoadsAtStartAndEndOfRouteWhenJobHasBeenInsertedUpdates loads at start and end of a route if a job has been inserted in that route.
UpdateOccuredDeliveriesAtActivityLevel 
VehicleRoutingAlgorithms 
+  + +

+

+
+
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/doc/algorithms/package-tree.html b/doc/algorithms/package-tree.html new file mode 100644 index 00000000..107ebd3d --- /dev/null +++ b/doc/algorithms/package-tree.html @@ -0,0 +1,190 @@ + + + + + + +algorithms Class Hierarchy + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Hierarchy For Package algorithms +

+
+
+
Package Hierarchies:
All Packages
+
+

+Class Hierarchy +

+ +

+Interface Hierarchy +

+ +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/doc/algorithms/package-use.html b/doc/algorithms/package-use.html new file mode 100644 index 00000000..bc5b955f --- /dev/null +++ b/doc/algorithms/package-use.html @@ -0,0 +1,272 @@ + + + + + + +Uses of Package algorithms + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Package
algorithms

+
+ + + + + + + + + +
+Packages that use algorithms
algorithms  
+  +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Classes in algorithms used by algorithms
ActivityVisitor + +
+           
HardActivityLevelConstraint + +
+           
HardRouteLevelConstraint + +
+           
InitialSolutionFactory + +
+           
InsertionContext + +
+           
InsertionStrategy + +
+           
InsertionStrategyBuilder + +
+           
JobDistance + +
+           
ReverseActivityVisitor + +
+           
RouteVisitor + +
+           
RuinStrategy + +
+           
RuinStrategyFactory + +
+           
StateManager + +
+           
StateManager.State + +
+           
StateManager.StateId + +
+           
StateManagerImpl + +
+           
VehicleFleetManager + +
+           
VehicleFleetManagerFactory + +
+           
+  +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/doc/algorithms/selectors/SelectBest.html b/doc/algorithms/selectors/SelectBest.html new file mode 100644 index 00000000..6c560805 --- /dev/null +++ b/doc/algorithms/selectors/SelectBest.html @@ -0,0 +1,302 @@ + + + + + + +SelectBest + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +algorithms.selectors +
+Class SelectBest

+
+java.lang.Object
+  extended by algorithms.selectors.SelectBest
+
+
+
All Implemented Interfaces:
SolutionSelector
+
+
+
+
public class SelectBest
extends java.lang.Object
implements SolutionSelector
+ + +

+


+ +

+ + + + + + + + + + + +
+Constructor Summary
SelectBest() + +
+           
+  + + + + + + + + + + + + + + + + + + + +
+Method Summary
+static SelectBestgetInstance() + +
+           
+ VehicleRoutingProblemSolutionselectSolution(java.util.Collection<VehicleRoutingProblemSolution> solutions) + +
+           
+ java.lang.StringtoString() + +
+           
+ + + + + + + +
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+SelectBest

+
+public SelectBest()
+
+
+ + + + + + + + +
+Method Detail
+ +

+getInstance

+
+public static SelectBest getInstance()
+
+
+
+
+
+
+
+
+
+ +

+selectSolution

+
+public VehicleRoutingProblemSolution selectSolution(java.util.Collection<VehicleRoutingProblemSolution> solutions)
+
+
+
Specified by:
selectSolution in interface SolutionSelector
+
+
+
+
+
+
+ +

+toString

+
+public java.lang.String toString()
+
+
+
Overrides:
toString in class java.lang.Object
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/doc/algorithms/selectors/SelectRandomly.html b/doc/algorithms/selectors/SelectRandomly.html new file mode 100644 index 00000000..aa4000d2 --- /dev/null +++ b/doc/algorithms/selectors/SelectRandomly.html @@ -0,0 +1,302 @@ + + + + + + +SelectRandomly + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +algorithms.selectors +
+Class SelectRandomly

+
+java.lang.Object
+  extended by algorithms.selectors.SelectRandomly
+
+
+
All Implemented Interfaces:
SolutionSelector
+
+
+
+
public class SelectRandomly
extends java.lang.Object
implements SolutionSelector
+ + +

+


+ +

+ + + + + + + + + + + +
+Constructor Summary
SelectRandomly() + +
+           
+  + + + + + + + + + + + + + + + + + + + +
+Method Summary
+static SelectRandomlygetInstance() + +
+           
+ VehicleRoutingProblemSolutionselectSolution(java.util.Collection<VehicleRoutingProblemSolution> solutions) + +
+           
+ voidsetRandom(java.util.Random random) + +
+           
+ + + + + + + +
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+SelectRandomly

+
+public SelectRandomly()
+
+
+ + + + + + + + +
+Method Detail
+ +

+getInstance

+
+public static SelectRandomly getInstance()
+
+
+
+
+
+
+
+
+
+ +

+selectSolution

+
+public VehicleRoutingProblemSolution selectSolution(java.util.Collection<VehicleRoutingProblemSolution> solutions)
+
+
+
Specified by:
selectSolution in interface SolutionSelector
+
+
+
+
+
+
+ +

+setRandom

+
+public void setRandom(java.util.Random random)
+
+
+
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/doc/algorithms/selectors/SolutionSelector.html b/doc/algorithms/selectors/SolutionSelector.html new file mode 100644 index 00000000..d8e0fa33 --- /dev/null +++ b/doc/algorithms/selectors/SolutionSelector.html @@ -0,0 +1,209 @@ + + + + + + +SolutionSelector + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +algorithms.selectors +
+Interface SolutionSelector

+
+
All Known Implementing Classes:
SelectBest, SelectRandomly
+
+
+
+
public interface SolutionSelector
+ + +

+


+ +

+ + + + + + + + + + + + +
+Method Summary
+ VehicleRoutingProblemSolutionselectSolution(java.util.Collection<VehicleRoutingProblemSolution> solutions) + +
+           
+  +

+ + + + + + + + +
+Method Detail
+ +

+selectSolution

+
+VehicleRoutingProblemSolution selectSolution(java.util.Collection<VehicleRoutingProblemSolution> solutions)
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/doc/algorithms/selectors/class-use/SelectBest.html b/doc/algorithms/selectors/class-use/SelectBest.html new file mode 100644 index 00000000..1618959d --- /dev/null +++ b/doc/algorithms/selectors/class-use/SelectBest.html @@ -0,0 +1,180 @@ + + + + + + +Uses of Class algorithms.selectors.SelectBest + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Class
algorithms.selectors.SelectBest

+
+ + + + + + + + + +
+Packages that use SelectBest
algorithms.selectors  
+  +

+ + + + + +
+Uses of SelectBest in algorithms.selectors
+  +

+ + + + + + + + + +
Methods in algorithms.selectors that return SelectBest
+static SelectBestSelectBest.getInstance() + +
+           
+  +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/doc/algorithms/selectors/class-use/SelectRandomly.html b/doc/algorithms/selectors/class-use/SelectRandomly.html new file mode 100644 index 00000000..8b6da8e9 --- /dev/null +++ b/doc/algorithms/selectors/class-use/SelectRandomly.html @@ -0,0 +1,180 @@ + + + + + + +Uses of Class algorithms.selectors.SelectRandomly + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Class
algorithms.selectors.SelectRandomly

+
+ + + + + + + + + +
+Packages that use SelectRandomly
algorithms.selectors  
+  +

+ + + + + +
+Uses of SelectRandomly in algorithms.selectors
+  +

+ + + + + + + + + +
Methods in algorithms.selectors that return SelectRandomly
+static SelectRandomlySelectRandomly.getInstance() + +
+           
+  +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/doc/algorithms/selectors/class-use/SolutionSelector.html b/doc/algorithms/selectors/class-use/SolutionSelector.html new file mode 100644 index 00000000..dd1d9e35 --- /dev/null +++ b/doc/algorithms/selectors/class-use/SolutionSelector.html @@ -0,0 +1,232 @@ + + + + + + +Uses of Interface algorithms.selectors.SolutionSelector + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Interface
algorithms.selectors.SolutionSelector

+
+ + + + + + + + + + + + + +
+Packages that use SolutionSelector
algorithms.selectors  
basics.algo  
+  +

+ + + + + +
+Uses of SolutionSelector in algorithms.selectors
+  +

+ + + + + + + + + + + + + +
Classes in algorithms.selectors that implement SolutionSelector
+ classSelectBest + +
+           
+ classSelectRandomly + +
+           
+  +

+ + + + + +
+Uses of SolutionSelector in basics.algo
+  +

+ + + + + + + + + +
Methods in basics.algo that return SolutionSelector
+ SolutionSelectorSearchStrategy.getSolutionSelector() + +
+           
+  +

+ + + + + + + + +
Constructors in basics.algo with parameters of type SolutionSelector
SearchStrategy(SolutionSelector solutionSelector, + SolutionAcceptor solutionAcceptor) + +
+           
+  +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/doc/algorithms/selectors/package-frame.html b/doc/algorithms/selectors/package-frame.html new file mode 100644 index 00000000..a5b113da --- /dev/null +++ b/doc/algorithms/selectors/package-frame.html @@ -0,0 +1,45 @@ + + + + + + +algorithms.selectors + + + + + + + + + + + +algorithms.selectors + + + + +
+Interfaces  + +
+SolutionSelector
+ + + + + + +
+Classes  + +
+SelectBest +
+SelectRandomly
+ + + + diff --git a/doc/algorithms/selectors/package-summary.html b/doc/algorithms/selectors/package-summary.html new file mode 100644 index 00000000..60332236 --- /dev/null +++ b/doc/algorithms/selectors/package-summary.html @@ -0,0 +1,175 @@ + + + + + + +algorithms.selectors + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+

+Package algorithms.selectors +

+ + + + + + + + + +
+Interface Summary
SolutionSelector 
+  + +

+ + + + + + + + + + + + + +
+Class Summary
SelectBest 
SelectRandomly 
+  + +

+

+
+
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/doc/algorithms/selectors/package-tree.html b/doc/algorithms/selectors/package-tree.html new file mode 100644 index 00000000..939bfe00 --- /dev/null +++ b/doc/algorithms/selectors/package-tree.html @@ -0,0 +1,160 @@ + + + + + + +algorithms.selectors Class Hierarchy + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Hierarchy For Package algorithms.selectors +

+
+
+
Package Hierarchies:
All Packages
+
+

+Class Hierarchy +

+ +

+Interface Hierarchy +

+ +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/doc/algorithms/selectors/package-use.html b/doc/algorithms/selectors/package-use.html new file mode 100644 index 00000000..701bf631 --- /dev/null +++ b/doc/algorithms/selectors/package-use.html @@ -0,0 +1,201 @@ + + + + + + +Uses of Package algorithms.selectors + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Package
algorithms.selectors

+
+ + + + + + + + + + + + + +
+Packages that use algorithms.selectors
algorithms.selectors  
basics.algo  
+  +

+ + + + + + + + + + + + + + +
+Classes in algorithms.selectors used by algorithms.selectors
SelectBest + +
+           
SelectRandomly + +
+           
SolutionSelector + +
+           
+  +

+ + + + + + + + +
+Classes in algorithms.selectors used by basics.algo
SolutionSelector + +
+           
+  +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/doc/allclasses-frame.html b/doc/allclasses-frame.html new file mode 100644 index 00000000..0da38cb9 --- /dev/null +++ b/doc/allclasses-frame.html @@ -0,0 +1,363 @@ + + + + + + +All Classes + + + + + + + + + + + +All Classes +
+ + + + + +
AcceptNewIfBetterThanWorst +
+AcceptNewRemoveFirst +
+ActivityVisitor +
+AlgorithmConfig +
+AlgorithmConfigXmlReader +
+AlgorithmEndsListener +
+AlgorithmStartsListener +
+ArrayUtils +
+BackwardTransportCost +
+BackwardTransportTime +
+BenchmarkInstance +
+BenchmarkResult +
+BestInsertionBuilder +
+BestInsertionInitialSolutionFactory +
+CalculationUtils +
+ConstraintManager +
+Coordinate +
+Counter +
+CrowFlyCosts +
+DefaultTourActivityFactory +
+DefaultVehicleRouteCostCalculator +
+DefaultVehicleRoutingActivityCosts +
+Delivery +
+Delivery.Builder +
+DeliveryActivity +
+Driver +
+DriverImpl +
+DriverImpl.NoDriver +
+End +
+EuclideanDistanceCalculator +
+FiniteFleetManagerFactory +
+ForwardTransportCost +
+ForwardTransportTime +
+GreedySchrimpfFactory +
+HardActivityLevelConstraint +
+HardLoadConstraint +
+HardPickupAndDeliveryActivityLevelConstraint +
+HardPickupAndDeliveryBackhaulActivityLevelConstraint +
+HardPickupAndDeliveryLoadConstraint +
+HardRouteLevelConstraint +
+HardTimeWindowActivityLevelConstraint +
+InfiniteFleetManagerFactory +
+InitializeLoadsAtStartAndEndOfRouteWhenInsertionStarts +
+InitialSolutionFactory +
+InsertionContext +
+InsertionEndsListener +
+InsertionListener +
+InsertionListeners +
+InsertionStartsListener +
+InsertionStrategy +
+InsertionStrategyBuilder +
+IterationEndsListener +
+IterationStartsListener +
+IterationWithoutImprovementBreaker +
+Job +
+JobDistance +
+JobInsertedListener +
+Locations +
+ManhattanCosts +
+ManhattanDistanceCalculator +
+Neighborhood +
+NeighborhoodImpl +
+NeighborhoodThresholdInitialiser +
+PenaltyVehicleType +
+Pickup +
+Pickup.Builder +
+PickupActivity +
+PrematureAlgorithmBreaker +
+RadialRuinStrategyFactory +
+RandomNumberGeneration +
+RandomRuinStrategyFactory +
+RemoveEmptyVehicles +
+Resource +
+ReverseActivityVisitor +
+ReverseRouteActivityVisitor +
+RouteActivityVisitor +
+RouteUtils +
+RouteVisitor +
+RuinAndRecreateModule +
+RuinListener +
+RuinListeners +
+RuinStrategy +
+RuinStrategyFactory +
+SchrimpfAcceptance +
+SchrimpfFactory +
+SearchStrategy +
+SearchStrategy.DiscoveredSolution +
+SearchStrategyListener +
+SearchStrategyManager +
+SearchStrategyModule +
+SearchStrategyModuleListener +
+SelectBest +
+SelectRandomly +
+Service +
+Service.Builder +
+ServiceActivity +
+SolutionAcceptor +
+Solutions +
+SolutionSelector +
+Start +
+StateIdFactory +
+StateManager +
+StateManager.State +
+StateManager.StateId +
+StateManagerImpl +
+StateManagerImpl.StateImpl +
+StateUpdates +
+StateUpdates.UpdateStates +
+StopWatch +
+StrategySelectedListener +
+TimeBreaker +
+TimeWindow +
+TourActivities +
+TourActivities.ReverseActivityIterator +
+TourActivity +
+TourActivity.JobActivity +
+TourActivityFactory +
+TransportCost +
+TransportTime +
+UpdateActivityTimes +
+UpdateCostsAtAllLevels +
+UpdateCostsAtRouteLevel +
+UpdateEarliestStartTimeWindowAtActLocations +
+UpdateFuturePickupsAtActivityLevel +
+UpdateLatestOperationStartTimeAtActLocations +
+UpdateLoadAtActivityLevel +
+UpdateLoadAtAllLevels +
+UpdateLoadAtRouteLevel +
+UpdateLoadsAtStartAndEndOfRouteWhenJobHasBeenInserted +
+UpdateOccuredDeliveriesAtActivityLevel +
+VariationCoefficientBreaker +
+Vehicle +
+VehicleFleetManager +
+VehicleFleetManagerFactory +
+VehicleImpl +
+VehicleImpl.Builder +
+VehicleImpl.NoVehicle +
+VehicleRoute +
+VehicleRoute.Builder +
+VehicleRouteCostCalculator +
+VehicleRoutingActivityCosts +
+VehicleRoutingActivityCosts.Parameter +
+VehicleRoutingActivityCosts.Time +
+VehicleRoutingAlgorithm +
+VehicleRoutingAlgorithmFactory +
+VehicleRoutingAlgorithmListener +
+VehicleRoutingAlgorithmListeners +
+VehicleRoutingAlgorithmListeners.PrioritizedVRAListener +
+VehicleRoutingAlgorithmListeners.Priority +
+VehicleRoutingAlgorithms +
+VehicleRoutingProblem +
+VehicleRoutingProblem.Builder +
+VehicleRoutingProblem.Constraint +
+VehicleRoutingProblem.FleetComposition +
+VehicleRoutingProblem.FleetSize +
+VehicleRoutingProblemSolution +
+VehicleRoutingTransportCosts +
+VehicleRoutingTransportCostsMatrix +
+VehicleRoutingTransportCostsMatrix.Builder +
+VehicleType +
+VehicleTypeImpl +
+VehicleTypeImpl.Builder +
+VehicleTypeImpl.VehicleCostParams +
+VrpVerifier +
+VrpXMLReader +
+VrpXMLReader.ServiceBuilderFactory +
+VrpXMLWriter +
+
+ + + diff --git a/doc/allclasses-noframe.html b/doc/allclasses-noframe.html new file mode 100644 index 00000000..8138430e --- /dev/null +++ b/doc/allclasses-noframe.html @@ -0,0 +1,363 @@ + + + + + + +All Classes + + + + + + + + + + + +All Classes +
+ + + + + +
AcceptNewIfBetterThanWorst +
+AcceptNewRemoveFirst +
+ActivityVisitor +
+AlgorithmConfig +
+AlgorithmConfigXmlReader +
+AlgorithmEndsListener +
+AlgorithmStartsListener +
+ArrayUtils +
+BackwardTransportCost +
+BackwardTransportTime +
+BenchmarkInstance +
+BenchmarkResult +
+BestInsertionBuilder +
+BestInsertionInitialSolutionFactory +
+CalculationUtils +
+ConstraintManager +
+Coordinate +
+Counter +
+CrowFlyCosts +
+DefaultTourActivityFactory +
+DefaultVehicleRouteCostCalculator +
+DefaultVehicleRoutingActivityCosts +
+Delivery +
+Delivery.Builder +
+DeliveryActivity +
+Driver +
+DriverImpl +
+DriverImpl.NoDriver +
+End +
+EuclideanDistanceCalculator +
+FiniteFleetManagerFactory +
+ForwardTransportCost +
+ForwardTransportTime +
+GreedySchrimpfFactory +
+HardActivityLevelConstraint +
+HardLoadConstraint +
+HardPickupAndDeliveryActivityLevelConstraint +
+HardPickupAndDeliveryBackhaulActivityLevelConstraint +
+HardPickupAndDeliveryLoadConstraint +
+HardRouteLevelConstraint +
+HardTimeWindowActivityLevelConstraint +
+InfiniteFleetManagerFactory +
+InitializeLoadsAtStartAndEndOfRouteWhenInsertionStarts +
+InitialSolutionFactory +
+InsertionContext +
+InsertionEndsListener +
+InsertionListener +
+InsertionListeners +
+InsertionStartsListener +
+InsertionStrategy +
+InsertionStrategyBuilder +
+IterationEndsListener +
+IterationStartsListener +
+IterationWithoutImprovementBreaker +
+Job +
+JobDistance +
+JobInsertedListener +
+Locations +
+ManhattanCosts +
+ManhattanDistanceCalculator +
+Neighborhood +
+NeighborhoodImpl +
+NeighborhoodThresholdInitialiser +
+PenaltyVehicleType +
+Pickup +
+Pickup.Builder +
+PickupActivity +
+PrematureAlgorithmBreaker +
+RadialRuinStrategyFactory +
+RandomNumberGeneration +
+RandomRuinStrategyFactory +
+RemoveEmptyVehicles +
+Resource +
+ReverseActivityVisitor +
+ReverseRouteActivityVisitor +
+RouteActivityVisitor +
+RouteUtils +
+RouteVisitor +
+RuinAndRecreateModule +
+RuinListener +
+RuinListeners +
+RuinStrategy +
+RuinStrategyFactory +
+SchrimpfAcceptance +
+SchrimpfFactory +
+SearchStrategy +
+SearchStrategy.DiscoveredSolution +
+SearchStrategyListener +
+SearchStrategyManager +
+SearchStrategyModule +
+SearchStrategyModuleListener +
+SelectBest +
+SelectRandomly +
+Service +
+Service.Builder +
+ServiceActivity +
+SolutionAcceptor +
+Solutions +
+SolutionSelector +
+Start +
+StateIdFactory +
+StateManager +
+StateManager.State +
+StateManager.StateId +
+StateManagerImpl +
+StateManagerImpl.StateImpl +
+StateUpdates +
+StateUpdates.UpdateStates +
+StopWatch +
+StrategySelectedListener +
+TimeBreaker +
+TimeWindow +
+TourActivities +
+TourActivities.ReverseActivityIterator +
+TourActivity +
+TourActivity.JobActivity +
+TourActivityFactory +
+TransportCost +
+TransportTime +
+UpdateActivityTimes +
+UpdateCostsAtAllLevels +
+UpdateCostsAtRouteLevel +
+UpdateEarliestStartTimeWindowAtActLocations +
+UpdateFuturePickupsAtActivityLevel +
+UpdateLatestOperationStartTimeAtActLocations +
+UpdateLoadAtActivityLevel +
+UpdateLoadAtAllLevels +
+UpdateLoadAtRouteLevel +
+UpdateLoadsAtStartAndEndOfRouteWhenJobHasBeenInserted +
+UpdateOccuredDeliveriesAtActivityLevel +
+VariationCoefficientBreaker +
+Vehicle +
+VehicleFleetManager +
+VehicleFleetManagerFactory +
+VehicleImpl +
+VehicleImpl.Builder +
+VehicleImpl.NoVehicle +
+VehicleRoute +
+VehicleRoute.Builder +
+VehicleRouteCostCalculator +
+VehicleRoutingActivityCosts +
+VehicleRoutingActivityCosts.Parameter +
+VehicleRoutingActivityCosts.Time +
+VehicleRoutingAlgorithm +
+VehicleRoutingAlgorithmFactory +
+VehicleRoutingAlgorithmListener +
+VehicleRoutingAlgorithmListeners +
+VehicleRoutingAlgorithmListeners.PrioritizedVRAListener +
+VehicleRoutingAlgorithmListeners.Priority +
+VehicleRoutingAlgorithms +
+VehicleRoutingProblem +
+VehicleRoutingProblem.Builder +
+VehicleRoutingProblem.Constraint +
+VehicleRoutingProblem.FleetComposition +
+VehicleRoutingProblem.FleetSize +
+VehicleRoutingProblemSolution +
+VehicleRoutingTransportCosts +
+VehicleRoutingTransportCostsMatrix +
+VehicleRoutingTransportCostsMatrix.Builder +
+VehicleType +
+VehicleTypeImpl +
+VehicleTypeImpl.Builder +
+VehicleTypeImpl.VehicleCostParams +
+VrpVerifier +
+VrpXMLReader +
+VrpXMLReader.ServiceBuilderFactory +
+VrpXMLWriter +
+
+ + + diff --git a/doc/basics/Delivery.Builder.html b/doc/basics/Delivery.Builder.html new file mode 100644 index 00000000..af2e2894 --- /dev/null +++ b/doc/basics/Delivery.Builder.html @@ -0,0 +1,256 @@ + + + + + + +Delivery.Builder + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +basics +
+Class Delivery.Builder

+
+java.lang.Object
+  extended by basics.Service.Builder
+      extended by basics.Delivery.Builder
+
+
+
Enclosing class:
Delivery
+
+
+
+
public static class Delivery.Builder
extends Service.Builder
+ + +

+


+ +

+ + + + + + + + + + + + + + + + +
+Method Summary
+ Deliverybuild() + +
+           
+static Delivery.BuildernewInstance(java.lang.String id, + int size) + +
+           
+ + + + + + + +
Methods inherited from class basics.Service.Builder
setCoord, setLocationId, setServiceTime, setTimeWindow
+ + + + + + + +
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Method Detail
+ +

+newInstance

+
+public static Delivery.Builder newInstance(java.lang.String id,
+                                           int size)
+
+
+
+
+
+
+ +

+build

+
+public Delivery build()
+
+
+
Overrides:
build in class Service.Builder
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/doc/basics/Delivery.html b/doc/basics/Delivery.html new file mode 100644 index 00000000..a6825cad --- /dev/null +++ b/doc/basics/Delivery.html @@ -0,0 +1,221 @@ + + + + + + +Delivery + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +basics +
+Class Delivery

+
+java.lang.Object
+  extended by basics.Service
+      extended by basics.Delivery
+
+
+
All Implemented Interfaces:
Job
+
+
+
+
public final class Delivery
extends Service
+ + +

+


+ +

+ + + + + + + + + + + +
+Nested Class Summary
+static classDelivery.Builder + +
+           
+  + + + + + + + +
+Method Summary
+ + + + + + + +
Methods inherited from class basics.Service
equals, getCapacityDemand, getCoord, getId, getLocationId, getServiceDuration, getTimeWindow, getType, hashCode, toString
+ + + + + + + +
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
+  +

+ +


+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/doc/basics/Job.html b/doc/basics/Job.html new file mode 100644 index 00000000..de975a7f --- /dev/null +++ b/doc/basics/Job.html @@ -0,0 +1,228 @@ + + + + + + +Job + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +basics +
+Interface Job

+
+
All Known Implementing Classes:
Delivery, Pickup, Service
+
+
+
+
public interface Job
+ + +

+


+ +

+ + + + + + + + + + + + + + + + +
+Method Summary
+ intgetCapacityDemand() + +
+           
+ java.lang.StringgetId() + +
+           
+  +

+ + + + + + + + +
+Method Detail
+ +

+getId

+
+java.lang.String getId()
+
+
+
+
+
+
+ +

+getCapacityDemand

+
+int getCapacityDemand()
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/doc/basics/Pickup.Builder.html b/doc/basics/Pickup.Builder.html new file mode 100644 index 00000000..1e29ce15 --- /dev/null +++ b/doc/basics/Pickup.Builder.html @@ -0,0 +1,256 @@ + + + + + + +Pickup.Builder + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +basics +
+Class Pickup.Builder

+
+java.lang.Object
+  extended by basics.Service.Builder
+      extended by basics.Pickup.Builder
+
+
+
Enclosing class:
Pickup
+
+
+
+
public static class Pickup.Builder
extends Service.Builder
+ + +

+


+ +

+ + + + + + + + + + + + + + + + +
+Method Summary
+ Pickupbuild() + +
+           
+static Pickup.BuildernewInstance(java.lang.String id, + int size) + +
+           
+ + + + + + + +
Methods inherited from class basics.Service.Builder
setCoord, setLocationId, setServiceTime, setTimeWindow
+ + + + + + + +
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Method Detail
+ +

+newInstance

+
+public static Pickup.Builder newInstance(java.lang.String id,
+                                         int size)
+
+
+
+
+
+
+ +

+build

+
+public Pickup build()
+
+
+
Overrides:
build in class Service.Builder
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/doc/basics/Pickup.html b/doc/basics/Pickup.html new file mode 100644 index 00000000..1aadb6fd --- /dev/null +++ b/doc/basics/Pickup.html @@ -0,0 +1,221 @@ + + + + + + +Pickup + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +basics +
+Class Pickup

+
+java.lang.Object
+  extended by basics.Service
+      extended by basics.Pickup
+
+
+
All Implemented Interfaces:
Job
+
+
+
+
public final class Pickup
extends Service
+ + +

+


+ +

+ + + + + + + + + + + +
+Nested Class Summary
+static classPickup.Builder + +
+           
+  + + + + + + + +
+Method Summary
+ + + + + + + +
Methods inherited from class basics.Service
equals, getCapacityDemand, getCoord, getId, getLocationId, getServiceDuration, getTimeWindow, getType, hashCode, toString
+ + + + + + + +
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
+  +

+ +


+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/doc/basics/Service.Builder.html b/doc/basics/Service.Builder.html new file mode 100644 index 00000000..0cc12173 --- /dev/null +++ b/doc/basics/Service.Builder.html @@ -0,0 +1,322 @@ + + + + + + +Service.Builder + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +basics +
+Class Service.Builder

+
+java.lang.Object
+  extended by basics.Service.Builder
+
+
+
Direct Known Subclasses:
Delivery.Builder, Pickup.Builder
+
+
+
Enclosing class:
Service
+
+
+
+
public static class Service.Builder
extends java.lang.Object
+ + +

+


+ +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ Servicebuild() + +
+           
+static Service.BuildernewInstance(java.lang.String id, + int size) + +
+           
+ Service.BuildersetCoord(Coordinate coord) + +
+           
+ Service.BuildersetLocationId(java.lang.String locationId) + +
+           
+ Service.BuildersetServiceTime(double serviceTime) + +
+           
+ Service.BuildersetTimeWindow(TimeWindow tw) + +
+           
+ + + + + + + +
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Method Detail
+ +

+newInstance

+
+public static Service.Builder newInstance(java.lang.String id,
+                                          int size)
+
+
+
+
+
+
+ +

+setLocationId

+
+public Service.Builder setLocationId(java.lang.String locationId)
+
+
+
+
+
+
+ +

+setCoord

+
+public Service.Builder setCoord(Coordinate coord)
+
+
+
+
+
+
+ +

+setServiceTime

+
+public Service.Builder setServiceTime(double serviceTime)
+
+
+
+
+
+
+ +

+setTimeWindow

+
+public Service.Builder setTimeWindow(TimeWindow tw)
+
+
+
+
+
+
+ +

+build

+
+public Service build()
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/doc/basics/Service.html b/doc/basics/Service.html new file mode 100644 index 00000000..bbc74144 --- /dev/null +++ b/doc/basics/Service.html @@ -0,0 +1,444 @@ + + + + + + +Service + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +basics +
+Class Service

+
+java.lang.Object
+  extended by basics.Service
+
+
+
All Implemented Interfaces:
Job
+
+
+
Direct Known Subclasses:
Delivery, Pickup
+
+
+
+
public class Service
extends java.lang.Object
implements Job
+ + +

+


+ +

+ + + + + + + + + + + +
+Nested Class Summary
+static classService.Builder + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ booleanequals(java.lang.Object obj) + +
+           
+ intgetCapacityDemand() + +
+           
+ CoordinategetCoord() + +
+           
+ java.lang.StringgetId() + +
+           
+ java.lang.StringgetLocationId() + +
+           
+ doublegetServiceDuration() + +
+           
+ TimeWindowgetTimeWindow() + +
+           
+ java.lang.StringgetType() + +
+           
+ inthashCode() + +
+           
+ java.lang.StringtoString() + +
+           
+ + + + + + + +
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
+  +

+ + + + + + + + +
+Method Detail
+ +

+getId

+
+public java.lang.String getId()
+
+
+
Specified by:
getId in interface Job
+
+
+
+
+
+
+ +

+getLocationId

+
+public java.lang.String getLocationId()
+
+
+
+
+
+
+
+
+
+ +

+getCoord

+
+public Coordinate getCoord()
+
+
+
+
+
+
+
+
+
+ +

+getServiceDuration

+
+public double getServiceDuration()
+
+
+
+
+
+
+
+
+
+ +

+getTimeWindow

+
+public TimeWindow getTimeWindow()
+
+
+
+
+
+
+
+
+
+ +

+getCapacityDemand

+
+public int getCapacityDemand()
+
+
+
Specified by:
getCapacityDemand in interface Job
+
+
+
+
+
+
+ +

+getType

+
+public java.lang.String getType()
+
+
+
+
+
+ +
Returns:
the name
+
+
+
+ +

+toString

+
+public java.lang.String toString()
+
+
+
Overrides:
toString in class java.lang.Object
+
+
+
+
+
+
+ +

+hashCode

+
+public int hashCode()
+
+
+
Overrides:
hashCode in class java.lang.Object
+
+
+
+
+
+
+ +

+equals

+
+public boolean equals(java.lang.Object obj)
+
+
+
Overrides:
equals in class java.lang.Object
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/doc/basics/VehicleRoutingAlgorithm.html b/doc/basics/VehicleRoutingAlgorithm.html new file mode 100644 index 00000000..3a5fbc53 --- /dev/null +++ b/doc/basics/VehicleRoutingAlgorithm.html @@ -0,0 +1,470 @@ + + + + + + +VehicleRoutingAlgorithm + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +basics +
+Class VehicleRoutingAlgorithm

+
+java.lang.Object
+  extended by basics.VehicleRoutingAlgorithm
+
+
+
+
public class VehicleRoutingAlgorithm
extends java.lang.Object
+ + +

+Algorithm that solves a VehicleRoutingProblem. +

+ +

+

+
Author:
+
stefan schroeder
+
+
+ +

+ + + + + + + + + + + +
+Field Summary
+static intNOBREAK + +
+           
+  + + + + + + + + + + + + + +
+Constructor Summary
VehicleRoutingAlgorithm(VehicleRoutingProblem problem, + java.util.Collection<VehicleRoutingProblemSolution> initialSolutions, + SearchStrategyManager searchStrategyManager) + +
+           
VehicleRoutingAlgorithm(VehicleRoutingProblem problem, + SearchStrategyManager searchStrategyManager) + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ voidaddInitialSolution(VehicleRoutingProblemSolution solution) + +
+          Adds solution to the collection of initial solutions.
+ VehicleRoutingAlgorithmListenersgetAlgorithmListeners() + +
+           
+ intgetNuOfIterations() + +
+          Returns the number of iterations.
+ SearchStrategyManagergetSearchStrategyManager() + +
+          Gets the SearchStrategyManager.
+ java.util.Collection<VehicleRoutingProblemSolution>searchSolutions() + +
+          Runs the vehicle routing algorithm and returns a number of generated solutions.
+ voidsetNuOfIterations(int nOfIterations) + +
+           
+ voidsetPrematureAlgorithmBreaker(PrematureAlgorithmBreaker prematureAlgorithmBreaker) + +
+           
+ voidsetPrematureBreak(int nuIterationsWithoutImprovement) + +
+          Sets premature break.
+ + + + + + + +
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Field Detail
+ +

+NOBREAK

+
+public static final int NOBREAK
+
+
+
See Also:
Constant Field Values
+
+ + + + + + + + +
+Constructor Detail
+ +

+VehicleRoutingAlgorithm

+
+public VehicleRoutingAlgorithm(VehicleRoutingProblem problem,
+                               SearchStrategyManager searchStrategyManager)
+
+
+
+ +

+VehicleRoutingAlgorithm

+
+public VehicleRoutingAlgorithm(VehicleRoutingProblem problem,
+                               java.util.Collection<VehicleRoutingProblemSolution> initialSolutions,
+                               SearchStrategyManager searchStrategyManager)
+
+
+ + + + + + + + +
+Method Detail
+ +

+addInitialSolution

+
+public void addInitialSolution(VehicleRoutingProblemSolution solution)
+
+
Adds solution to the collection of initial solutions. +

+

+
Parameters:
solution -
+
+
+
+ +

+setPrematureBreak

+
+public void setPrematureBreak(int nuIterationsWithoutImprovement)
+
+
Sets premature break. + +

This breaks the algorithm prematurely after the assigned number of iterations without improvement (see input parameter). + Improvement is what SolutionAcceptor understands about improvement. Or to put it in other words, the algo breaks prematurely after + the assigned number of iterations without solution-acceptance. +

+

+
Parameters:
nuIterationsWithoutImprovement -
+
+
+
+ +

+setPrematureAlgorithmBreaker

+
+public void setPrematureAlgorithmBreaker(PrematureAlgorithmBreaker prematureAlgorithmBreaker)
+
+
+
+
+
+
+ +

+getSearchStrategyManager

+
+public SearchStrategyManager getSearchStrategyManager()
+
+
Gets the SearchStrategyManager. +

+

+ +
Returns:
SearchStrategyManager
+
+
+
+ +

+searchSolutions

+
+public java.util.Collection<VehicleRoutingProblemSolution> searchSolutions()
+
+
Runs the vehicle routing algorithm and returns a number of generated solutions. + +

The algorithm runs as long as it is specified in nuOfIterations and prematureBreak. In each iteration it selects a searchStrategy according + to searchStrategyManager and runs the strategy to improve solutions. +

Note that clients are allowed to observe/listen the algorithm. See VehicleRoutingAlgorithmListener and its according listeners. +

+

+ +
Returns:
Collection the solutions
See Also:
SearchStrategyManager}, {@link VehicleRoutingAlgorithmListener}, {@link AlgorithmStartsListener}, {@link AlgorithmEndsListener}, {@link IterationStartsListener}, {@link IterationEndsListener}
+
+
+
+ +

+getNuOfIterations

+
+public int getNuOfIterations()
+
+
Returns the number of iterations. +

+

+ +
Returns:
iterations
+
+
+
+ +

+getAlgorithmListeners

+
+public VehicleRoutingAlgorithmListeners getAlgorithmListeners()
+
+
+
+
+
+
+ +

+setNuOfIterations

+
+public void setNuOfIterations(int nOfIterations)
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/doc/basics/VehicleRoutingProblem.Builder.html b/doc/basics/VehicleRoutingProblem.Builder.html new file mode 100644 index 00000000..09a41e62 --- /dev/null +++ b/doc/basics/VehicleRoutingProblem.Builder.html @@ -0,0 +1,696 @@ + + + + + + +VehicleRoutingProblem.Builder + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +basics +
+Class VehicleRoutingProblem.Builder

+
+java.lang.Object
+  extended by basics.VehicleRoutingProblem.Builder
+
+
+
Enclosing class:
VehicleRoutingProblem
+
+
+
+
public static class VehicleRoutingProblem.Builder
extends java.lang.Object
+ + +

+Builder to build the routing-problem. +

+ +

+

+
Author:
+
stefan schroeder
+
+
+ +

+ + + + + + + + + + + +
+Constructor Summary
VehicleRoutingProblem.Builder() + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ VehicleRoutingProblem.BuilderaddAllJobs(java.util.Collection<Job> jobs) + +
+          Adds a collection of jobs.
+ VehicleRoutingProblem.BuilderaddAllVehicles(java.util.Collection<Vehicle> vehicles) + +
+          Adds a collection of vehicles.
+ VehicleRoutingProblem.BuilderaddJob(Job job) + +
+          Adds a job which is either a service or a shipment.
+ VehicleRoutingProblem.BuilderaddLocation(java.lang.String id, + Coordinate coord) + +
+           
+ voidaddProblemConstraint(VehicleRoutingProblem.Constraint constraint) + +
+           
+ VehicleRoutingProblem.BuilderaddService(Service service) + +
+          Adds a service to jobList.
+ VehicleRoutingProblem.BuilderaddVehicle(Vehicle vehicle) + +
+          Adds a vehicle.
+ VehicleRoutingProblem.BuilderaddVehicleType(VehicleType type) + +
+          Adds a vehicleType.
+ VehicleRoutingProblembuild() + +
+          Builds the VehicleRoutingProblem.
+ java.lang.StringcreateLocation(double x, + double y) + +
+          Create a location (i.e.
+ java.util.Collection<Service>getAddedServices() + +
+          Gets an unmodifiable collection of already added services.
+ java.util.Collection<Vehicle>getAddedVehicles() + +
+          Gets an unmodifiable collection of already added vehicles.
+ java.util.Map<java.lang.String,Coordinate>getLocationMap() + +
+          Returns the unmodifiable map of locations (mapped by their id).
+ LocationsgetLocations() + +
+          Returns the locations collected by this builder.
+static VehicleRoutingProblem.BuildernewInstance() + +
+          Returns a new instance of this builder.
+ VehicleRoutingProblem.BuildersetActivityCosts(VehicleRoutingActivityCosts activityCosts) + +
+          Sets the activityCostFunction that considers also activities on a vehicle-route.
+ VehicleRoutingProblem.BuildersetFleetComposition(VehicleRoutingProblem.FleetComposition fleetComposition) + +
+          Sets the fleetComposition.
+ VehicleRoutingProblem.BuildersetFleetSize(VehicleRoutingProblem.FleetSize fleetSize) + +
+          Sets the type of fleetSize.
+ VehicleRoutingProblem.BuildersetNeighborhood(Neighborhood neighborhood) + +
+          Sets the neighborhood.
+ VehicleRoutingProblem.BuildersetRoutingCost(VehicleRoutingTransportCosts costs) + +
+          Sets routing costs.
+ + + + + + + +
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+VehicleRoutingProblem.Builder

+
+public VehicleRoutingProblem.Builder()
+
+
+ + + + + + + + +
+Method Detail
+ +

+newInstance

+
+public static VehicleRoutingProblem.Builder newInstance()
+
+
Returns a new instance of this builder. +

+

+ +
Returns:
builder
+
+
+
+ +

+createLocation

+
+public java.lang.String createLocation(double x,
+                                       double y)
+
+
Create a location (i.e. coordinate) and returns the key of the location which is Coordinate.toString(). +

+

+
Parameters:
x -
y - +
Returns:
locationId
See Also:
Coordinate
+
+
+
+ +

+getLocationMap

+
+public java.util.Map<java.lang.String,Coordinate> getLocationMap()
+
+
Returns the unmodifiable map of locations (mapped by their id). +

+

+ +
Returns:
+
+
+
+ +

+getLocations

+
+public Locations getLocations()
+
+
Returns the locations collected by this builder. + +

Locations are cached when adding a shipment, service, depot, vehicle. +

+

+ +
Returns:
locations
+
+
+
+ +

+addProblemConstraint

+
+public void addProblemConstraint(VehicleRoutingProblem.Constraint constraint)
+
+
+
+
+
+
+ +

+setRoutingCost

+
+public VehicleRoutingProblem.Builder setRoutingCost(VehicleRoutingTransportCosts costs)
+
+
Sets routing costs. +

+

+
Parameters:
costs - +
Returns:
builder
See Also:
VehicleRoutingTransportCosts
+
+
+
+ +

+setFleetSize

+
+public VehicleRoutingProblem.Builder setFleetSize(VehicleRoutingProblem.FleetSize fleetSize)
+
+
Sets the type of fleetSize. + +

FleetSize is either FleetSize.INFINITE or FleetSize.FINITE +

+

+
Parameters:
fleetSize - +
Returns:
+
+
+
+ +

+setFleetComposition

+
+public VehicleRoutingProblem.Builder setFleetComposition(VehicleRoutingProblem.FleetComposition fleetComposition)
+
+
Sets the fleetComposition. + +

FleetComposition is either FleetComposition.HETEROGENEOUS or FleetComposition.HOMOGENEOUS +

+

+
Parameters:
fleetComposition - +
Returns:
+
+
+
+ +

+addService

+
+public VehicleRoutingProblem.Builder addService(Service service)
+
+
Adds a service to jobList. + +

If jobList already contains service, a warning message is printed, and the existing job will be overwritten. +

+

+
Parameters:
service - +
Returns:
+
+
+
+ +

+addJob

+
+public VehicleRoutingProblem.Builder addJob(Job job)
+
+
Adds a job which is either a service or a shipment. +

+

+
Parameters:
job - +
Returns:
+
Throws: +
java.lang.IllegalStateException - if job is neither a shipment or a service.
+
+
+
+ +

+addVehicle

+
+public VehicleRoutingProblem.Builder addVehicle(Vehicle vehicle)
+
+
Adds a vehicle. +

+

+
Parameters:
vehicle - +
Returns:
+
+
+
+ +

+addVehicleType

+
+public VehicleRoutingProblem.Builder addVehicleType(VehicleType type)
+
+
Adds a vehicleType. +

+

+
Parameters:
type - +
Returns:
builder
+
+
+
+ +

+setNeighborhood

+
+public VehicleRoutingProblem.Builder setNeighborhood(Neighborhood neighborhood)
+
+
Sets the neighborhood. +

+

+
Parameters:
neighborhood - +
Returns:
+
+
+
+ +

+setActivityCosts

+
+public VehicleRoutingProblem.Builder setActivityCosts(VehicleRoutingActivityCosts activityCosts)
+
+
Sets the activityCostFunction that considers also activities on a vehicle-route. + +

Here you can consider missed time-windows for example. By default, this is set to a DefaultVehicleActivityCostFunction. +

+

+
Parameters:
activityCosts - +
Returns:
See Also:
VehicleRoutingTransportCosts, DefaultVehicleRouteCostFunction
+
+
+
+ +

+build

+
+public VehicleRoutingProblem build()
+
+
Builds the VehicleRoutingProblem. + +

If VehicleRoutingTransportCosts are not set, CrowFlyCosts is used. +

+

+ +
Returns:
VehicleRoutingProblem
+
+
+
+ +

+addLocation

+
+public VehicleRoutingProblem.Builder addLocation(java.lang.String id,
+                                                 Coordinate coord)
+
+
+
+
+
+
+ +

+addAllJobs

+
+public VehicleRoutingProblem.Builder addAllJobs(java.util.Collection<Job> jobs)
+
+
Adds a collection of jobs. +

+

+
Parameters:
jobs - +
Returns:
+
+
+
+ +

+addAllVehicles

+
+public VehicleRoutingProblem.Builder addAllVehicles(java.util.Collection<Vehicle> vehicles)
+
+
Adds a collection of vehicles. +

+

+
Parameters:
vehicles - +
Returns:
+
+
+
+ +

+getAddedVehicles

+
+public java.util.Collection<Vehicle> getAddedVehicles()
+
+
Gets an unmodifiable collection of already added vehicles. +

+

+ +
Returns:
collection of vehicles
+
+
+
+ +

+getAddedServices

+
+public java.util.Collection<Service> getAddedServices()
+
+
Gets an unmodifiable collection of already added services. +

+

+ +
Returns:
collection of services
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/doc/basics/VehicleRoutingProblem.Constraint.html b/doc/basics/VehicleRoutingProblem.Constraint.html new file mode 100644 index 00000000..a3ab3066 --- /dev/null +++ b/doc/basics/VehicleRoutingProblem.Constraint.html @@ -0,0 +1,319 @@ + + + + + + +VehicleRoutingProblem.Constraint + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +basics +
+Enum VehicleRoutingProblem.Constraint

+
+java.lang.Object
+  extended by java.lang.Enum<VehicleRoutingProblem.Constraint>
+      extended by basics.VehicleRoutingProblem.Constraint
+
+
+
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<VehicleRoutingProblem.Constraint>
+
+
+
Enclosing class:
VehicleRoutingProblem
+
+
+
+
public static enum VehicleRoutingProblem.Constraint
extends java.lang.Enum<VehicleRoutingProblem.Constraint>
+ + +

+Overall problem constraints. + +

DELIIVERIES_FIRST corresponds to the vehicle routing problem with back hauls, i.e. before a vehicle is not entirely unloaded, no pickup can be made. +

+ +

+

+
Author:
+
stefan
+
+
+ +

+ + + + + + + + + + +
+Enum Constant Summary
DELIVERIES_FIRST + +
+           
+  + + + + + + + + + + + + + + + +
+Method Summary
+static VehicleRoutingProblem.ConstraintvalueOf(java.lang.String name) + +
+          Returns the enum constant of this type with the specified name.
+static VehicleRoutingProblem.Constraint[]values() + +
+          Returns an array containing the constants of this enum type, in +the order they are declared.
+ + + + + + + +
Methods inherited from class java.lang.Enum
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
+ + + + + + + +
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
+  +

+ + + + + + + + +
+Enum Constant Detail
+ +

+DELIVERIES_FIRST

+
+public static final VehicleRoutingProblem.Constraint DELIVERIES_FIRST
+
+
+
+
+ + + + + + + + +
+Method Detail
+ +

+values

+
+public static VehicleRoutingProblem.Constraint[] values()
+
+
Returns an array containing the constants of this enum type, in +the order they are declared. This method may be used to iterate +over the constants as follows: +
+for (VehicleRoutingProblem.Constraint c : VehicleRoutingProblem.Constraint.values())
+    System.out.println(c);
+
+

+

+ +
Returns:
an array containing the constants of this enum type, in +the order they are declared
+
+
+
+ +

+valueOf

+
+public static VehicleRoutingProblem.Constraint valueOf(java.lang.String name)
+
+
Returns the enum constant of this type with the specified name. +The string must match exactly an identifier used to declare an +enum constant in this type. (Extraneous whitespace characters are +not permitted.) +

+

+
Parameters:
name - the name of the enum constant to be returned. +
Returns:
the enum constant with the specified name +
Throws: +
java.lang.IllegalArgumentException - if this enum type has no constant +with the specified name +
java.lang.NullPointerException - if the argument is null
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/doc/basics/VehicleRoutingProblem.FleetComposition.html b/doc/basics/VehicleRoutingProblem.FleetComposition.html new file mode 100644 index 00000000..bf9bb223 --- /dev/null +++ b/doc/basics/VehicleRoutingProblem.FleetComposition.html @@ -0,0 +1,333 @@ + + + + + + +VehicleRoutingProblem.FleetComposition + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +basics +
+Enum VehicleRoutingProblem.FleetComposition

+
+java.lang.Object
+  extended by java.lang.Enum<VehicleRoutingProblem.FleetComposition>
+      extended by basics.VehicleRoutingProblem.FleetComposition
+
+
+
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<VehicleRoutingProblem.FleetComposition>
+
+
+
Enclosing class:
VehicleRoutingProblem
+
+
+
+
public static enum VehicleRoutingProblem.FleetComposition
extends java.lang.Enum<VehicleRoutingProblem.FleetComposition>
+ + +

+Enum that characterizes fleet-compostion. +

+ +

+

+
Author:
+
sschroeder
+
+
+ +

+ + + + + + + + + + + + + +
+Enum Constant Summary
HETEROGENEOUS + +
+           
HOMOGENEOUS + +
+           
+  + + + + + + + + + + + + + + + +
+Method Summary
+static VehicleRoutingProblem.FleetCompositionvalueOf(java.lang.String name) + +
+          Returns the enum constant of this type with the specified name.
+static VehicleRoutingProblem.FleetComposition[]values() + +
+          Returns an array containing the constants of this enum type, in +the order they are declared.
+ + + + + + + +
Methods inherited from class java.lang.Enum
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
+ + + + + + + +
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
+  +

+ + + + + + + + +
+Enum Constant Detail
+ +

+HETEROGENEOUS

+
+public static final VehicleRoutingProblem.FleetComposition HETEROGENEOUS
+
+
+
+
+
+ +

+HOMOGENEOUS

+
+public static final VehicleRoutingProblem.FleetComposition HOMOGENEOUS
+
+
+
+
+ + + + + + + + +
+Method Detail
+ +

+values

+
+public static VehicleRoutingProblem.FleetComposition[] values()
+
+
Returns an array containing the constants of this enum type, in +the order they are declared. This method may be used to iterate +over the constants as follows: +
+for (VehicleRoutingProblem.FleetComposition c : VehicleRoutingProblem.FleetComposition.values())
+    System.out.println(c);
+
+

+

+ +
Returns:
an array containing the constants of this enum type, in +the order they are declared
+
+
+
+ +

+valueOf

+
+public static VehicleRoutingProblem.FleetComposition valueOf(java.lang.String name)
+
+
Returns the enum constant of this type with the specified name. +The string must match exactly an identifier used to declare an +enum constant in this type. (Extraneous whitespace characters are +not permitted.) +

+

+
Parameters:
name - the name of the enum constant to be returned. +
Returns:
the enum constant with the specified name +
Throws: +
java.lang.IllegalArgumentException - if this enum type has no constant +with the specified name +
java.lang.NullPointerException - if the argument is null
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/doc/basics/VehicleRoutingProblem.FleetSize.html b/doc/basics/VehicleRoutingProblem.FleetSize.html new file mode 100644 index 00000000..dfcfb9cd --- /dev/null +++ b/doc/basics/VehicleRoutingProblem.FleetSize.html @@ -0,0 +1,333 @@ + + + + + + +VehicleRoutingProblem.FleetSize + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +basics +
+Enum VehicleRoutingProblem.FleetSize

+
+java.lang.Object
+  extended by java.lang.Enum<VehicleRoutingProblem.FleetSize>
+      extended by basics.VehicleRoutingProblem.FleetSize
+
+
+
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<VehicleRoutingProblem.FleetSize>
+
+
+
Enclosing class:
VehicleRoutingProblem
+
+
+
+
public static enum VehicleRoutingProblem.FleetSize
extends java.lang.Enum<VehicleRoutingProblem.FleetSize>
+ + +

+Enum that characterizes the fleet-size. +

+ +

+

+
Author:
+
sschroeder
+
+
+ +

+ + + + + + + + + + + + + +
+Enum Constant Summary
FINITE + +
+           
INFINITE + +
+           
+  + + + + + + + + + + + + + + + +
+Method Summary
+static VehicleRoutingProblem.FleetSizevalueOf(java.lang.String name) + +
+          Returns the enum constant of this type with the specified name.
+static VehicleRoutingProblem.FleetSize[]values() + +
+          Returns an array containing the constants of this enum type, in +the order they are declared.
+ + + + + + + +
Methods inherited from class java.lang.Enum
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
+ + + + + + + +
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
+  +

+ + + + + + + + +
+Enum Constant Detail
+ +

+FINITE

+
+public static final VehicleRoutingProblem.FleetSize FINITE
+
+
+
+
+
+ +

+INFINITE

+
+public static final VehicleRoutingProblem.FleetSize INFINITE
+
+
+
+
+ + + + + + + + +
+Method Detail
+ +

+values

+
+public static VehicleRoutingProblem.FleetSize[] values()
+
+
Returns an array containing the constants of this enum type, in +the order they are declared. This method may be used to iterate +over the constants as follows: +
+for (VehicleRoutingProblem.FleetSize c : VehicleRoutingProblem.FleetSize.values())
+    System.out.println(c);
+
+

+

+ +
Returns:
an array containing the constants of this enum type, in +the order they are declared
+
+
+
+ +

+valueOf

+
+public static VehicleRoutingProblem.FleetSize valueOf(java.lang.String name)
+
+
Returns the enum constant of this type with the specified name. +The string must match exactly an identifier used to declare an +enum constant in this type. (Extraneous whitespace characters are +not permitted.) +

+

+
Parameters:
name - the name of the enum constant to be returned. +
Returns:
the enum constant with the specified name +
Throws: +
java.lang.IllegalArgumentException - if this enum type has no constant +with the specified name +
java.lang.NullPointerException - if the argument is null
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/doc/basics/VehicleRoutingProblem.html b/doc/basics/VehicleRoutingProblem.html new file mode 100644 index 00000000..46a3eed1 --- /dev/null +++ b/doc/basics/VehicleRoutingProblem.html @@ -0,0 +1,511 @@ + + + + + + +VehicleRoutingProblem + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +basics +
+Class VehicleRoutingProblem

+
+java.lang.Object
+  extended by basics.VehicleRoutingProblem
+
+
+
+
public class VehicleRoutingProblem
extends java.lang.Object
+ + +

+Contains and describes the vehicle routing problem. + +

A routing problem is defined as jobs, vehicles and costs. + +

To construct the problem, use VehicleRoutingProblem.Builder (VehicleRoutingProblem.Builder.newInstance()). + +

By default, fleetSize is INFINITE and fleetComposition is HOMOGENEOUS, transport-costs are calculated as euclidean-distance (CrowFlyCosts), + and activity-costs are set to DefaultVehicleRoutingActivityCosts which represent hard time-windows (missed time-windows are penalyzed with Double.MAX_VALUE). +

+ +

+

+
Author:
+
stefan schroeder
+
+
+ +

+ + + + + + + + + + + + + + + + + + + + + + + +
+Nested Class Summary
+static classVehicleRoutingProblem.Builder + +
+          Builder to build the routing-problem.
+static classVehicleRoutingProblem.Constraint + +
+          Overall problem constraints.
+static classVehicleRoutingProblem.FleetComposition + +
+          Enum that characterizes fleet-compostion.
+static classVehicleRoutingProblem.FleetSize + +
+          Enum that characterizes the fleet-size.
+ + + + + + + + + + +
+Field Summary
+static org.apache.log4j.Loggerlog + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ VehicleRoutingActivityCostsgetActivityCosts() + +
+          Returns activityCosts.
+ VehicleRoutingProblem.FleetCompositiongetFleetComposition() + +
+          Returns fleet-composition.
+ VehicleRoutingProblem.FleetSizegetFleetSize() + +
+          Returns type of fleetSize, either INFINITE or FINITE.
+ java.util.Map<java.lang.String,Job>getJobs() + +
+          Returns the unmodifiable job map.
+ NeighborhoodgetNeighborhood() + +
+           
+ java.util.Collection<VehicleRoutingProblem.Constraint>getProblemConstraints() + +
+          Returns unmodifiable collection of problem-constraints.
+ VehicleRoutingTransportCostsgetTransportCosts() + +
+          Returns routing costs.
+ java.util.Collection<VehicleType>getTypes() + +
+          Returns the entire, unmodifiable collection of types.
+ java.util.Collection<Vehicle>getVehicles() + +
+          Returns the entire, unmodifiable collection of vehicles.
+ java.lang.StringtoString() + +
+           
+ + + + + + + +
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
+  +

+ + + + + + + + +
+Field Detail
+ +

+log

+
+public static org.apache.log4j.Logger log
+
+
+
+
+ + + + + + + + +
+Method Detail
+ +

+toString

+
+public java.lang.String toString()
+
+
+
Overrides:
toString in class java.lang.Object
+
+
+
+
+
+
+ +

+getNeighborhood

+
+public Neighborhood getNeighborhood()
+
+
+ +
Returns:
the neighborhood
+
+
+
+ +

+getFleetComposition

+
+public VehicleRoutingProblem.FleetComposition getFleetComposition()
+
+
Returns fleet-composition. +

+

+ +
Returns:
fleetComposition which is either FleetComposition.HETEROGENEOUS or FleetComposition.HOMOGENEOUS
+
+
+
+ +

+getFleetSize

+
+public VehicleRoutingProblem.FleetSize getFleetSize()
+
+
Returns type of fleetSize, either INFINITE or FINITE. + +

By default, it is INFINITE. +

+

+ +
Returns:
either FleetSize.INFINITE or FleetSize.FINITE
+
+
+
+ +

+getJobs

+
+public java.util.Map<java.lang.String,Job> getJobs()
+
+
Returns the unmodifiable job map. +

+

+ +
Returns:
unmodifiable jobMap
+
+
+
+ +

+getProblemConstraints

+
+public java.util.Collection<VehicleRoutingProblem.Constraint> getProblemConstraints()
+
+
Returns unmodifiable collection of problem-constraints. +

+

+ +
Returns:
+
+
+
+ +

+getTypes

+
+public java.util.Collection<VehicleType> getTypes()
+
+
Returns the entire, unmodifiable collection of types. +

+

+ +
Returns:
unmodifiable collection of types
See Also:
VehicleTypeImpl
+
+
+
+ +

+getVehicles

+
+public java.util.Collection<Vehicle> getVehicles()
+
+
Returns the entire, unmodifiable collection of vehicles. +

+

+ +
Returns:
unmodifiable collection of vehicles
See Also:
Vehicle
+
+
+
+ +

+getTransportCosts

+
+public VehicleRoutingTransportCosts getTransportCosts()
+
+
Returns routing costs. +

+

+ +
Returns:
routingCosts
See Also:
VehicleRoutingTransportCosts
+
+
+
+ +

+getActivityCosts

+
+public VehicleRoutingActivityCosts getActivityCosts()
+
+
Returns activityCosts. +

+

+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/doc/basics/VehicleRoutingProblemSolution.html b/doc/basics/VehicleRoutingProblemSolution.html new file mode 100644 index 00000000..649666d7 --- /dev/null +++ b/doc/basics/VehicleRoutingProblemSolution.html @@ -0,0 +1,362 @@ + + + + + + +VehicleRoutingProblemSolution + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +basics +
+Class VehicleRoutingProblemSolution

+
+java.lang.Object
+  extended by basics.VehicleRoutingProblemSolution
+
+
+
+
public class VehicleRoutingProblemSolution
extends java.lang.Object
+ + +

+Contains the solution of a vehicle routing problem and its corresponding costs. +

+ +

+

+
Author:
+
stefan schröder
+
+
+ +

+ + + + + + + + + + + +
+Field Summary
+static doubleNO_COST_YET + +
+           
+  + + + + + + + + + + +
+Constructor Summary
VehicleRoutingProblemSolution(java.util.Collection<VehicleRoute> routes, + double cost) + +
+          Constructs a solution with a number of VehicleRoutes and their corresponding aggregate cost value.
+  + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+static VehicleRoutingProblemSolutioncopyOf(VehicleRoutingProblemSolution solution2copy) + +
+          Makes a deep copy of the solution to be copied.
+ doublegetCost() + +
+           
+ java.util.Collection<VehicleRoute>getRoutes() + +
+           
+ voidsetCost(double cost) + +
+           
+ + + + + + + +
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Field Detail
+ +

+NO_COST_YET

+
+public static double NO_COST_YET
+
+
+
+
+ + + + + + + + +
+Constructor Detail
+ +

+VehicleRoutingProblemSolution

+
+public VehicleRoutingProblemSolution(java.util.Collection<VehicleRoute> routes,
+                                     double cost)
+
+
Constructs a solution with a number of VehicleRoutes and their corresponding aggregate cost value. +

+

+
Parameters:
routes -
cost -
+
+ + + + + + + + +
+Method Detail
+ +

+copyOf

+
+public static VehicleRoutingProblemSolution copyOf(VehicleRoutingProblemSolution solution2copy)
+
+
Makes a deep copy of the solution to be copied. +

+

+
Parameters:
solution2copy - +
Returns:
+
+
+
+ +

+getRoutes

+
+public java.util.Collection<VehicleRoute> getRoutes()
+
+
+
+
+
+
+ +

+getCost

+
+public double getCost()
+
+
+
+
+
+
+ +

+setCost

+
+public void setCost(double cost)
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/doc/basics/algo/AlgorithmEndsListener.html b/doc/basics/algo/AlgorithmEndsListener.html new file mode 100644 index 00000000..238d68a8 --- /dev/null +++ b/doc/basics/algo/AlgorithmEndsListener.html @@ -0,0 +1,214 @@ + + + + + + +AlgorithmEndsListener + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +basics.algo +
+Interface AlgorithmEndsListener

+
+
All Superinterfaces:
VehicleRoutingAlgorithmListener
+
+
+
+
public interface AlgorithmEndsListener
extends VehicleRoutingAlgorithmListener
+ + +

+


+ +

+ + + + + + + + + + + + +
+Method Summary
+ voidinformAlgorithmEnds(VehicleRoutingProblem problem, + java.util.Collection<VehicleRoutingProblemSolution> solutions) + +
+           
+  +

+ + + + + + + + +
+Method Detail
+ +

+informAlgorithmEnds

+
+void informAlgorithmEnds(VehicleRoutingProblem problem,
+                         java.util.Collection<VehicleRoutingProblemSolution> solutions)
+
+
+
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/doc/basics/algo/AlgorithmStartsListener.html b/doc/basics/algo/AlgorithmStartsListener.html new file mode 100644 index 00000000..e8a7e789 --- /dev/null +++ b/doc/basics/algo/AlgorithmStartsListener.html @@ -0,0 +1,219 @@ + + + + + + +AlgorithmStartsListener + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +basics.algo +
+Interface AlgorithmStartsListener

+
+
All Superinterfaces:
VehicleRoutingAlgorithmListener
+
+
+
All Known Implementing Classes:
NeighborhoodThresholdInitialiser, SchrimpfAcceptance, TimeBreaker, VariationCoefficientBreaker, VrpVerifier
+
+
+
+
public interface AlgorithmStartsListener
extends VehicleRoutingAlgorithmListener
+ + +

+


+ +

+ + + + + + + + + + + + +
+Method Summary
+ voidinformAlgorithmStarts(VehicleRoutingProblem problem, + VehicleRoutingAlgorithm algorithm, + java.util.Collection<VehicleRoutingProblemSolution> solutions) + +
+           
+  +

+ + + + + + + + +
+Method Detail
+ +

+informAlgorithmStarts

+
+void informAlgorithmStarts(VehicleRoutingProblem problem,
+                           VehicleRoutingAlgorithm algorithm,
+                           java.util.Collection<VehicleRoutingProblemSolution> solutions)
+
+
+
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/doc/basics/algo/InsertionEndsListener.html b/doc/basics/algo/InsertionEndsListener.html new file mode 100644 index 00000000..58f6c81d --- /dev/null +++ b/doc/basics/algo/InsertionEndsListener.html @@ -0,0 +1,215 @@ + + + + + + +InsertionEndsListener + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +basics.algo +
+Interface InsertionEndsListener

+
+
All Superinterfaces:
InsertionListener, SearchStrategyModuleListener, VehicleRoutingAlgorithmListener
+
+
+
All Known Implementing Classes:
RemoveEmptyVehicles, StateManagerImpl, UpdateCostsAtRouteLevel
+
+
+
+
public interface InsertionEndsListener
extends InsertionListener
+ + +

+


+ +

+ + + + + + + + + + + + +
+Method Summary
+ voidinformInsertionEnds(java.util.Collection<VehicleRoute> vehicleRoutes) + +
+           
+  +

+ + + + + + + + +
+Method Detail
+ +

+informInsertionEnds

+
+void informInsertionEnds(java.util.Collection<VehicleRoute> vehicleRoutes)
+
+
+
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/doc/basics/algo/InsertionListener.html b/doc/basics/algo/InsertionListener.html new file mode 100644 index 00000000..3abc773d --- /dev/null +++ b/doc/basics/algo/InsertionListener.html @@ -0,0 +1,177 @@ + + + + + + +InsertionListener + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +basics.algo +
+Interface InsertionListener

+
+
All Superinterfaces:
SearchStrategyModuleListener, VehicleRoutingAlgorithmListener
+
+
+
All Known Subinterfaces:
InsertionEndsListener, InsertionStartsListener, JobInsertedListener
+
+
+
All Known Implementing Classes:
InitializeLoadsAtStartAndEndOfRouteWhenInsertionStarts, RemoveEmptyVehicles, StateManagerImpl, StateUpdates.UpdateStates, UpdateCostsAtRouteLevel, UpdateLoadAtRouteLevel, UpdateLoadsAtStartAndEndOfRouteWhenJobHasBeenInserted
+
+
+
+
public interface InsertionListener
extends SearchStrategyModuleListener
+ + +

+


+ +

+ +

+ +


+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/doc/basics/algo/InsertionListeners.html b/doc/basics/algo/InsertionListeners.html new file mode 100644 index 00000000..f70d2b20 --- /dev/null +++ b/doc/basics/algo/InsertionListeners.html @@ -0,0 +1,336 @@ + + + + + + +InsertionListeners + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +basics.algo +
+Class InsertionListeners

+
+java.lang.Object
+  extended by basics.algo.InsertionListeners
+
+
+
+
public class InsertionListeners
extends java.lang.Object
+ + +

+


+ +

+ + + + + + + + + + + +
+Constructor Summary
InsertionListeners() + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ voidaddListener(InsertionListener insertionListener) + +
+           
+ voidinsertionEnds(java.util.Collection<VehicleRoute> vehicleRoutes) + +
+           
+ voidinsertionStarts(java.util.Collection<VehicleRoute> vehicleRoutes, + java.util.Collection<Job> unassignedJobs) + +
+           
+ voidjobInserted(Job job2insert, + VehicleRoute inRoute, + double additionalCosts, + double additionalTime) + +
+           
+ voidremoveListener(InsertionListener insertionListener) + +
+           
+ + + + + + + +
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+InsertionListeners

+
+public InsertionListeners()
+
+
+ + + + + + + + +
+Method Detail
+ +

+addListener

+
+public void addListener(InsertionListener insertionListener)
+
+
+
+
+
+
+ +

+removeListener

+
+public void removeListener(InsertionListener insertionListener)
+
+
+
+
+
+
+ +

+insertionStarts

+
+public void insertionStarts(java.util.Collection<VehicleRoute> vehicleRoutes,
+                            java.util.Collection<Job> unassignedJobs)
+
+
+
+
+
+
+ +

+jobInserted

+
+public void jobInserted(Job job2insert,
+                        VehicleRoute inRoute,
+                        double additionalCosts,
+                        double additionalTime)
+
+
+
+
+
+
+ +

+insertionEnds

+
+public void insertionEnds(java.util.Collection<VehicleRoute> vehicleRoutes)
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/doc/basics/algo/InsertionStartsListener.html b/doc/basics/algo/InsertionStartsListener.html new file mode 100644 index 00000000..ab8416ee --- /dev/null +++ b/doc/basics/algo/InsertionStartsListener.html @@ -0,0 +1,217 @@ + + + + + + +InsertionStartsListener + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +basics.algo +
+Interface InsertionStartsListener

+
+
All Superinterfaces:
InsertionListener, SearchStrategyModuleListener, VehicleRoutingAlgorithmListener
+
+
+
All Known Implementing Classes:
InitializeLoadsAtStartAndEndOfRouteWhenInsertionStarts, StateManagerImpl, UpdateCostsAtRouteLevel, UpdateLoadAtRouteLevel
+
+
+
+
public interface InsertionStartsListener
extends InsertionListener
+ + +

+


+ +

+ + + + + + + + + + + + +
+Method Summary
+ voidinformInsertionStarts(java.util.Collection<VehicleRoute> vehicleRoutes, + java.util.Collection<Job> unassignedJobs) + +
+           
+  +

+ + + + + + + + +
+Method Detail
+ +

+informInsertionStarts

+
+void informInsertionStarts(java.util.Collection<VehicleRoute> vehicleRoutes,
+                           java.util.Collection<Job> unassignedJobs)
+
+
+
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/doc/basics/algo/IterationEndsListener.html b/doc/basics/algo/IterationEndsListener.html new file mode 100644 index 00000000..95cfbb7e --- /dev/null +++ b/doc/basics/algo/IterationEndsListener.html @@ -0,0 +1,219 @@ + + + + + + +IterationEndsListener + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +basics.algo +
+Interface IterationEndsListener

+
+
All Superinterfaces:
VehicleRoutingAlgorithmListener
+
+
+
All Known Implementing Classes:
VariationCoefficientBreaker
+
+
+
+
public interface IterationEndsListener
extends VehicleRoutingAlgorithmListener
+ + +

+


+ +

+ + + + + + + + + + + + +
+Method Summary
+ voidinformIterationEnds(int i, + VehicleRoutingProblem problem, + java.util.Collection<VehicleRoutingProblemSolution> solutions) + +
+           
+  +

+ + + + + + + + +
+Method Detail
+ +

+informIterationEnds

+
+void informIterationEnds(int i,
+                         VehicleRoutingProblem problem,
+                         java.util.Collection<VehicleRoutingProblemSolution> solutions)
+
+
+
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/doc/basics/algo/IterationStartsListener.html b/doc/basics/algo/IterationStartsListener.html new file mode 100644 index 00000000..643cf3b1 --- /dev/null +++ b/doc/basics/algo/IterationStartsListener.html @@ -0,0 +1,219 @@ + + + + + + +IterationStartsListener + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +basics.algo +
+Interface IterationStartsListener

+
+
All Superinterfaces:
VehicleRoutingAlgorithmListener
+
+
+
All Known Implementing Classes:
SchrimpfAcceptance, StateManagerImpl, VariationCoefficientBreaker
+
+
+
+
public interface IterationStartsListener
extends VehicleRoutingAlgorithmListener
+ + +

+


+ +

+ + + + + + + + + + + + +
+Method Summary
+ voidinformIterationStarts(int i, + VehicleRoutingProblem problem, + java.util.Collection<VehicleRoutingProblemSolution> solutions) + +
+           
+  +

+ + + + + + + + +
+Method Detail
+ +

+informIterationStarts

+
+void informIterationStarts(int i,
+                           VehicleRoutingProblem problem,
+                           java.util.Collection<VehicleRoutingProblemSolution> solutions)
+
+
+
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/doc/basics/algo/IterationWithoutImprovementBreaker.html b/doc/basics/algo/IterationWithoutImprovementBreaker.html new file mode 100644 index 00000000..bdb171f7 --- /dev/null +++ b/doc/basics/algo/IterationWithoutImprovementBreaker.html @@ -0,0 +1,280 @@ + + + + + + +IterationWithoutImprovementBreaker + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +basics.algo +
+Class IterationWithoutImprovementBreaker

+
+java.lang.Object
+  extended by basics.algo.IterationWithoutImprovementBreaker
+
+
+
All Implemented Interfaces:
PrematureAlgorithmBreaker
+
+
+
+
public class IterationWithoutImprovementBreaker
extends java.lang.Object
implements PrematureAlgorithmBreaker
+ + +

+


+ +

+ + + + + + + + + + + +
+Constructor Summary
IterationWithoutImprovementBreaker(int nuOfIterationsWithoutImprovement) + +
+           
+  + + + + + + + + + + + + + + + +
+Method Summary
+ booleanisPrematureBreak(SearchStrategy.DiscoveredSolution discoveredSolution) + +
+           
+ java.lang.StringtoString() + +
+           
+ + + + + + + +
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+IterationWithoutImprovementBreaker

+
+public IterationWithoutImprovementBreaker(int nuOfIterationsWithoutImprovement)
+
+
+ + + + + + + + +
+Method Detail
+ +

+toString

+
+public java.lang.String toString()
+
+
+
Overrides:
toString in class java.lang.Object
+
+
+
+
+
+
+ +

+isPrematureBreak

+
+public boolean isPrematureBreak(SearchStrategy.DiscoveredSolution discoveredSolution)
+
+
+
Specified by:
isPrematureBreak in interface PrematureAlgorithmBreaker
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/doc/basics/algo/JobInsertedListener.html b/doc/basics/algo/JobInsertedListener.html new file mode 100644 index 00000000..f31d796f --- /dev/null +++ b/doc/basics/algo/JobInsertedListener.html @@ -0,0 +1,221 @@ + + + + + + +JobInsertedListener + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +basics.algo +
+Interface JobInsertedListener

+
+
All Superinterfaces:
InsertionListener, SearchStrategyModuleListener, VehicleRoutingAlgorithmListener
+
+
+
All Known Implementing Classes:
StateManagerImpl, StateUpdates.UpdateStates, UpdateCostsAtRouteLevel, UpdateLoadAtRouteLevel, UpdateLoadsAtStartAndEndOfRouteWhenJobHasBeenInserted
+
+
+
+
public interface JobInsertedListener
extends InsertionListener
+ + +

+


+ +

+ + + + + + + + + + + + +
+Method Summary
+ voidinformJobInserted(Job job2insert, + VehicleRoute inRoute, + double additionalCosts, + double additionalTime) + +
+           
+  +

+ + + + + + + + +
+Method Detail
+ +

+informJobInserted

+
+void informJobInserted(Job job2insert,
+                       VehicleRoute inRoute,
+                       double additionalCosts,
+                       double additionalTime)
+
+
+
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/doc/basics/algo/PrematureAlgorithmBreaker.html b/doc/basics/algo/PrematureAlgorithmBreaker.html new file mode 100644 index 00000000..cccd8468 --- /dev/null +++ b/doc/basics/algo/PrematureAlgorithmBreaker.html @@ -0,0 +1,209 @@ + + + + + + +PrematureAlgorithmBreaker + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +basics.algo +
+Interface PrematureAlgorithmBreaker

+
+
All Known Implementing Classes:
IterationWithoutImprovementBreaker, TimeBreaker, VariationCoefficientBreaker
+
+
+
+
public interface PrematureAlgorithmBreaker
+ + +

+


+ +

+ + + + + + + + + + + + +
+Method Summary
+ booleanisPrematureBreak(SearchStrategy.DiscoveredSolution discoveredSolution) + +
+           
+  +

+ + + + + + + + +
+Method Detail
+ +

+isPrematureBreak

+
+boolean isPrematureBreak(SearchStrategy.DiscoveredSolution discoveredSolution)
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/doc/basics/algo/RuinListener.html b/doc/basics/algo/RuinListener.html new file mode 100644 index 00000000..5de2fdb4 --- /dev/null +++ b/doc/basics/algo/RuinListener.html @@ -0,0 +1,277 @@ + + + + + + +RuinListener + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +basics.algo +
+Interface RuinListener

+
+
All Superinterfaces:
SearchStrategyModuleListener, VehicleRoutingAlgorithmListener
+
+
+
All Known Implementing Classes:
StateManagerImpl, StateUpdates.UpdateStates
+
+
+
+
public interface RuinListener
extends SearchStrategyModuleListener
+ + +

+Listener that listens to the ruin-process. It informs whoever is interested about start, end and about a removal of a job. +

+ +

+

+
Author:
+
schroeder
+
+
+ +

+ + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ voidremoved(Job job, + VehicleRoute fromRoute) + +
+          informs if a Job has been removed from a VehicleRoute.
+ voidruinEnds(java.util.Collection<VehicleRoute> routes, + java.util.Collection<Job> unassignedJobs) + +
+          informs about ruin-end.
+ voidruinStarts(java.util.Collection<VehicleRoute> routes) + +
+          informs about ruin-start.
+  +

+ + + + + + + + +
+Method Detail
+ +

+ruinStarts

+
+void ruinStarts(java.util.Collection<VehicleRoute> routes)
+
+
informs about ruin-start. +

+

+
+
+
+
Parameters:
routes -
+
+
+
+ +

+ruinEnds

+
+void ruinEnds(java.util.Collection<VehicleRoute> routes,
+              java.util.Collection<Job> unassignedJobs)
+
+
informs about ruin-end. +

+

+
+
+
+
Parameters:
routes -
unassignedJobs -
+
+
+
+ +

+removed

+
+void removed(Job job,
+             VehicleRoute fromRoute)
+
+
informs if a Job has been removed from a VehicleRoute. +

+

+
+
+
+
Parameters:
job -
fromRoute -
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/doc/basics/algo/RuinListeners.html b/doc/basics/algo/RuinListeners.html new file mode 100644 index 00000000..91fdf3ad --- /dev/null +++ b/doc/basics/algo/RuinListeners.html @@ -0,0 +1,351 @@ + + + + + + +RuinListeners + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +basics.algo +
+Class RuinListeners

+
+java.lang.Object
+  extended by basics.algo.RuinListeners
+
+
+
+
public class RuinListeners
extends java.lang.Object
+ + +

+


+ +

+ + + + + + + + + + + +
+Constructor Summary
RuinListeners() + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ voidaddListener(RuinListener ruinListener) + +
+           
+ java.util.Collection<RuinListener>getListeners() + +
+           
+ voidremoved(Job job, + VehicleRoute fromRoute) + +
+           
+ voidremoveListener(RuinListener ruinListener) + +
+           
+ voidruinEnds(java.util.Collection<VehicleRoute> routes, + java.util.Collection<Job> unassignedJobs) + +
+           
+ voidruinStarts(java.util.Collection<VehicleRoute> routes) + +
+           
+ + + + + + + +
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+RuinListeners

+
+public RuinListeners()
+
+
+ + + + + + + + +
+Method Detail
+ +

+ruinStarts

+
+public void ruinStarts(java.util.Collection<VehicleRoute> routes)
+
+
+
+
+
+
+ +

+ruinEnds

+
+public void ruinEnds(java.util.Collection<VehicleRoute> routes,
+                     java.util.Collection<Job> unassignedJobs)
+
+
+
+
+
+
+ +

+removed

+
+public void removed(Job job,
+                    VehicleRoute fromRoute)
+
+
+
+
+
+
+ +

+addListener

+
+public void addListener(RuinListener ruinListener)
+
+
+
+
+
+
+ +

+removeListener

+
+public void removeListener(RuinListener ruinListener)
+
+
+
+
+
+
+ +

+getListeners

+
+public java.util.Collection<RuinListener> getListeners()
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/doc/basics/algo/SearchStrategy.DiscoveredSolution.html b/doc/basics/algo/SearchStrategy.DiscoveredSolution.html new file mode 100644 index 00000000..fe132d64 --- /dev/null +++ b/doc/basics/algo/SearchStrategy.DiscoveredSolution.html @@ -0,0 +1,297 @@ + + + + + + +SearchStrategy.DiscoveredSolution + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +basics.algo +
+Class SearchStrategy.DiscoveredSolution

+
+java.lang.Object
+  extended by basics.algo.SearchStrategy.DiscoveredSolution
+
+
+
Enclosing class:
SearchStrategy
+
+
+
+
public static class SearchStrategy.DiscoveredSolution
extends java.lang.Object
+ + +

+


+ +

+ + + + + + + + + + + +
+Constructor Summary
SearchStrategy.DiscoveredSolution(VehicleRoutingProblemSolution solution, + boolean accepted, + java.lang.String strategyName) + +
+           
+  + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ VehicleRoutingProblemSolutiongetSolution() + +
+           
+ java.lang.StringgetStrategyName() + +
+           
+ booleanisAccepted() + +
+           
+ + + + + + + +
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+SearchStrategy.DiscoveredSolution

+
+public SearchStrategy.DiscoveredSolution(VehicleRoutingProblemSolution solution,
+                                         boolean accepted,
+                                         java.lang.String strategyName)
+
+
+ + + + + + + + +
+Method Detail
+ +

+getSolution

+
+public VehicleRoutingProblemSolution getSolution()
+
+
+
+
+
+
+ +

+isAccepted

+
+public boolean isAccepted()
+
+
+
+
+
+
+ +

+getStrategyName

+
+public java.lang.String getStrategyName()
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/doc/basics/algo/SearchStrategy.html b/doc/basics/algo/SearchStrategy.html new file mode 100644 index 00000000..b0396320 --- /dev/null +++ b/doc/basics/algo/SearchStrategy.html @@ -0,0 +1,436 @@ + + + + + + +SearchStrategy + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +basics.algo +
+Class SearchStrategy

+
+java.lang.Object
+  extended by basics.algo.SearchStrategy
+
+
+
+
public class SearchStrategy
extends java.lang.Object
+ + +

+


+ +

+ + + + + + + + + + + +
+Nested Class Summary
+static classSearchStrategy.DiscoveredSolution + +
+           
+  + + + + + + + + + + +
+Constructor Summary
SearchStrategy(SolutionSelector solutionSelector, + SolutionAcceptor solutionAcceptor) + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ voidaddModule(SearchStrategyModule module) + +
+           
+ voidaddModuleListener(SearchStrategyModuleListener moduleListener) + +
+           
+ java.lang.StringgetName() + +
+           
+ java.util.Collection<SearchStrategyModule>getSearchStrategyModules() + +
+           
+ SolutionAcceptorgetSolutionAcceptor() + +
+           
+ SolutionSelectorgetSolutionSelector() + +
+           
+ SearchStrategy.DiscoveredSolutionrun(VehicleRoutingProblem vrp, + java.util.Collection<VehicleRoutingProblemSolution> solutions) + +
+          Runs the search-strategy and its according modules, and returns DiscoveredSolution.
+ voidsetName(java.lang.String name) + +
+           
+ java.lang.StringtoString() + +
+           
+ + + + + + + +
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+SearchStrategy

+
+public SearchStrategy(SolutionSelector solutionSelector,
+                      SolutionAcceptor solutionAcceptor)
+
+
+ + + + + + + + +
+Method Detail
+ +

+getName

+
+public java.lang.String getName()
+
+
+
+
+
+
+ +

+setName

+
+public void setName(java.lang.String name)
+
+
+
+
+
+
+ +

+getSearchStrategyModules

+
+public java.util.Collection<SearchStrategyModule> getSearchStrategyModules()
+
+
+
+
+
+
+ +

+getSolutionSelector

+
+public SolutionSelector getSolutionSelector()
+
+
+
+
+
+
+ +

+getSolutionAcceptor

+
+public SolutionAcceptor getSolutionAcceptor()
+
+
+
+
+
+
+ +

+toString

+
+public java.lang.String toString()
+
+
+
Overrides:
toString in class java.lang.Object
+
+
+
+
+
+
+ +

+run

+
+public SearchStrategy.DiscoveredSolution run(VehicleRoutingProblem vrp,
+                                             java.util.Collection<VehicleRoutingProblemSolution> solutions)
+
+
Runs the search-strategy and its according modules, and returns DiscoveredSolution. + +

This involves three basic steps: 1) Selecting a solution from solutions (input parameter) according to SolutionSelector, 2) running the modules + (SearchStrategyModule) on the selectedSolution and 3) accepting the new solution according to SolutionAcceptor. +

Note that after 1) the selected solution is copied, thus the original solution is not modified. +

Note also that 3) modifies the input parameter solutions by adding, removing, replacing the existing solutions or whatever is defined in the solutionAcceptor. +

+

+
Parameters:
vrp -
solutions - which will be modified +
Returns:
discoveredSolutin
See Also:
SolutionSelector, SearchStrategyModule, SolutionAcceptor
+
+
+
+ +

+addModule

+
+public void addModule(SearchStrategyModule module)
+
+
+
+
+
+
+ +

+addModuleListener

+
+public void addModuleListener(SearchStrategyModuleListener moduleListener)
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/doc/basics/algo/SearchStrategyListener.html b/doc/basics/algo/SearchStrategyListener.html new file mode 100644 index 00000000..c54ff906 --- /dev/null +++ b/doc/basics/algo/SearchStrategyListener.html @@ -0,0 +1,171 @@ + + + + + + +SearchStrategyListener + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +basics.algo +
+Interface SearchStrategyListener

+
+
All Superinterfaces:
VehicleRoutingAlgorithmListener
+
+
+
+
public interface SearchStrategyListener
extends VehicleRoutingAlgorithmListener
+ + +

+


+ +

+ +

+ +


+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/doc/basics/algo/SearchStrategyManager.html b/doc/basics/algo/SearchStrategyManager.html new file mode 100644 index 00000000..0f4eab6a --- /dev/null +++ b/doc/basics/algo/SearchStrategyManager.html @@ -0,0 +1,370 @@ + + + + + + +SearchStrategyManager + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +basics.algo +
+Class SearchStrategyManager

+
+java.lang.Object
+  extended by basics.algo.SearchStrategyManager
+
+
+
+
public class SearchStrategyManager
extends java.lang.Object
+ + +

+


+ +

+ + + + + + + + + + + +
+Constructor Summary
SearchStrategyManager() + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ voidaddSearchStrategyListener(SearchStrategyListener strategyListener) + +
+           
+ voidaddSearchStrategyModuleListener(SearchStrategyModuleListener moduleListener) + +
+           
+ voidaddStrategy(SearchStrategy strategy, + double probability) + +
+          adds a new search strategy.
+ java.util.List<java.lang.Double>getProbabilities() + +
+           
+ SearchStrategygetRandomStrategy() + +
+           
+ java.util.List<SearchStrategy>getStrategies() + +
+           
+ voidsetRandom(java.util.Random random) + +
+           
+ + + + + + + +
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+SearchStrategyManager

+
+public SearchStrategyManager()
+
+
+ + + + + + + + +
+Method Detail
+ +

+setRandom

+
+public void setRandom(java.util.Random random)
+
+
+
+
+
+
+ +

+getStrategies

+
+public java.util.List<SearchStrategy> getStrategies()
+
+
+
+
+
+
+ +

+getProbabilities

+
+public java.util.List<java.lang.Double> getProbabilities()
+
+
+
+
+
+
+ +

+addStrategy

+
+public void addStrategy(SearchStrategy strategy,
+                        double probability)
+
+
adds a new search strategy. the probability must be within [0,1]. +

+

+
Parameters:
strategy -
probability -
+
+
+
+ +

+getRandomStrategy

+
+public SearchStrategy getRandomStrategy()
+
+
+
+
+
+
+ +

+addSearchStrategyListener

+
+public void addSearchStrategyListener(SearchStrategyListener strategyListener)
+
+
+
+
+
+
+ +

+addSearchStrategyModuleListener

+
+public void addSearchStrategyModuleListener(SearchStrategyModuleListener moduleListener)
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/doc/basics/algo/SearchStrategyModule.html b/doc/basics/algo/SearchStrategyModule.html new file mode 100644 index 00000000..0c091012 --- /dev/null +++ b/doc/basics/algo/SearchStrategyModule.html @@ -0,0 +1,247 @@ + + + + + + +SearchStrategyModule + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +basics.algo +
+Interface SearchStrategyModule

+
+
All Known Implementing Classes:
RuinAndRecreateModule
+
+
+
+
public interface SearchStrategyModule
+ + +

+


+ +

+ + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ voidaddModuleListener(SearchStrategyModuleListener moduleListener) + +
+           
+ java.lang.StringgetName() + +
+           
+ VehicleRoutingProblemSolutionrunAndGetSolution(VehicleRoutingProblemSolution vrpSolution) + +
+           
+  +

+ + + + + + + + +
+Method Detail
+ +

+runAndGetSolution

+
+VehicleRoutingProblemSolution runAndGetSolution(VehicleRoutingProblemSolution vrpSolution)
+
+
+
+
+
+
+ +

+getName

+
+java.lang.String getName()
+
+
+
+
+
+
+ +

+addModuleListener

+
+void addModuleListener(SearchStrategyModuleListener moduleListener)
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/doc/basics/algo/SearchStrategyModuleListener.html b/doc/basics/algo/SearchStrategyModuleListener.html new file mode 100644 index 00000000..cdd2f3d9 --- /dev/null +++ b/doc/basics/algo/SearchStrategyModuleListener.html @@ -0,0 +1,177 @@ + + + + + + +SearchStrategyModuleListener + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +basics.algo +
+Interface SearchStrategyModuleListener

+
+
All Superinterfaces:
VehicleRoutingAlgorithmListener
+
+
+
All Known Subinterfaces:
InsertionEndsListener, InsertionListener, InsertionStartsListener, JobInsertedListener, RuinListener
+
+
+
All Known Implementing Classes:
InitializeLoadsAtStartAndEndOfRouteWhenInsertionStarts, RemoveEmptyVehicles, StateManagerImpl, StateUpdates.UpdateStates, UpdateCostsAtRouteLevel, UpdateLoadAtRouteLevel, UpdateLoadsAtStartAndEndOfRouteWhenJobHasBeenInserted
+
+
+
+
public interface SearchStrategyModuleListener
extends VehicleRoutingAlgorithmListener
+ + +

+


+ +

+ +

+ +


+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/doc/basics/algo/StrategySelectedListener.html b/doc/basics/algo/StrategySelectedListener.html new file mode 100644 index 00000000..e7467e56 --- /dev/null +++ b/doc/basics/algo/StrategySelectedListener.html @@ -0,0 +1,216 @@ + + + + + + +StrategySelectedListener + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +basics.algo +
+Interface StrategySelectedListener

+
+
All Superinterfaces:
VehicleRoutingAlgorithmListener
+
+
+
+
public interface StrategySelectedListener
extends VehicleRoutingAlgorithmListener
+ + +

+


+ +

+ + + + + + + + + + + + +
+Method Summary
+ voidinformSelectedStrategy(java.lang.String strategyName, + VehicleRoutingProblem problem, + java.util.Collection<VehicleRoutingProblemSolution> solutions) + +
+           
+  +

+ + + + + + + + +
+Method Detail
+ +

+informSelectedStrategy

+
+void informSelectedStrategy(java.lang.String strategyName,
+                            VehicleRoutingProblem problem,
+                            java.util.Collection<VehicleRoutingProblemSolution> solutions)
+
+
+
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/doc/basics/algo/TimeBreaker.html b/doc/basics/algo/TimeBreaker.html new file mode 100644 index 00000000..79185e11 --- /dev/null +++ b/doc/basics/algo/TimeBreaker.html @@ -0,0 +1,306 @@ + + + + + + +TimeBreaker + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +basics.algo +
+Class TimeBreaker

+
+java.lang.Object
+  extended by basics.algo.TimeBreaker
+
+
+
All Implemented Interfaces:
AlgorithmStartsListener, PrematureAlgorithmBreaker, VehicleRoutingAlgorithmListener
+
+
+
+
public class TimeBreaker
extends java.lang.Object
implements PrematureAlgorithmBreaker, AlgorithmStartsListener
+ + +

+


+ +

+ + + + + + + + + + + +
+Constructor Summary
TimeBreaker(double time) + +
+           
+  + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ voidinformAlgorithmStarts(VehicleRoutingProblem problem, + VehicleRoutingAlgorithm algorithm, + java.util.Collection<VehicleRoutingProblemSolution> solutions) + +
+           
+ booleanisPrematureBreak(SearchStrategy.DiscoveredSolution discoveredSolution) + +
+           
+ java.lang.StringtoString() + +
+           
+ + + + + + + +
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+TimeBreaker

+
+public TimeBreaker(double time)
+
+
+ + + + + + + + +
+Method Detail
+ +

+toString

+
+public java.lang.String toString()
+
+
+
Overrides:
toString in class java.lang.Object
+
+
+
+
+
+
+ +

+isPrematureBreak

+
+public boolean isPrematureBreak(SearchStrategy.DiscoveredSolution discoveredSolution)
+
+
+
Specified by:
isPrematureBreak in interface PrematureAlgorithmBreaker
+
+
+
+
+
+
+ +

+informAlgorithmStarts

+
+public void informAlgorithmStarts(VehicleRoutingProblem problem,
+                                  VehicleRoutingAlgorithm algorithm,
+                                  java.util.Collection<VehicleRoutingProblemSolution> solutions)
+
+
+
Specified by:
informAlgorithmStarts in interface AlgorithmStartsListener
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/doc/basics/algo/VariationCoefficientBreaker.html b/doc/basics/algo/VariationCoefficientBreaker.html new file mode 100644 index 00000000..02de7b34 --- /dev/null +++ b/doc/basics/algo/VariationCoefficientBreaker.html @@ -0,0 +1,360 @@ + + + + + + +VariationCoefficientBreaker + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +basics.algo +
+Class VariationCoefficientBreaker

+
+java.lang.Object
+  extended by basics.algo.VariationCoefficientBreaker
+
+
+
All Implemented Interfaces:
AlgorithmStartsListener, IterationEndsListener, IterationStartsListener, PrematureAlgorithmBreaker, VehicleRoutingAlgorithmListener
+
+
+
+
public class VariationCoefficientBreaker
extends java.lang.Object
implements PrematureAlgorithmBreaker, IterationStartsListener, AlgorithmStartsListener, IterationEndsListener
+ + +

+


+ +

+ + + + + + + + + + + +
+Constructor Summary
VariationCoefficientBreaker(int nuOfIterations, + double variationCoefficientThreshold) + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ voidinformAlgorithmStarts(VehicleRoutingProblem problem, + VehicleRoutingAlgorithm algorithm, + java.util.Collection<VehicleRoutingProblemSolution> solutions) + +
+           
+ voidinformIterationEnds(int i, + VehicleRoutingProblem problem, + java.util.Collection<VehicleRoutingProblemSolution> solutions) + +
+           
+ voidinformIterationStarts(int i, + VehicleRoutingProblem problem, + java.util.Collection<VehicleRoutingProblemSolution> solutions) + +
+           
+ booleanisPrematureBreak(SearchStrategy.DiscoveredSolution discoveredSolution) + +
+           
+ java.lang.StringtoString() + +
+           
+ + + + + + + +
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+VariationCoefficientBreaker

+
+public VariationCoefficientBreaker(int nuOfIterations,
+                                   double variationCoefficientThreshold)
+
+
+ + + + + + + + +
+Method Detail
+ +

+toString

+
+public java.lang.String toString()
+
+
+
Overrides:
toString in class java.lang.Object
+
+
+
+
+
+
+ +

+isPrematureBreak

+
+public boolean isPrematureBreak(SearchStrategy.DiscoveredSolution discoveredSolution)
+
+
+
Specified by:
isPrematureBreak in interface PrematureAlgorithmBreaker
+
+
+
+
+
+
+ +

+informAlgorithmStarts

+
+public void informAlgorithmStarts(VehicleRoutingProblem problem,
+                                  VehicleRoutingAlgorithm algorithm,
+                                  java.util.Collection<VehicleRoutingProblemSolution> solutions)
+
+
+
Specified by:
informAlgorithmStarts in interface AlgorithmStartsListener
+
+
+
+
+
+
+ +

+informIterationEnds

+
+public void informIterationEnds(int i,
+                                VehicleRoutingProblem problem,
+                                java.util.Collection<VehicleRoutingProblemSolution> solutions)
+
+
+
Specified by:
informIterationEnds in interface IterationEndsListener
+
+
+
+
+
+
+ +

+informIterationStarts

+
+public void informIterationStarts(int i,
+                                  VehicleRoutingProblem problem,
+                                  java.util.Collection<VehicleRoutingProblemSolution> solutions)
+
+
+
Specified by:
informIterationStarts in interface IterationStartsListener
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/doc/basics/algo/VehicleRoutingAlgorithmFactory.html b/doc/basics/algo/VehicleRoutingAlgorithmFactory.html new file mode 100644 index 00000000..336b1c36 --- /dev/null +++ b/doc/basics/algo/VehicleRoutingAlgorithmFactory.html @@ -0,0 +1,206 @@ + + + + + + +VehicleRoutingAlgorithmFactory + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +basics.algo +
+Interface VehicleRoutingAlgorithmFactory

+
+
+
public interface VehicleRoutingAlgorithmFactory
+ + +

+


+ +

+ + + + + + + + + + + + +
+Method Summary
+ VehicleRoutingAlgorithmcreateAlgorithm(VehicleRoutingProblem vrp) + +
+           
+  +

+ + + + + + + + +
+Method Detail
+ +

+createAlgorithm

+
+VehicleRoutingAlgorithm createAlgorithm(VehicleRoutingProblem vrp)
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/doc/basics/algo/VehicleRoutingAlgorithmListener.html b/doc/basics/algo/VehicleRoutingAlgorithmListener.html new file mode 100644 index 00000000..adac4509 --- /dev/null +++ b/doc/basics/algo/VehicleRoutingAlgorithmListener.html @@ -0,0 +1,174 @@ + + + + + + +VehicleRoutingAlgorithmListener + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +basics.algo +
+Interface VehicleRoutingAlgorithmListener

+
+
All Known Subinterfaces:
AlgorithmEndsListener, AlgorithmStartsListener, InsertionEndsListener, InsertionListener, InsertionStartsListener, IterationEndsListener, IterationStartsListener, JobInsertedListener, RuinListener, SearchStrategyListener, SearchStrategyModuleListener, StrategySelectedListener
+
+
+
All Known Implementing Classes:
InitializeLoadsAtStartAndEndOfRouteWhenInsertionStarts, NeighborhoodThresholdInitialiser, RemoveEmptyVehicles, SchrimpfAcceptance, StateManagerImpl, StateUpdates.UpdateStates, TimeBreaker, UpdateCostsAtRouteLevel, UpdateLoadAtRouteLevel, UpdateLoadsAtStartAndEndOfRouteWhenJobHasBeenInserted, VariationCoefficientBreaker, VrpVerifier
+
+
+
+
public interface VehicleRoutingAlgorithmListener
+ + +

+


+ +

+ +

+ +


+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/doc/basics/algo/VehicleRoutingAlgorithmListeners.PrioritizedVRAListener.html b/doc/basics/algo/VehicleRoutingAlgorithmListeners.PrioritizedVRAListener.html new file mode 100644 index 00000000..9b7670a9 --- /dev/null +++ b/doc/basics/algo/VehicleRoutingAlgorithmListeners.PrioritizedVRAListener.html @@ -0,0 +1,276 @@ + + + + + + +VehicleRoutingAlgorithmListeners.PrioritizedVRAListener + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +basics.algo +
+Class VehicleRoutingAlgorithmListeners.PrioritizedVRAListener

+
+java.lang.Object
+  extended by basics.algo.VehicleRoutingAlgorithmListeners.PrioritizedVRAListener
+
+
+
Enclosing class:
VehicleRoutingAlgorithmListeners
+
+
+
+
public static class VehicleRoutingAlgorithmListeners.PrioritizedVRAListener
extends java.lang.Object
+ + +

+


+ +

+ + + + + + + + + + + +
+Constructor Summary
VehicleRoutingAlgorithmListeners.PrioritizedVRAListener(VehicleRoutingAlgorithmListeners.Priority priority, + VehicleRoutingAlgorithmListener l) + +
+           
+  + + + + + + + + + + + + + + + +
+Method Summary
+ VehicleRoutingAlgorithmListenergetListener() + +
+           
+ VehicleRoutingAlgorithmListeners.PrioritygetPriority() + +
+           
+ + + + + + + +
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+VehicleRoutingAlgorithmListeners.PrioritizedVRAListener

+
+public VehicleRoutingAlgorithmListeners.PrioritizedVRAListener(VehicleRoutingAlgorithmListeners.Priority priority,
+                                                               VehicleRoutingAlgorithmListener l)
+
+
+ + + + + + + + +
+Method Detail
+ +

+getPriority

+
+public VehicleRoutingAlgorithmListeners.Priority getPriority()
+
+
+
+
+
+
+ +

+getListener

+
+public VehicleRoutingAlgorithmListener getListener()
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/doc/basics/algo/VehicleRoutingAlgorithmListeners.Priority.html b/doc/basics/algo/VehicleRoutingAlgorithmListeners.Priority.html new file mode 100644 index 00000000..5fd39be0 --- /dev/null +++ b/doc/basics/algo/VehicleRoutingAlgorithmListeners.Priority.html @@ -0,0 +1,341 @@ + + + + + + +VehicleRoutingAlgorithmListeners.Priority + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +basics.algo +
+Enum VehicleRoutingAlgorithmListeners.Priority

+
+java.lang.Object
+  extended by java.lang.Enum<VehicleRoutingAlgorithmListeners.Priority>
+      extended by basics.algo.VehicleRoutingAlgorithmListeners.Priority
+
+
+
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<VehicleRoutingAlgorithmListeners.Priority>
+
+
+
Enclosing class:
VehicleRoutingAlgorithmListeners
+
+
+
+
public static enum VehicleRoutingAlgorithmListeners.Priority
extends java.lang.Enum<VehicleRoutingAlgorithmListeners.Priority>
+ + +

+


+ +

+ + + + + + + + + + + + + + + + +
+Enum Constant Summary
HIGH + +
+           
LOW + +
+           
MEDIUM + +
+           
+  + + + + + + + + + + + + + + + +
+Method Summary
+static VehicleRoutingAlgorithmListeners.PriorityvalueOf(java.lang.String name) + +
+          Returns the enum constant of this type with the specified name.
+static VehicleRoutingAlgorithmListeners.Priority[]values() + +
+          Returns an array containing the constants of this enum type, in +the order they are declared.
+ + + + + + + +
Methods inherited from class java.lang.Enum
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
+ + + + + + + +
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
+  +

+ + + + + + + + +
+Enum Constant Detail
+ +

+HIGH

+
+public static final VehicleRoutingAlgorithmListeners.Priority HIGH
+
+
+
+
+
+ +

+MEDIUM

+
+public static final VehicleRoutingAlgorithmListeners.Priority MEDIUM
+
+
+
+
+
+ +

+LOW

+
+public static final VehicleRoutingAlgorithmListeners.Priority LOW
+
+
+
+
+ + + + + + + + +
+Method Detail
+ +

+values

+
+public static VehicleRoutingAlgorithmListeners.Priority[] values()
+
+
Returns an array containing the constants of this enum type, in +the order they are declared. This method may be used to iterate +over the constants as follows: +
+for (VehicleRoutingAlgorithmListeners.Priority c : VehicleRoutingAlgorithmListeners.Priority.values())
+    System.out.println(c);
+
+

+

+ +
Returns:
an array containing the constants of this enum type, in +the order they are declared
+
+
+
+ +

+valueOf

+
+public static VehicleRoutingAlgorithmListeners.Priority valueOf(java.lang.String name)
+
+
Returns the enum constant of this type with the specified name. +The string must match exactly an identifier used to declare an +enum constant in this type. (Extraneous whitespace characters are +not permitted.) +

+

+
Parameters:
name - the name of the enum constant to be returned. +
Returns:
the enum constant with the specified name +
Throws: +
java.lang.IllegalArgumentException - if this enum type has no constant +with the specified name +
java.lang.NullPointerException - if the argument is null
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/doc/basics/algo/VehicleRoutingAlgorithmListeners.html b/doc/basics/algo/VehicleRoutingAlgorithmListeners.html new file mode 100644 index 00000000..9d622c72 --- /dev/null +++ b/doc/basics/algo/VehicleRoutingAlgorithmListeners.html @@ -0,0 +1,487 @@ + + + + + + +VehicleRoutingAlgorithmListeners + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +basics.algo +
+Class VehicleRoutingAlgorithmListeners

+
+java.lang.Object
+  extended by basics.algo.VehicleRoutingAlgorithmListeners
+
+
+
+
public class VehicleRoutingAlgorithmListeners
extends java.lang.Object
+ + +

+


+ +

+ + + + + + + + + + + + + + + +
+Nested Class Summary
+static classVehicleRoutingAlgorithmListeners.PrioritizedVRAListener + +
+           
+static classVehicleRoutingAlgorithmListeners.Priority + +
+           
+  + + + + + + + + + + +
+Constructor Summary
VehicleRoutingAlgorithmListeners() + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ voidadd(VehicleRoutingAlgorithmListeners.PrioritizedVRAListener l) + +
+           
+ voidaddAll(java.util.Collection<VehicleRoutingAlgorithmListeners.PrioritizedVRAListener> algorithmListeners) + +
+           
+ voidaddListener(VehicleRoutingAlgorithmListener listener) + +
+           
+ voidaddListener(VehicleRoutingAlgorithmListener listener, + VehicleRoutingAlgorithmListeners.Priority priority) + +
+           
+ voidalgorithmEnds(VehicleRoutingProblem problem, + java.util.Collection<VehicleRoutingProblemSolution> solutions) + +
+           
+ voidalgorithmStarts(VehicleRoutingProblem problem, + VehicleRoutingAlgorithm algorithm, + java.util.Collection<VehicleRoutingProblemSolution> solutions) + +
+           
+ java.util.Collection<VehicleRoutingAlgorithmListener>getAlgorithmListeners() + +
+           
+ voiditerationEnds(int i, + VehicleRoutingProblem problem, + java.util.Collection<VehicleRoutingProblemSolution> solutions) + +
+           
+ voiditerationStarts(int i, + VehicleRoutingProblem problem, + java.util.Collection<VehicleRoutingProblemSolution> solutions) + +
+           
+ voidremove(VehicleRoutingAlgorithmListeners.PrioritizedVRAListener listener) + +
+           
+ voidselectedStrategy(java.lang.String name, + VehicleRoutingProblem problem, + java.util.Collection<VehicleRoutingProblemSolution> solutions) + +
+           
+ + + + + + + +
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+VehicleRoutingAlgorithmListeners

+
+public VehicleRoutingAlgorithmListeners()
+
+
+ + + + + + + + +
+Method Detail
+ +

+getAlgorithmListeners

+
+public java.util.Collection<VehicleRoutingAlgorithmListener> getAlgorithmListeners()
+
+
+
+
+
+
+ +

+remove

+
+public void remove(VehicleRoutingAlgorithmListeners.PrioritizedVRAListener listener)
+
+
+
+
+
+
+ +

+addListener

+
+public void addListener(VehicleRoutingAlgorithmListener listener,
+                        VehicleRoutingAlgorithmListeners.Priority priority)
+
+
+
+
+
+
+ +

+addListener

+
+public void addListener(VehicleRoutingAlgorithmListener listener)
+
+
+
+
+
+
+ +

+algorithmEnds

+
+public void algorithmEnds(VehicleRoutingProblem problem,
+                          java.util.Collection<VehicleRoutingProblemSolution> solutions)
+
+
+
+
+
+
+ +

+iterationEnds

+
+public void iterationEnds(int i,
+                          VehicleRoutingProblem problem,
+                          java.util.Collection<VehicleRoutingProblemSolution> solutions)
+
+
+
+
+
+
+ +

+iterationStarts

+
+public void iterationStarts(int i,
+                            VehicleRoutingProblem problem,
+                            java.util.Collection<VehicleRoutingProblemSolution> solutions)
+
+
+
+
+
+
+ +

+algorithmStarts

+
+public void algorithmStarts(VehicleRoutingProblem problem,
+                            VehicleRoutingAlgorithm algorithm,
+                            java.util.Collection<VehicleRoutingProblemSolution> solutions)
+
+
+
+
+
+
+ +

+add

+
+public void add(VehicleRoutingAlgorithmListeners.PrioritizedVRAListener l)
+
+
+
+
+
+
+ +

+addAll

+
+public void addAll(java.util.Collection<VehicleRoutingAlgorithmListeners.PrioritizedVRAListener> algorithmListeners)
+
+
+
+
+
+
+ +

+selectedStrategy

+
+public void selectedStrategy(java.lang.String name,
+                             VehicleRoutingProblem problem,
+                             java.util.Collection<VehicleRoutingProblemSolution> solutions)
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/doc/basics/algo/class-use/AlgorithmEndsListener.html b/doc/basics/algo/class-use/AlgorithmEndsListener.html new file mode 100644 index 00000000..193702c5 --- /dev/null +++ b/doc/basics/algo/class-use/AlgorithmEndsListener.html @@ -0,0 +1,144 @@ + + + + + + +Uses of Interface basics.algo.AlgorithmEndsListener + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Interface
basics.algo.AlgorithmEndsListener

+
+No usage of basics.algo.AlgorithmEndsListener +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/doc/basics/algo/class-use/AlgorithmStartsListener.html b/doc/basics/algo/class-use/AlgorithmStartsListener.html new file mode 100644 index 00000000..20bde671 --- /dev/null +++ b/doc/basics/algo/class-use/AlgorithmStartsListener.html @@ -0,0 +1,275 @@ + + + + + + +Uses of Interface basics.algo.AlgorithmStartsListener + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Interface
basics.algo.AlgorithmStartsListener

+
+ + + + + + + + + + + + + + + + + + + + + +
+Packages that use AlgorithmStartsListener
algorithms  
algorithms.acceptors  
basics.algo  
util  
+  +

+ + + + + +
+Uses of AlgorithmStartsListener in algorithms
+  +

+ + + + + + + + + +
Classes in algorithms that implement AlgorithmStartsListener
+ classNeighborhoodThresholdInitialiser + +
+           
+  +

+ + + + + +
+Uses of AlgorithmStartsListener in algorithms.acceptors
+  +

+ + + + + + + + + +
Classes in algorithms.acceptors that implement AlgorithmStartsListener
+ classSchrimpfAcceptance + +
+           
+  +

+ + + + + +
+Uses of AlgorithmStartsListener in basics.algo
+  +

+ + + + + + + + + + + + + +
Classes in basics.algo that implement AlgorithmStartsListener
+ classTimeBreaker + +
+           
+ classVariationCoefficientBreaker + +
+           
+  +

+ + + + + +
+Uses of AlgorithmStartsListener in util
+  +

+ + + + + + + + + +
Classes in util that implement AlgorithmStartsListener
+ classVrpVerifier + +
+           
+  +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/doc/basics/algo/class-use/InsertionEndsListener.html b/doc/basics/algo/class-use/InsertionEndsListener.html new file mode 100644 index 00000000..612f85fe --- /dev/null +++ b/doc/basics/algo/class-use/InsertionEndsListener.html @@ -0,0 +1,196 @@ + + + + + + +Uses of Interface basics.algo.InsertionEndsListener + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Interface
basics.algo.InsertionEndsListener

+
+ + + + + + + + + +
+Packages that use InsertionEndsListener
algorithms  
+  +

+ + + + + +
+Uses of InsertionEndsListener in algorithms
+  +

+ + + + + + + + + + + + + + + + + +
Classes in algorithms that implement InsertionEndsListener
+ classRemoveEmptyVehicles + +
+           
+ classStateManagerImpl + +
+           
+ classUpdateCostsAtRouteLevel + +
+           
+  +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/doc/basics/algo/class-use/InsertionListener.html b/doc/basics/algo/class-use/InsertionListener.html new file mode 100644 index 00000000..656b0ce7 --- /dev/null +++ b/doc/basics/algo/class-use/InsertionListener.html @@ -0,0 +1,353 @@ + + + + + + +Uses of Interface basics.algo.InsertionListener + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Interface
basics.algo.InsertionListener

+
+ + + + + + + + + + + + + +
+Packages that use InsertionListener
algorithms  
basics.algo  
+  +

+ + + + + +
+Uses of InsertionListener in algorithms
+  +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Classes in algorithms that implement InsertionListener
+ classInitializeLoadsAtStartAndEndOfRouteWhenInsertionStarts + +
+          Initializes the load of each route/vehicle at start- and end-location before insertion starts.
+ classRemoveEmptyVehicles + +
+           
+ classStateManagerImpl + +
+           
+static classStateUpdates.UpdateStates + +
+           
+ classUpdateCostsAtRouteLevel + +
+           
+ classUpdateLoadAtRouteLevel + +
+          Updates load at route level, i.e.
+ classUpdateLoadsAtStartAndEndOfRouteWhenJobHasBeenInserted + +
+          Updates loads at start and end of a route if a job has been inserted in that route.
+  +

+ + + + + + + + + +
Methods in algorithms that return types with arguments of type InsertionListener
+ java.util.Collection<InsertionListener>InsertionStrategy.getListeners() + +
+           
+  +

+ + + + + + + + + + + + + + + + + + + + + +
Methods in algorithms with parameters of type InsertionListener
+ voidInsertionStrategy.addListener(InsertionListener insertionListener) + +
+           
+ voidStateManagerImpl.addListener(InsertionListener insertionListener) + +
+           
+ voidInsertionStrategy.removeListener(InsertionListener insertionListener) + +
+           
+ voidStateManagerImpl.removeListener(InsertionListener insertionListener) + +
+           
+  +

+ + + + + +
+Uses of InsertionListener in basics.algo
+  +

+ + + + + + + + + + + + + + + + + +
Subinterfaces of InsertionListener in basics.algo
+ interfaceInsertionEndsListener + +
+           
+ interfaceInsertionStartsListener + +
+           
+ interfaceJobInsertedListener + +
+           
+  +

+ + + + + + + + + + + + + +
Methods in basics.algo with parameters of type InsertionListener
+ voidInsertionListeners.addListener(InsertionListener insertionListener) + +
+           
+ voidInsertionListeners.removeListener(InsertionListener insertionListener) + +
+           
+  +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/doc/basics/algo/class-use/InsertionListeners.html b/doc/basics/algo/class-use/InsertionListeners.html new file mode 100644 index 00000000..2aa775d9 --- /dev/null +++ b/doc/basics/algo/class-use/InsertionListeners.html @@ -0,0 +1,144 @@ + + + + + + +Uses of Class basics.algo.InsertionListeners + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Class
basics.algo.InsertionListeners

+
+No usage of basics.algo.InsertionListeners +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/doc/basics/algo/class-use/InsertionStartsListener.html b/doc/basics/algo/class-use/InsertionStartsListener.html new file mode 100644 index 00000000..10d7be01 --- /dev/null +++ b/doc/basics/algo/class-use/InsertionStartsListener.html @@ -0,0 +1,204 @@ + + + + + + +Uses of Interface basics.algo.InsertionStartsListener + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Interface
basics.algo.InsertionStartsListener

+
+ + + + + + + + + +
+Packages that use InsertionStartsListener
algorithms  
+  +

+ + + + + +
+Uses of InsertionStartsListener in algorithms
+  +

+ + + + + + + + + + + + + + + + + + + + + +
Classes in algorithms that implement InsertionStartsListener
+ classInitializeLoadsAtStartAndEndOfRouteWhenInsertionStarts + +
+          Initializes the load of each route/vehicle at start- and end-location before insertion starts.
+ classStateManagerImpl + +
+           
+ classUpdateCostsAtRouteLevel + +
+           
+ classUpdateLoadAtRouteLevel + +
+          Updates load at route level, i.e.
+  +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/doc/basics/algo/class-use/IterationEndsListener.html b/doc/basics/algo/class-use/IterationEndsListener.html new file mode 100644 index 00000000..24cd9174 --- /dev/null +++ b/doc/basics/algo/class-use/IterationEndsListener.html @@ -0,0 +1,180 @@ + + + + + + +Uses of Interface basics.algo.IterationEndsListener + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Interface
basics.algo.IterationEndsListener

+
+ + + + + + + + + +
+Packages that use IterationEndsListener
basics.algo  
+  +

+ + + + + +
+Uses of IterationEndsListener in basics.algo
+  +

+ + + + + + + + + +
Classes in basics.algo that implement IterationEndsListener
+ classVariationCoefficientBreaker + +
+           
+  +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/doc/basics/algo/class-use/IterationStartsListener.html b/doc/basics/algo/class-use/IterationStartsListener.html new file mode 100644 index 00000000..860b57be --- /dev/null +++ b/doc/basics/algo/class-use/IterationStartsListener.html @@ -0,0 +1,238 @@ + + + + + + +Uses of Interface basics.algo.IterationStartsListener + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Interface
basics.algo.IterationStartsListener

+
+ + + + + + + + + + + + + + + + + +
+Packages that use IterationStartsListener
algorithms  
algorithms.acceptors  
basics.algo  
+  +

+ + + + + +
+Uses of IterationStartsListener in algorithms
+  +

+ + + + + + + + + +
Classes in algorithms that implement IterationStartsListener
+ classStateManagerImpl + +
+           
+  +

+ + + + + +
+Uses of IterationStartsListener in algorithms.acceptors
+  +

+ + + + + + + + + +
Classes in algorithms.acceptors that implement IterationStartsListener
+ classSchrimpfAcceptance + +
+           
+  +

+ + + + + +
+Uses of IterationStartsListener in basics.algo
+  +

+ + + + + + + + + +
Classes in basics.algo that implement IterationStartsListener
+ classVariationCoefficientBreaker + +
+           
+  +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/doc/basics/algo/class-use/IterationWithoutImprovementBreaker.html b/doc/basics/algo/class-use/IterationWithoutImprovementBreaker.html new file mode 100644 index 00000000..7a68b4db --- /dev/null +++ b/doc/basics/algo/class-use/IterationWithoutImprovementBreaker.html @@ -0,0 +1,144 @@ + + + + + + +Uses of Class basics.algo.IterationWithoutImprovementBreaker + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Class
basics.algo.IterationWithoutImprovementBreaker

+
+No usage of basics.algo.IterationWithoutImprovementBreaker +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/doc/basics/algo/class-use/JobInsertedListener.html b/doc/basics/algo/class-use/JobInsertedListener.html new file mode 100644 index 00000000..1d62cdf6 --- /dev/null +++ b/doc/basics/algo/class-use/JobInsertedListener.html @@ -0,0 +1,212 @@ + + + + + + +Uses of Interface basics.algo.JobInsertedListener + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Interface
basics.algo.JobInsertedListener

+
+ + + + + + + + + +
+Packages that use JobInsertedListener
algorithms  
+  +

+ + + + + +
+Uses of JobInsertedListener in algorithms
+  +

+ + + + + + + + + + + + + + + + + + + + + + + + + +
Classes in algorithms that implement JobInsertedListener
+ classStateManagerImpl + +
+           
+static classStateUpdates.UpdateStates + +
+           
+ classUpdateCostsAtRouteLevel + +
+           
+ classUpdateLoadAtRouteLevel + +
+          Updates load at route level, i.e.
+ classUpdateLoadsAtStartAndEndOfRouteWhenJobHasBeenInserted + +
+          Updates loads at start and end of a route if a job has been inserted in that route.
+  +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/doc/basics/algo/class-use/PrematureAlgorithmBreaker.html b/doc/basics/algo/class-use/PrematureAlgorithmBreaker.html new file mode 100644 index 00000000..1ab5a971 --- /dev/null +++ b/doc/basics/algo/class-use/PrematureAlgorithmBreaker.html @@ -0,0 +1,225 @@ + + + + + + +Uses of Interface basics.algo.PrematureAlgorithmBreaker + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Interface
basics.algo.PrematureAlgorithmBreaker

+
+ + + + + + + + + + + + + +
+Packages that use PrematureAlgorithmBreaker
basics  
basics.algo  
+  +

+ + + + + +
+Uses of PrematureAlgorithmBreaker in basics
+  +

+ + + + + + + + + +
Methods in basics with parameters of type PrematureAlgorithmBreaker
+ voidVehicleRoutingAlgorithm.setPrematureAlgorithmBreaker(PrematureAlgorithmBreaker prematureAlgorithmBreaker) + +
+           
+  +

+ + + + + +
+Uses of PrematureAlgorithmBreaker in basics.algo
+  +

+ + + + + + + + + + + + + + + + + +
Classes in basics.algo that implement PrematureAlgorithmBreaker
+ classIterationWithoutImprovementBreaker + +
+           
+ classTimeBreaker + +
+           
+ classVariationCoefficientBreaker + +
+           
+  +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/doc/basics/algo/class-use/RuinListener.html b/doc/basics/algo/class-use/RuinListener.html new file mode 100644 index 00000000..2f38c42b --- /dev/null +++ b/doc/basics/algo/class-use/RuinListener.html @@ -0,0 +1,297 @@ + + + + + + +Uses of Interface basics.algo.RuinListener + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Interface
basics.algo.RuinListener

+
+ + + + + + + + + + + + + +
+Packages that use RuinListener
algorithms  
basics.algo  
+  +

+ + + + + +
+Uses of RuinListener in algorithms
+  +

+ + + + + + + + + + + + + +
Classes in algorithms that implement RuinListener
+ classStateManagerImpl + +
+           
+static classStateUpdates.UpdateStates + +
+           
+  +

+ + + + + + + + + +
Methods in algorithms that return types with arguments of type RuinListener
+ java.util.Collection<RuinListener>RuinStrategy.getListeners() + +
+           
+  +

+ + + + + + + + + + + + + + + + + + + + + +
Methods in algorithms with parameters of type RuinListener
+ voidStateManagerImpl.addListener(RuinListener ruinListener) + +
+           
+ voidRuinStrategy.addListener(RuinListener ruinListener) + +
+          Adds a ruin-listener.
+ voidStateManagerImpl.removeListener(RuinListener ruinListener) + +
+           
+ voidRuinStrategy.removeListener(RuinListener ruinListener) + +
+           
+  +

+ + + + + +
+Uses of RuinListener in basics.algo
+  +

+ + + + + + + + + +
Methods in basics.algo that return types with arguments of type RuinListener
+ java.util.Collection<RuinListener>RuinListeners.getListeners() + +
+           
+  +

+ + + + + + + + + + + + + +
Methods in basics.algo with parameters of type RuinListener
+ voidRuinListeners.addListener(RuinListener ruinListener) + +
+           
+ voidRuinListeners.removeListener(RuinListener ruinListener) + +
+           
+  +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/doc/basics/algo/class-use/RuinListeners.html b/doc/basics/algo/class-use/RuinListeners.html new file mode 100644 index 00000000..aa6a64d5 --- /dev/null +++ b/doc/basics/algo/class-use/RuinListeners.html @@ -0,0 +1,144 @@ + + + + + + +Uses of Class basics.algo.RuinListeners + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Class
basics.algo.RuinListeners

+
+No usage of basics.algo.RuinListeners +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/doc/basics/algo/class-use/SearchStrategy.DiscoveredSolution.html b/doc/basics/algo/class-use/SearchStrategy.DiscoveredSolution.html new file mode 100644 index 00000000..177384b9 --- /dev/null +++ b/doc/basics/algo/class-use/SearchStrategy.DiscoveredSolution.html @@ -0,0 +1,221 @@ + + + + + + +Uses of Class basics.algo.SearchStrategy.DiscoveredSolution + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Class
basics.algo.SearchStrategy.DiscoveredSolution

+
+ + + + + + + + + +
+Packages that use SearchStrategy.DiscoveredSolution
basics.algo  
+  +

+ + + + + +
+Uses of SearchStrategy.DiscoveredSolution in basics.algo
+  +

+ + + + + + + + + +
Methods in basics.algo that return SearchStrategy.DiscoveredSolution
+ SearchStrategy.DiscoveredSolutionSearchStrategy.run(VehicleRoutingProblem vrp, + java.util.Collection<VehicleRoutingProblemSolution> solutions) + +
+          Runs the search-strategy and its according modules, and returns DiscoveredSolution.
+  +

+ + + + + + + + + + + + + + + + + + + + + +
Methods in basics.algo with parameters of type SearchStrategy.DiscoveredSolution
+ booleanIterationWithoutImprovementBreaker.isPrematureBreak(SearchStrategy.DiscoveredSolution discoveredSolution) + +
+           
+ booleanTimeBreaker.isPrematureBreak(SearchStrategy.DiscoveredSolution discoveredSolution) + +
+           
+ booleanPrematureAlgorithmBreaker.isPrematureBreak(SearchStrategy.DiscoveredSolution discoveredSolution) + +
+           
+ booleanVariationCoefficientBreaker.isPrematureBreak(SearchStrategy.DiscoveredSolution discoveredSolution) + +
+           
+  +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/doc/basics/algo/class-use/SearchStrategy.html b/doc/basics/algo/class-use/SearchStrategy.html new file mode 100644 index 00000000..07a81048 --- /dev/null +++ b/doc/basics/algo/class-use/SearchStrategy.html @@ -0,0 +1,213 @@ + + + + + + +Uses of Class basics.algo.SearchStrategy + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Class
basics.algo.SearchStrategy

+
+ + + + + + + + + +
+Packages that use SearchStrategy
basics.algo  
+  +

+ + + + + +
+Uses of SearchStrategy in basics.algo
+  +

+ + + + + + + + + +
Methods in basics.algo that return SearchStrategy
+ SearchStrategySearchStrategyManager.getRandomStrategy() + +
+           
+  +

+ + + + + + + + + +
Methods in basics.algo that return types with arguments of type SearchStrategy
+ java.util.List<SearchStrategy>SearchStrategyManager.getStrategies() + +
+           
+  +

+ + + + + + + + + +
Methods in basics.algo with parameters of type SearchStrategy
+ voidSearchStrategyManager.addStrategy(SearchStrategy strategy, + double probability) + +
+          adds a new search strategy.
+  +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/doc/basics/algo/class-use/SearchStrategyListener.html b/doc/basics/algo/class-use/SearchStrategyListener.html new file mode 100644 index 00000000..de0a5802 --- /dev/null +++ b/doc/basics/algo/class-use/SearchStrategyListener.html @@ -0,0 +1,180 @@ + + + + + + +Uses of Interface basics.algo.SearchStrategyListener + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Interface
basics.algo.SearchStrategyListener

+
+ + + + + + + + + +
+Packages that use SearchStrategyListener
basics.algo  
+  +

+ + + + + +
+Uses of SearchStrategyListener in basics.algo
+  +

+ + + + + + + + + +
Methods in basics.algo with parameters of type SearchStrategyListener
+ voidSearchStrategyManager.addSearchStrategyListener(SearchStrategyListener strategyListener) + +
+           
+  +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/doc/basics/algo/class-use/SearchStrategyManager.html b/doc/basics/algo/class-use/SearchStrategyManager.html new file mode 100644 index 00000000..c0ddeffc --- /dev/null +++ b/doc/basics/algo/class-use/SearchStrategyManager.html @@ -0,0 +1,203 @@ + + + + + + +Uses of Class basics.algo.SearchStrategyManager + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Class
basics.algo.SearchStrategyManager

+
+ + + + + + + + + +
+Packages that use SearchStrategyManager
basics  
+  +

+ + + + + +
+Uses of SearchStrategyManager in basics
+  +

+ + + + + + + + + +
Methods in basics that return SearchStrategyManager
+ SearchStrategyManagerVehicleRoutingAlgorithm.getSearchStrategyManager() + +
+          Gets the SearchStrategyManager.
+  +

+ + + + + + + + + + + +
Constructors in basics with parameters of type SearchStrategyManager
VehicleRoutingAlgorithm(VehicleRoutingProblem problem, + java.util.Collection<VehicleRoutingProblemSolution> initialSolutions, + SearchStrategyManager searchStrategyManager) + +
+           
VehicleRoutingAlgorithm(VehicleRoutingProblem problem, + SearchStrategyManager searchStrategyManager) + +
+           
+  +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/doc/basics/algo/class-use/SearchStrategyModule.html b/doc/basics/algo/class-use/SearchStrategyModule.html new file mode 100644 index 00000000..e0e28338 --- /dev/null +++ b/doc/basics/algo/class-use/SearchStrategyModule.html @@ -0,0 +1,225 @@ + + + + + + +Uses of Interface basics.algo.SearchStrategyModule + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Interface
basics.algo.SearchStrategyModule

+
+ + + + + + + + + + + + + +
+Packages that use SearchStrategyModule
algorithms  
basics.algo  
+  +

+ + + + + +
+Uses of SearchStrategyModule in algorithms
+  +

+ + + + + + + + + +
Classes in algorithms that implement SearchStrategyModule
+ classRuinAndRecreateModule + +
+           
+  +

+ + + + + +
+Uses of SearchStrategyModule in basics.algo
+  +

+ + + + + + + + + +
Methods in basics.algo that return types with arguments of type SearchStrategyModule
+ java.util.Collection<SearchStrategyModule>SearchStrategy.getSearchStrategyModules() + +
+           
+  +

+ + + + + + + + + +
Methods in basics.algo with parameters of type SearchStrategyModule
+ voidSearchStrategy.addModule(SearchStrategyModule module) + +
+           
+  +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/doc/basics/algo/class-use/SearchStrategyModuleListener.html b/doc/basics/algo/class-use/SearchStrategyModuleListener.html new file mode 100644 index 00000000..3de6fada --- /dev/null +++ b/doc/basics/algo/class-use/SearchStrategyModuleListener.html @@ -0,0 +1,337 @@ + + + + + + +Uses of Interface basics.algo.SearchStrategyModuleListener + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Interface
basics.algo.SearchStrategyModuleListener

+
+ + + + + + + + + + + + + +
+Packages that use SearchStrategyModuleListener
algorithms  
basics.algo  
+  +

+ + + + + +
+Uses of SearchStrategyModuleListener in algorithms
+  +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Classes in algorithms that implement SearchStrategyModuleListener
+ classInitializeLoadsAtStartAndEndOfRouteWhenInsertionStarts + +
+          Initializes the load of each route/vehicle at start- and end-location before insertion starts.
+ classRemoveEmptyVehicles + +
+           
+ classStateManagerImpl + +
+           
+static classStateUpdates.UpdateStates + +
+           
+ classUpdateCostsAtRouteLevel + +
+           
+ classUpdateLoadAtRouteLevel + +
+          Updates load at route level, i.e.
+ classUpdateLoadsAtStartAndEndOfRouteWhenJobHasBeenInserted + +
+          Updates loads at start and end of a route if a job has been inserted in that route.
+  +

+ + + + + + + + + +
Methods in algorithms with parameters of type SearchStrategyModuleListener
+ voidRuinAndRecreateModule.addModuleListener(SearchStrategyModuleListener moduleListener) + +
+           
+  +

+ + + + + +
+Uses of SearchStrategyModuleListener in basics.algo
+  +

+ + + + + + + + + + + + + + + + + + + + + + + + + +
Subinterfaces of SearchStrategyModuleListener in basics.algo
+ interfaceInsertionEndsListener + +
+           
+ interfaceInsertionListener + +
+           
+ interfaceInsertionStartsListener + +
+           
+ interfaceJobInsertedListener + +
+           
+ interfaceRuinListener + +
+          Listener that listens to the ruin-process.
+  +

+ + + + + + + + + + + + + + + + + +
Methods in basics.algo with parameters of type SearchStrategyModuleListener
+ voidSearchStrategy.addModuleListener(SearchStrategyModuleListener moduleListener) + +
+           
+ voidSearchStrategyModule.addModuleListener(SearchStrategyModuleListener moduleListener) + +
+           
+ voidSearchStrategyManager.addSearchStrategyModuleListener(SearchStrategyModuleListener moduleListener) + +
+           
+  +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/doc/basics/algo/class-use/StrategySelectedListener.html b/doc/basics/algo/class-use/StrategySelectedListener.html new file mode 100644 index 00000000..d6e1f566 --- /dev/null +++ b/doc/basics/algo/class-use/StrategySelectedListener.html @@ -0,0 +1,144 @@ + + + + + + +Uses of Interface basics.algo.StrategySelectedListener + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Interface
basics.algo.StrategySelectedListener

+
+No usage of basics.algo.StrategySelectedListener +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/doc/basics/algo/class-use/TimeBreaker.html b/doc/basics/algo/class-use/TimeBreaker.html new file mode 100644 index 00000000..91f2213b --- /dev/null +++ b/doc/basics/algo/class-use/TimeBreaker.html @@ -0,0 +1,144 @@ + + + + + + +Uses of Class basics.algo.TimeBreaker + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Class
basics.algo.TimeBreaker

+
+No usage of basics.algo.TimeBreaker +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/doc/basics/algo/class-use/VariationCoefficientBreaker.html b/doc/basics/algo/class-use/VariationCoefficientBreaker.html new file mode 100644 index 00000000..c926eb91 --- /dev/null +++ b/doc/basics/algo/class-use/VariationCoefficientBreaker.html @@ -0,0 +1,144 @@ + + + + + + +Uses of Class basics.algo.VariationCoefficientBreaker + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Class
basics.algo.VariationCoefficientBreaker

+
+No usage of basics.algo.VariationCoefficientBreaker +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/doc/basics/algo/class-use/VehicleRoutingAlgorithmFactory.html b/doc/basics/algo/class-use/VehicleRoutingAlgorithmFactory.html new file mode 100644 index 00000000..e12c2af6 --- /dev/null +++ b/doc/basics/algo/class-use/VehicleRoutingAlgorithmFactory.html @@ -0,0 +1,180 @@ + + + + + + +Uses of Interface basics.algo.VehicleRoutingAlgorithmFactory + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Interface
basics.algo.VehicleRoutingAlgorithmFactory

+
+ + + + + + + + + +
+Packages that use VehicleRoutingAlgorithmFactory
algorithms  
+  +

+ + + + + +
+Uses of VehicleRoutingAlgorithmFactory in algorithms
+  +

+ + + + + + + + + +
Methods in algorithms with parameters of type VehicleRoutingAlgorithmFactory
+ voidNeighborhoodThresholdInitialiser.setRoutingAlgorithmFactory(VehicleRoutingAlgorithmFactory routingAlgorithmFactory) + +
+           
+  +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/doc/basics/algo/class-use/VehicleRoutingAlgorithmListener.html b/doc/basics/algo/class-use/VehicleRoutingAlgorithmListener.html new file mode 100644 index 00000000..d151514f --- /dev/null +++ b/doc/basics/algo/class-use/VehicleRoutingAlgorithmListener.html @@ -0,0 +1,507 @@ + + + + + + +Uses of Interface basics.algo.VehicleRoutingAlgorithmListener + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Interface
basics.algo.VehicleRoutingAlgorithmListener

+
+ + + + + + + + + + + + + + + + + + + + + +
+Packages that use VehicleRoutingAlgorithmListener
algorithms  
algorithms.acceptors  
basics.algo  
util  
+  +

+ + + + + +
+Uses of VehicleRoutingAlgorithmListener in algorithms
+  +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Classes in algorithms that implement VehicleRoutingAlgorithmListener
+ classInitializeLoadsAtStartAndEndOfRouteWhenInsertionStarts + +
+          Initializes the load of each route/vehicle at start- and end-location before insertion starts.
+ classNeighborhoodThresholdInitialiser + +
+           
+ classRemoveEmptyVehicles + +
+           
+ classStateManagerImpl + +
+           
+static classStateUpdates.UpdateStates + +
+           
+ classUpdateCostsAtRouteLevel + +
+           
+ classUpdateLoadAtRouteLevel + +
+          Updates load at route level, i.e.
+ classUpdateLoadsAtStartAndEndOfRouteWhenJobHasBeenInserted + +
+          Updates loads at start and end of a route if a job has been inserted in that route.
+  +

+ + + + + +
+Uses of VehicleRoutingAlgorithmListener in algorithms.acceptors
+  +

+ + + + + + + + + +
Classes in algorithms.acceptors that implement VehicleRoutingAlgorithmListener
+ classSchrimpfAcceptance + +
+           
+  +

+ + + + + +
+Uses of VehicleRoutingAlgorithmListener in basics.algo
+  +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Subinterfaces of VehicleRoutingAlgorithmListener in basics.algo
+ interfaceAlgorithmEndsListener + +
+           
+ interfaceAlgorithmStartsListener + +
+           
+ interfaceInsertionEndsListener + +
+           
+ interfaceInsertionListener + +
+           
+ interfaceInsertionStartsListener + +
+           
+ interfaceIterationEndsListener + +
+           
+ interfaceIterationStartsListener + +
+           
+ interfaceJobInsertedListener + +
+           
+ interfaceRuinListener + +
+          Listener that listens to the ruin-process.
+ interfaceSearchStrategyListener + +
+           
+ interfaceSearchStrategyModuleListener + +
+           
+ interfaceStrategySelectedListener + +
+           
+  +

+ + + + + + + + + + + + + +
Classes in basics.algo that implement VehicleRoutingAlgorithmListener
+ classTimeBreaker + +
+           
+ classVariationCoefficientBreaker + +
+           
+  +

+ + + + + + + + + +
Methods in basics.algo that return VehicleRoutingAlgorithmListener
+ VehicleRoutingAlgorithmListenerVehicleRoutingAlgorithmListeners.PrioritizedVRAListener.getListener() + +
+           
+  +

+ + + + + + + + + +
Methods in basics.algo that return types with arguments of type VehicleRoutingAlgorithmListener
+ java.util.Collection<VehicleRoutingAlgorithmListener>VehicleRoutingAlgorithmListeners.getAlgorithmListeners() + +
+           
+  +

+ + + + + + + + + + + + + +
Methods in basics.algo with parameters of type VehicleRoutingAlgorithmListener
+ voidVehicleRoutingAlgorithmListeners.addListener(VehicleRoutingAlgorithmListener listener) + +
+           
+ voidVehicleRoutingAlgorithmListeners.addListener(VehicleRoutingAlgorithmListener listener, + VehicleRoutingAlgorithmListeners.Priority priority) + +
+           
+  +

+ + + + + + + + +
Constructors in basics.algo with parameters of type VehicleRoutingAlgorithmListener
VehicleRoutingAlgorithmListeners.PrioritizedVRAListener(VehicleRoutingAlgorithmListeners.Priority priority, + VehicleRoutingAlgorithmListener l) + +
+           
+  +

+ + + + + +
+Uses of VehicleRoutingAlgorithmListener in util
+  +

+ + + + + + + + + +
Classes in util that implement VehicleRoutingAlgorithmListener
+ classVrpVerifier + +
+           
+  +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/doc/basics/algo/class-use/VehicleRoutingAlgorithmListeners.PrioritizedVRAListener.html b/doc/basics/algo/class-use/VehicleRoutingAlgorithmListeners.PrioritizedVRAListener.html new file mode 100644 index 00000000..c600aa2d --- /dev/null +++ b/doc/basics/algo/class-use/VehicleRoutingAlgorithmListeners.PrioritizedVRAListener.html @@ -0,0 +1,204 @@ + + + + + + +Uses of Class basics.algo.VehicleRoutingAlgorithmListeners.PrioritizedVRAListener + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Class
basics.algo.VehicleRoutingAlgorithmListeners.PrioritizedVRAListener

+
+ + + + + + + + + +
+Packages that use VehicleRoutingAlgorithmListeners.PrioritizedVRAListener
basics.algo  
+  +

+ + + + + +
+Uses of VehicleRoutingAlgorithmListeners.PrioritizedVRAListener in basics.algo
+  +

+ + + + + + + + + + + + + +
Methods in basics.algo with parameters of type VehicleRoutingAlgorithmListeners.PrioritizedVRAListener
+ voidVehicleRoutingAlgorithmListeners.add(VehicleRoutingAlgorithmListeners.PrioritizedVRAListener l) + +
+           
+ voidVehicleRoutingAlgorithmListeners.remove(VehicleRoutingAlgorithmListeners.PrioritizedVRAListener listener) + +
+           
+  +

+ + + + + + + + + +
Method parameters in basics.algo with type arguments of type VehicleRoutingAlgorithmListeners.PrioritizedVRAListener
+ voidVehicleRoutingAlgorithmListeners.addAll(java.util.Collection<VehicleRoutingAlgorithmListeners.PrioritizedVRAListener> algorithmListeners) + +
+           
+  +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/doc/basics/algo/class-use/VehicleRoutingAlgorithmListeners.Priority.html b/doc/basics/algo/class-use/VehicleRoutingAlgorithmListeners.Priority.html new file mode 100644 index 00000000..94179aea --- /dev/null +++ b/doc/basics/algo/class-use/VehicleRoutingAlgorithmListeners.Priority.html @@ -0,0 +1,229 @@ + + + + + + +Uses of Class basics.algo.VehicleRoutingAlgorithmListeners.Priority + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Class
basics.algo.VehicleRoutingAlgorithmListeners.Priority

+
+ + + + + + + + + +
+Packages that use VehicleRoutingAlgorithmListeners.Priority
basics.algo  
+  +

+ + + + + +
+Uses of VehicleRoutingAlgorithmListeners.Priority in basics.algo
+  +

+ + + + + + + + + + + + + + + + + +
Methods in basics.algo that return VehicleRoutingAlgorithmListeners.Priority
+ VehicleRoutingAlgorithmListeners.PriorityVehicleRoutingAlgorithmListeners.PrioritizedVRAListener.getPriority() + +
+           
+static VehicleRoutingAlgorithmListeners.PriorityVehicleRoutingAlgorithmListeners.Priority.valueOf(java.lang.String name) + +
+          Returns the enum constant of this type with the specified name.
+static VehicleRoutingAlgorithmListeners.Priority[]VehicleRoutingAlgorithmListeners.Priority.values() + +
+          Returns an array containing the constants of this enum type, in +the order they are declared.
+  +

+ + + + + + + + + +
Methods in basics.algo with parameters of type VehicleRoutingAlgorithmListeners.Priority
+ voidVehicleRoutingAlgorithmListeners.addListener(VehicleRoutingAlgorithmListener listener, + VehicleRoutingAlgorithmListeners.Priority priority) + +
+           
+  +

+ + + + + + + + +
Constructors in basics.algo with parameters of type VehicleRoutingAlgorithmListeners.Priority
VehicleRoutingAlgorithmListeners.PrioritizedVRAListener(VehicleRoutingAlgorithmListeners.Priority priority, + VehicleRoutingAlgorithmListener l) + +
+           
+  +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/doc/basics/algo/class-use/VehicleRoutingAlgorithmListeners.html b/doc/basics/algo/class-use/VehicleRoutingAlgorithmListeners.html new file mode 100644 index 00000000..775f46c0 --- /dev/null +++ b/doc/basics/algo/class-use/VehicleRoutingAlgorithmListeners.html @@ -0,0 +1,180 @@ + + + + + + +Uses of Class basics.algo.VehicleRoutingAlgorithmListeners + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Class
basics.algo.VehicleRoutingAlgorithmListeners

+
+ + + + + + + + + +
+Packages that use VehicleRoutingAlgorithmListeners
basics  
+  +

+ + + + + +
+Uses of VehicleRoutingAlgorithmListeners in basics
+  +

+ + + + + + + + + +
Methods in basics that return VehicleRoutingAlgorithmListeners
+ VehicleRoutingAlgorithmListenersVehicleRoutingAlgorithm.getAlgorithmListeners() + +
+           
+  +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/doc/basics/algo/package-frame.html b/doc/basics/algo/package-frame.html new file mode 100644 index 00000000..383c0c90 --- /dev/null +++ b/doc/basics/algo/package-frame.html @@ -0,0 +1,102 @@ + + + + + + +basics.algo + + + + + + + + + + + +basics.algo + + + + +
+Interfaces  + +
+AlgorithmEndsListener +
+AlgorithmStartsListener +
+InsertionEndsListener +
+InsertionListener +
+InsertionStartsListener +
+IterationEndsListener +
+IterationStartsListener +
+JobInsertedListener +
+PrematureAlgorithmBreaker +
+RuinListener +
+SearchStrategyListener +
+SearchStrategyModule +
+SearchStrategyModuleListener +
+StrategySelectedListener +
+VehicleRoutingAlgorithmFactory +
+VehicleRoutingAlgorithmListener
+ + + + + + +
+Classes  + +
+InsertionListeners +
+IterationWithoutImprovementBreaker +
+RuinListeners +
+SearchStrategy +
+SearchStrategy.DiscoveredSolution +
+SearchStrategyManager +
+TimeBreaker +
+VariationCoefficientBreaker +
+VehicleRoutingAlgorithmListeners +
+VehicleRoutingAlgorithmListeners.PrioritizedVRAListener
+ + + + + + +
+Enums  + +
+VehicleRoutingAlgorithmListeners.Priority
+ + + + diff --git a/doc/basics/algo/package-summary.html b/doc/basics/algo/package-summary.html new file mode 100644 index 00000000..cac421a2 --- /dev/null +++ b/doc/basics/algo/package-summary.html @@ -0,0 +1,281 @@ + + + + + + +basics.algo + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+

+Package basics.algo +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Interface Summary
AlgorithmEndsListener 
AlgorithmStartsListener 
InsertionEndsListener 
InsertionListener 
InsertionStartsListener 
IterationEndsListener 
IterationStartsListener 
JobInsertedListener 
PrematureAlgorithmBreaker 
RuinListenerListener that listens to the ruin-process.
SearchStrategyListener 
SearchStrategyModule 
SearchStrategyModuleListener 
StrategySelectedListener 
VehicleRoutingAlgorithmFactory 
VehicleRoutingAlgorithmListener 
+  + +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Class Summary
InsertionListeners 
IterationWithoutImprovementBreaker 
RuinListeners 
SearchStrategy 
SearchStrategy.DiscoveredSolution 
SearchStrategyManager 
TimeBreaker 
VariationCoefficientBreaker 
VehicleRoutingAlgorithmListeners 
VehicleRoutingAlgorithmListeners.PrioritizedVRAListener 
+  + +

+ + + + + + + + + +
+Enum Summary
VehicleRoutingAlgorithmListeners.Priority 
+  + +

+

+
+
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/doc/basics/algo/package-tree.html b/doc/basics/algo/package-tree.html new file mode 100644 index 00000000..6b1eb8bb --- /dev/null +++ b/doc/basics/algo/package-tree.html @@ -0,0 +1,177 @@ + + + + + + +basics.algo Class Hierarchy + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Hierarchy For Package basics.algo +

+
+
+
Package Hierarchies:
All Packages
+
+

+Class Hierarchy +

+ +

+Interface Hierarchy +

+ +

+Enum Hierarchy +

+ +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/doc/basics/algo/package-use.html b/doc/basics/algo/package-use.html new file mode 100644 index 00000000..9f41824a --- /dev/null +++ b/doc/basics/algo/package-use.html @@ -0,0 +1,414 @@ + + + + + + +Uses of Package basics.algo + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Package
basics.algo

+
+ + + + + + + + + + + + + + + + + + + + + + + + + +
+Packages that use basics.algo
algorithms  
algorithms.acceptors  
basics  
basics.algo  
util  
+  +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Classes in basics.algo used by algorithms
AlgorithmStartsListener + +
+           
InsertionEndsListener + +
+           
InsertionListener + +
+           
InsertionStartsListener + +
+           
IterationStartsListener + +
+           
JobInsertedListener + +
+           
RuinListener + +
+          Listener that listens to the ruin-process.
SearchStrategyModule + +
+           
SearchStrategyModuleListener + +
+           
VehicleRoutingAlgorithmFactory + +
+           
VehicleRoutingAlgorithmListener + +
+           
+  +

+ + + + + + + + + + + + + + +
+Classes in basics.algo used by algorithms.acceptors
AlgorithmStartsListener + +
+           
IterationStartsListener + +
+           
VehicleRoutingAlgorithmListener + +
+           
+  +

+ + + + + + + + + + + + + + +
+Classes in basics.algo used by basics
PrematureAlgorithmBreaker + +
+           
SearchStrategyManager + +
+           
VehicleRoutingAlgorithmListeners + +
+           
+  +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Classes in basics.algo used by basics.algo
AlgorithmStartsListener + +
+           
InsertionListener + +
+           
IterationEndsListener + +
+           
IterationStartsListener + +
+           
PrematureAlgorithmBreaker + +
+           
RuinListener + +
+          Listener that listens to the ruin-process.
SearchStrategy + +
+           
SearchStrategy.DiscoveredSolution + +
+           
SearchStrategyListener + +
+           
SearchStrategyModule + +
+           
SearchStrategyModuleListener + +
+           
VehicleRoutingAlgorithmListener + +
+           
VehicleRoutingAlgorithmListeners.PrioritizedVRAListener + +
+           
VehicleRoutingAlgorithmListeners.Priority + +
+           
+  +

+ + + + + + + + + + + +
+Classes in basics.algo used by util
AlgorithmStartsListener + +
+           
VehicleRoutingAlgorithmListener + +
+           
+  +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/doc/basics/class-use/Delivery.Builder.html b/doc/basics/class-use/Delivery.Builder.html new file mode 100644 index 00000000..5903951f --- /dev/null +++ b/doc/basics/class-use/Delivery.Builder.html @@ -0,0 +1,181 @@ + + + + + + +Uses of Class basics.Delivery.Builder + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Class
basics.Delivery.Builder

+
+ + + + + + + + + +
+Packages that use Delivery.Builder
basics  
+  +

+ + + + + +
+Uses of Delivery.Builder in basics
+  +

+ + + + + + + + + +
Methods in basics that return Delivery.Builder
+static Delivery.BuilderDelivery.Builder.newInstance(java.lang.String id, + int size) + +
+           
+  +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/doc/basics/class-use/Delivery.html b/doc/basics/class-use/Delivery.html new file mode 100644 index 00000000..4eadb75d --- /dev/null +++ b/doc/basics/class-use/Delivery.html @@ -0,0 +1,223 @@ + + + + + + +Uses of Class basics.Delivery + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Class
basics.Delivery

+
+ + + + + + + + + + + + + +
+Packages that use Delivery
basics  
basics.route  
+  +

+ + + + + +
+Uses of Delivery in basics
+  +

+ + + + + + + + + +
Methods in basics that return Delivery
+ DeliveryDelivery.Builder.build() + +
+           
+  +

+ + + + + +
+Uses of Delivery in basics.route
+  +

+ + + + + + + + + +
Methods in basics.route that return Delivery
+ DeliveryDeliveryActivity.getJob() + +
+           
+  +

+ + + + + + + + +
Constructors in basics.route with parameters of type Delivery
DeliveryActivity(Delivery delivery) + +
+           
+  +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/doc/basics/class-use/Job.html b/doc/basics/class-use/Job.html new file mode 100644 index 00000000..105a9043 --- /dev/null +++ b/doc/basics/class-use/Job.html @@ -0,0 +1,662 @@ + + + + + + +Uses of Interface basics.Job + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Interface
basics.Job

+
+ + + + + + + + + + + + + + + + + + + + + +
+Packages that use Job
algorithms  
basics  
basics.algo  
basics.route  
+  +

+ + + + + +
+Uses of Job in algorithms
+  +

+ + + + + + + + + +
Methods in algorithms that return Job
+ JobInsertionContext.getJob() + +
+           
+  +

+ + + + + + + + + + + + + +
Methods in algorithms that return types with arguments of type Job
+ java.util.Collection<Job>RuinStrategy.ruin(java.util.Collection<VehicleRoute> vehicleRoutes) + +
+          Ruins a current solution, i.e.
+ java.util.Collection<Job>RuinStrategy.ruin(java.util.Collection<VehicleRoute> vehicleRoutes, + Job targetJob, + int nOfJobs2BeRemoved) + +
+          Removes targetJob as well as its neighbors with a size of (nOfJobs2BeRemoved-1).
+  +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Methods in algorithms with parameters of type Job
+ doubleJobDistance.getDistance(Job i, + Job j) + +
+           
+ voidUpdateLoadsAtStartAndEndOfRouteWhenJobHasBeenInserted.informJobInserted(Job job2insert, + VehicleRoute inRoute, + double additionalCosts, + double additionalTime) + +
+           
+ voidUpdateCostsAtRouteLevel.informJobInserted(Job job2insert, + VehicleRoute inRoute, + double additionalCosts, + double additionalTime) + +
+           
+ voidStateUpdates.UpdateStates.informJobInserted(Job job2insert, + VehicleRoute inRoute, + double additionalCosts, + double additionalTime) + +
+           
+ voidStateManagerImpl.informJobInserted(Job job2insert, + VehicleRoute inRoute, + double additionalCosts, + double additionalTime) + +
+           
+ voidUpdateLoadAtRouteLevel.informJobInserted(Job job2insert, + VehicleRoute inRoute, + double additionalCosts, + double additionalTime) + +
+           
+ voidStateUpdates.UpdateStates.removed(Job job, + VehicleRoute fromRoute) + +
+           
+ voidStateManagerImpl.removed(Job job, + VehicleRoute fromRoute) + +
+           
+ java.util.Collection<Job>RuinStrategy.ruin(java.util.Collection<VehicleRoute> vehicleRoutes, + Job targetJob, + int nOfJobs2BeRemoved) + +
+          Removes targetJob as well as its neighbors with a size of (nOfJobs2BeRemoved-1).
+  +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Method parameters in algorithms with type arguments of type Job
+ voidUpdateCostsAtRouteLevel.informInsertionStarts(java.util.Collection<VehicleRoute> vehicleRoutes, + java.util.Collection<Job> unassignedJobs) + +
+           
+ voidStateManagerImpl.informInsertionStarts(java.util.Collection<VehicleRoute> vehicleRoutes, + java.util.Collection<Job> unassignedJobs) + +
+           
+ voidInitializeLoadsAtStartAndEndOfRouteWhenInsertionStarts.informInsertionStarts(java.util.Collection<VehicleRoute> vehicleRoutes, + java.util.Collection<Job> unassignedJobs) + +
+           
+ voidUpdateLoadAtRouteLevel.informInsertionStarts(java.util.Collection<VehicleRoute> vehicleRoutes, + java.util.Collection<Job> unassignedJobs) + +
+           
+ voidInsertionStrategy.insertJobs(java.util.Collection<VehicleRoute> vehicleRoutes, + java.util.Collection<Job> unassignedJobs) + +
+          Assigns the unassigned jobs to service-providers
+ voidStateUpdates.UpdateStates.ruinEnds(java.util.Collection<VehicleRoute> routes, + java.util.Collection<Job> unassignedJobs) + +
+           
+ voidStateManagerImpl.ruinEnds(java.util.Collection<VehicleRoute> routes, + java.util.Collection<Job> unassignedJobs) + +
+           
+  +

+ + + + + + + + +
Constructors in algorithms with parameters of type Job
InsertionContext(VehicleRoute route, + Job job, + Vehicle newVehicle, + Driver newDriver, + double newDepTime) + +
+           
+  +

+ + + + + +
+Uses of Job in basics
+  +

+ + + + + + + + + + + + + + + + + +
Classes in basics that implement Job
+ classDelivery + +
+           
+ classPickup + +
+           
+ classService + +
+           
+  +

+ + + + + + + + + +
Methods in basics that return types with arguments of type Job
+ java.util.Map<java.lang.String,Job>VehicleRoutingProblem.getJobs() + +
+          Returns the unmodifiable job map.
+  +

+ + + + + + + + + +
Methods in basics with parameters of type Job
+ VehicleRoutingProblem.BuilderVehicleRoutingProblem.Builder.addJob(Job job) + +
+          Adds a job which is either a service or a shipment.
+  +

+ + + + + + + + + +
Method parameters in basics with type arguments of type Job
+ VehicleRoutingProblem.BuilderVehicleRoutingProblem.Builder.addAllJobs(java.util.Collection<Job> jobs) + +
+          Adds a collection of jobs.
+  +

+ + + + + +
+Uses of Job in basics.algo
+  +

+ + + + + + + + + + + + + + + + + + + + + +
Methods in basics.algo with parameters of type Job
+ voidJobInsertedListener.informJobInserted(Job job2insert, + VehicleRoute inRoute, + double additionalCosts, + double additionalTime) + +
+           
+ voidInsertionListeners.jobInserted(Job job2insert, + VehicleRoute inRoute, + double additionalCosts, + double additionalTime) + +
+           
+ voidRuinListener.removed(Job job, + VehicleRoute fromRoute) + +
+          informs if a Job has been removed from a VehicleRoute.
+ voidRuinListeners.removed(Job job, + VehicleRoute fromRoute) + +
+           
+  +

+ + + + + + + + + + + + + + + + + + + + + +
Method parameters in basics.algo with type arguments of type Job
+ voidInsertionStartsListener.informInsertionStarts(java.util.Collection<VehicleRoute> vehicleRoutes, + java.util.Collection<Job> unassignedJobs) + +
+           
+ voidInsertionListeners.insertionStarts(java.util.Collection<VehicleRoute> vehicleRoutes, + java.util.Collection<Job> unassignedJobs) + +
+           
+ voidRuinListener.ruinEnds(java.util.Collection<VehicleRoute> routes, + java.util.Collection<Job> unassignedJobs) + +
+          informs about ruin-end.
+ voidRuinListeners.ruinEnds(java.util.Collection<VehicleRoute> routes, + java.util.Collection<Job> unassignedJobs) + +
+           
+  +

+ + + + + +
+Uses of Job in basics.route
+  +

+ + + + + + + + + +
Classes in basics.route with type parameters of type Job
+static interfaceTourActivity.JobActivity<T extends Job> + +
+           
+  +

+ + + + + + + + + +
Methods in basics.route that return types with arguments of type Job
+ java.util.Collection<Job>TourActivities.getJobs() + +
+           
+  +

+ + + + + + + + + + + + + +
Methods in basics.route with parameters of type Job
+ booleanTourActivities.removeJob(Job job) + +
+          Removes job AND belonging activity from tour and returns true if job has been removed, otherwise false.
+ booleanTourActivities.servesJob(Job job) + +
+           
+  +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/doc/basics/class-use/Pickup.Builder.html b/doc/basics/class-use/Pickup.Builder.html new file mode 100644 index 00000000..4aa517e6 --- /dev/null +++ b/doc/basics/class-use/Pickup.Builder.html @@ -0,0 +1,181 @@ + + + + + + +Uses of Class basics.Pickup.Builder + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Class
basics.Pickup.Builder

+
+ + + + + + + + + +
+Packages that use Pickup.Builder
basics  
+  +

+ + + + + +
+Uses of Pickup.Builder in basics
+  +

+ + + + + + + + + +
Methods in basics that return Pickup.Builder
+static Pickup.BuilderPickup.Builder.newInstance(java.lang.String id, + int size) + +
+           
+  +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/doc/basics/class-use/Pickup.html b/doc/basics/class-use/Pickup.html new file mode 100644 index 00000000..a1f87366 --- /dev/null +++ b/doc/basics/class-use/Pickup.html @@ -0,0 +1,223 @@ + + + + + + +Uses of Class basics.Pickup + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Class
basics.Pickup

+
+ + + + + + + + + + + + + +
+Packages that use Pickup
basics  
basics.route  
+  +

+ + + + + +
+Uses of Pickup in basics
+  +

+ + + + + + + + + +
Methods in basics that return Pickup
+ PickupPickup.Builder.build() + +
+           
+  +

+ + + + + +
+Uses of Pickup in basics.route
+  +

+ + + + + + + + + +
Methods in basics.route that return Pickup
+ PickupPickupActivity.getJob() + +
+           
+  +

+ + + + + + + + +
Constructors in basics.route with parameters of type Pickup
PickupActivity(Pickup pickup) + +
+           
+  +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/doc/basics/class-use/Service.Builder.html b/doc/basics/class-use/Service.Builder.html new file mode 100644 index 00000000..cc217539 --- /dev/null +++ b/doc/basics/class-use/Service.Builder.html @@ -0,0 +1,268 @@ + + + + + + +Uses of Class basics.Service.Builder + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Class
basics.Service.Builder

+
+ + + + + + + + + + + + + +
+Packages that use Service.Builder
basics  
basics.io  
+  +

+ + + + + +
+Uses of Service.Builder in basics
+  +

+ + + + + + + + + + + + + +
Subclasses of Service.Builder in basics
+static classDelivery.Builder + +
+           
+static classPickup.Builder + +
+           
+  +

+ + + + + + + + + + + + + + + + + + + + + + + + + +
Methods in basics that return Service.Builder
+static Service.BuilderService.Builder.newInstance(java.lang.String id, + int size) + +
+           
+ Service.BuilderService.Builder.setCoord(Coordinate coord) + +
+           
+ Service.BuilderService.Builder.setLocationId(java.lang.String locationId) + +
+           
+ Service.BuilderService.Builder.setServiceTime(double serviceTime) + +
+           
+ Service.BuilderService.Builder.setTimeWindow(TimeWindow tw) + +
+           
+  +

+ + + + + +
+Uses of Service.Builder in basics.io
+  +

+ + + + + + + + + +
Methods in basics.io that return Service.Builder
+ Service.BuilderVrpXMLReader.ServiceBuilderFactory.createBuilder(java.lang.String serviceType, + java.lang.String id, + int size) + +
+           
+  +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/doc/basics/class-use/Service.html b/doc/basics/class-use/Service.html new file mode 100644 index 00000000..c7f3e7ef --- /dev/null +++ b/doc/basics/class-use/Service.html @@ -0,0 +1,325 @@ + + + + + + +Uses of Class basics.Service + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Class
basics.Service

+
+ + + + + + + + + + + + + + + + + +
+Packages that use Service
basics  
basics.route  
util  
+  +

+ + + + + +
+Uses of Service in basics
+  +

+ + + + + + + + + + + + + +
Subclasses of Service in basics
+ classDelivery + +
+           
+ classPickup + +
+           
+  +

+ + + + + + + + + +
Methods in basics that return Service
+ ServiceService.Builder.build() + +
+           
+  +

+ + + + + + + + + +
Methods in basics that return types with arguments of type Service
+ java.util.Collection<Service>VehicleRoutingProblem.Builder.getAddedServices() + +
+          Gets an unmodifiable collection of already added services.
+  +

+ + + + + + + + + +
Methods in basics with parameters of type Service
+ VehicleRoutingProblem.BuilderVehicleRoutingProblem.Builder.addService(Service service) + +
+          Adds a service to jobList.
+  +

+ + + + + +
+Uses of Service in basics.route
+  +

+ + + + + + + + + +
Methods in basics.route that return Service
+ ServiceServiceActivity.getJob() + +
+           
+  +

+ + + + + + + + + + + + + + + + + +
Methods in basics.route with parameters of type Service
+ TourActivityDefaultTourActivityFactory.createActivity(Service service) + +
+           
+ TourActivityTourActivityFactory.createActivity(Service service) + +
+           
+static ServiceActivityServiceActivity.newInstance(Service service) + +
+           
+  +

+ + + + + +
+Uses of Service in util
+  +

+ + + + + + + + +
Constructor parameters in util with type arguments of type Service
NeighborhoodImpl(java.util.Collection<Vehicle> vehicles, + java.util.Collection<Service> services) + +
+           
+  +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/doc/basics/class-use/VehicleRoutingAlgorithm.html b/doc/basics/class-use/VehicleRoutingAlgorithm.html new file mode 100644 index 00000000..b1397541 --- /dev/null +++ b/doc/basics/class-use/VehicleRoutingAlgorithm.html @@ -0,0 +1,390 @@ + + + + + + +Uses of Class basics.VehicleRoutingAlgorithm + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Class
basics.VehicleRoutingAlgorithm

+
+ + + + + + + + + + + + + + + + + + + + + +
+Packages that use VehicleRoutingAlgorithm
algorithms  
algorithms.acceptors  
basics.algo  
util  
+  +

+ + + + + +
+Uses of VehicleRoutingAlgorithm in algorithms
+  +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Methods in algorithms that return VehicleRoutingAlgorithm
+ VehicleRoutingAlgorithmGreedySchrimpfFactory.createAlgorithm(VehicleRoutingProblem vrp) + +
+          Creates the VehicleRoutingAlgorithm.
+ VehicleRoutingAlgorithmSchrimpfFactory.createAlgorithm(VehicleRoutingProblem vrp) + +
+          Creates the VehicleRoutingAlgorithm.
+static VehicleRoutingAlgorithmVehicleRoutingAlgorithms.createAlgorithm(VehicleRoutingProblem vrp, + AlgorithmConfig algorithmConfig) + +
+          Creates a VehicleRoutingAlgorithm from a AlgorithConfig based on the input vrp.
+static VehicleRoutingAlgorithmVehicleRoutingAlgorithms.readAndCreateAlgorithm(VehicleRoutingProblem vrp, + java.lang.String configFileName) + +
+          Read and creates VehicleRoutingAlgorithm from config-file.
+static VehicleRoutingAlgorithmVehicleRoutingAlgorithms.readAndCreateAlgorithm(VehicleRoutingProblem vrp, + java.net.URL configURL) + +
+          Read and creates a VehicleRoutingAlgorithm from an url.
+static VehicleRoutingAlgorithmVehicleRoutingAlgorithms.readAndCreateAlgorithm(VehicleRoutingProblem vrp, + org.apache.commons.configuration.XMLConfiguration config) + +
+          Deprecated. 
+  +

+ + + + + + + + + +
Methods in algorithms with parameters of type VehicleRoutingAlgorithm
+ voidNeighborhoodThresholdInitialiser.informAlgorithmStarts(VehicleRoutingProblem problem, + VehicleRoutingAlgorithm algorithm, + java.util.Collection<VehicleRoutingProblemSolution> solutions) + +
+           
+  +

+ + + + + +
+Uses of VehicleRoutingAlgorithm in algorithms.acceptors
+  +

+ + + + + + + + + +
Methods in algorithms.acceptors with parameters of type VehicleRoutingAlgorithm
+ voidSchrimpfAcceptance.informAlgorithmStarts(VehicleRoutingProblem problem, + VehicleRoutingAlgorithm algorithm, + java.util.Collection<VehicleRoutingProblemSolution> solutions) + +
+           
+  +

+ + + + + +
+Uses of VehicleRoutingAlgorithm in basics.algo
+  +

+ + + + + + + + + +
Methods in basics.algo that return VehicleRoutingAlgorithm
+ VehicleRoutingAlgorithmVehicleRoutingAlgorithmFactory.createAlgorithm(VehicleRoutingProblem vrp) + +
+           
+  +

+ + + + + + + + + + + + + + + + + + + + + +
Methods in basics.algo with parameters of type VehicleRoutingAlgorithm
+ voidVehicleRoutingAlgorithmListeners.algorithmStarts(VehicleRoutingProblem problem, + VehicleRoutingAlgorithm algorithm, + java.util.Collection<VehicleRoutingProblemSolution> solutions) + +
+           
+ voidAlgorithmStartsListener.informAlgorithmStarts(VehicleRoutingProblem problem, + VehicleRoutingAlgorithm algorithm, + java.util.Collection<VehicleRoutingProblemSolution> solutions) + +
+           
+ voidTimeBreaker.informAlgorithmStarts(VehicleRoutingProblem problem, + VehicleRoutingAlgorithm algorithm, + java.util.Collection<VehicleRoutingProblemSolution> solutions) + +
+           
+ voidVariationCoefficientBreaker.informAlgorithmStarts(VehicleRoutingProblem problem, + VehicleRoutingAlgorithm algorithm, + java.util.Collection<VehicleRoutingProblemSolution> solutions) + +
+           
+  +

+ + + + + +
+Uses of VehicleRoutingAlgorithm in util
+  +

+ + + + + + + + + + + + + +
Methods in util with parameters of type VehicleRoutingAlgorithm
+ voidVrpVerifier.informAlgorithmStarts(VehicleRoutingProblem problem, + VehicleRoutingAlgorithm algorithm, + java.util.Collection<VehicleRoutingProblemSolution> solutions) + +
+           
+ voidVrpVerifier.verify(VehicleRoutingProblem pblm, + VehicleRoutingAlgorithm vra) + +
+           
+  +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/doc/basics/class-use/VehicleRoutingProblem.Builder.html b/doc/basics/class-use/VehicleRoutingProblem.Builder.html new file mode 100644 index 00000000..b4010f63 --- /dev/null +++ b/doc/basics/class-use/VehicleRoutingProblem.Builder.html @@ -0,0 +1,311 @@ + + + + + + +Uses of Class basics.VehicleRoutingProblem.Builder + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Class
basics.VehicleRoutingProblem.Builder

+
+ + + + + + + + + + + + + +
+Packages that use VehicleRoutingProblem.Builder
basics  
basics.io  
+  +

+ + + + + +
+Uses of VehicleRoutingProblem.Builder in basics
+  +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Methods in basics that return VehicleRoutingProblem.Builder
+ VehicleRoutingProblem.BuilderVehicleRoutingProblem.Builder.addAllJobs(java.util.Collection<Job> jobs) + +
+          Adds a collection of jobs.
+ VehicleRoutingProblem.BuilderVehicleRoutingProblem.Builder.addAllVehicles(java.util.Collection<Vehicle> vehicles) + +
+          Adds a collection of vehicles.
+ VehicleRoutingProblem.BuilderVehicleRoutingProblem.Builder.addJob(Job job) + +
+          Adds a job which is either a service or a shipment.
+ VehicleRoutingProblem.BuilderVehicleRoutingProblem.Builder.addLocation(java.lang.String id, + Coordinate coord) + +
+           
+ VehicleRoutingProblem.BuilderVehicleRoutingProblem.Builder.addService(Service service) + +
+          Adds a service to jobList.
+ VehicleRoutingProblem.BuilderVehicleRoutingProblem.Builder.addVehicle(Vehicle vehicle) + +
+          Adds a vehicle.
+ VehicleRoutingProblem.BuilderVehicleRoutingProblem.Builder.addVehicleType(VehicleType type) + +
+          Adds a vehicleType.
+static VehicleRoutingProblem.BuilderVehicleRoutingProblem.Builder.newInstance() + +
+          Returns a new instance of this builder.
+ VehicleRoutingProblem.BuilderVehicleRoutingProblem.Builder.setActivityCosts(VehicleRoutingActivityCosts activityCosts) + +
+          Sets the activityCostFunction that considers also activities on a vehicle-route.
+ VehicleRoutingProblem.BuilderVehicleRoutingProblem.Builder.setFleetComposition(VehicleRoutingProblem.FleetComposition fleetComposition) + +
+          Sets the fleetComposition.
+ VehicleRoutingProblem.BuilderVehicleRoutingProblem.Builder.setFleetSize(VehicleRoutingProblem.FleetSize fleetSize) + +
+          Sets the type of fleetSize.
+ VehicleRoutingProblem.BuilderVehicleRoutingProblem.Builder.setNeighborhood(Neighborhood neighborhood) + +
+          Sets the neighborhood.
+ VehicleRoutingProblem.BuilderVehicleRoutingProblem.Builder.setRoutingCost(VehicleRoutingTransportCosts costs) + +
+          Sets routing costs.
+  +

+ + + + + +
+Uses of VehicleRoutingProblem.Builder in basics.io
+  +

+ + + + + + + + + + + +
Constructors in basics.io with parameters of type VehicleRoutingProblem.Builder
VrpXMLReader(VehicleRoutingProblem.Builder vrpBuilder) + +
+           
VrpXMLReader(VehicleRoutingProblem.Builder vrpBuilder, + java.util.Collection<VehicleRoutingProblemSolution> solutions) + +
+           
+  +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/doc/basics/class-use/VehicleRoutingProblem.Constraint.html b/doc/basics/class-use/VehicleRoutingProblem.Constraint.html new file mode 100644 index 00000000..f0324484 --- /dev/null +++ b/doc/basics/class-use/VehicleRoutingProblem.Constraint.html @@ -0,0 +1,221 @@ + + + + + + +Uses of Class basics.VehicleRoutingProblem.Constraint + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Class
basics.VehicleRoutingProblem.Constraint

+
+ + + + + + + + + +
+Packages that use VehicleRoutingProblem.Constraint
basics  
+  +

+ + + + + +
+Uses of VehicleRoutingProblem.Constraint in basics
+  +

+ + + + + + + + + + + + + +
Methods in basics that return VehicleRoutingProblem.Constraint
+static VehicleRoutingProblem.ConstraintVehicleRoutingProblem.Constraint.valueOf(java.lang.String name) + +
+          Returns the enum constant of this type with the specified name.
+static VehicleRoutingProblem.Constraint[]VehicleRoutingProblem.Constraint.values() + +
+          Returns an array containing the constants of this enum type, in +the order they are declared.
+  +

+ + + + + + + + + +
Methods in basics that return types with arguments of type VehicleRoutingProblem.Constraint
+ java.util.Collection<VehicleRoutingProblem.Constraint>VehicleRoutingProblem.getProblemConstraints() + +
+          Returns unmodifiable collection of problem-constraints.
+  +

+ + + + + + + + + +
Methods in basics with parameters of type VehicleRoutingProblem.Constraint
+ voidVehicleRoutingProblem.Builder.addProblemConstraint(VehicleRoutingProblem.Constraint constraint) + +
+           
+  +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/doc/basics/class-use/VehicleRoutingProblem.FleetComposition.html b/doc/basics/class-use/VehicleRoutingProblem.FleetComposition.html new file mode 100644 index 00000000..94084cf5 --- /dev/null +++ b/doc/basics/class-use/VehicleRoutingProblem.FleetComposition.html @@ -0,0 +1,213 @@ + + + + + + +Uses of Class basics.VehicleRoutingProblem.FleetComposition + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Class
basics.VehicleRoutingProblem.FleetComposition

+
+ + + + + + + + + +
+Packages that use VehicleRoutingProblem.FleetComposition
basics  
+  +

+ + + + + +
+Uses of VehicleRoutingProblem.FleetComposition in basics
+  +

+ + + + + + + + + + + + + + + + + +
Methods in basics that return VehicleRoutingProblem.FleetComposition
+ VehicleRoutingProblem.FleetCompositionVehicleRoutingProblem.getFleetComposition() + +
+          Returns fleet-composition.
+static VehicleRoutingProblem.FleetCompositionVehicleRoutingProblem.FleetComposition.valueOf(java.lang.String name) + +
+          Returns the enum constant of this type with the specified name.
+static VehicleRoutingProblem.FleetComposition[]VehicleRoutingProblem.FleetComposition.values() + +
+          Returns an array containing the constants of this enum type, in +the order they are declared.
+  +

+ + + + + + + + + +
Methods in basics with parameters of type VehicleRoutingProblem.FleetComposition
+ VehicleRoutingProblem.BuilderVehicleRoutingProblem.Builder.setFleetComposition(VehicleRoutingProblem.FleetComposition fleetComposition) + +
+          Sets the fleetComposition.
+  +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/doc/basics/class-use/VehicleRoutingProblem.FleetSize.html b/doc/basics/class-use/VehicleRoutingProblem.FleetSize.html new file mode 100644 index 00000000..829d9466 --- /dev/null +++ b/doc/basics/class-use/VehicleRoutingProblem.FleetSize.html @@ -0,0 +1,213 @@ + + + + + + +Uses of Class basics.VehicleRoutingProblem.FleetSize + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Class
basics.VehicleRoutingProblem.FleetSize

+
+ + + + + + + + + +
+Packages that use VehicleRoutingProblem.FleetSize
basics  
+  +

+ + + + + +
+Uses of VehicleRoutingProblem.FleetSize in basics
+  +

+ + + + + + + + + + + + + + + + + +
Methods in basics that return VehicleRoutingProblem.FleetSize
+ VehicleRoutingProblem.FleetSizeVehicleRoutingProblem.getFleetSize() + +
+          Returns type of fleetSize, either INFINITE or FINITE.
+static VehicleRoutingProblem.FleetSizeVehicleRoutingProblem.FleetSize.valueOf(java.lang.String name) + +
+          Returns the enum constant of this type with the specified name.
+static VehicleRoutingProblem.FleetSize[]VehicleRoutingProblem.FleetSize.values() + +
+          Returns an array containing the constants of this enum type, in +the order they are declared.
+  +

+ + + + + + + + + +
Methods in basics with parameters of type VehicleRoutingProblem.FleetSize
+ VehicleRoutingProblem.BuilderVehicleRoutingProblem.Builder.setFleetSize(VehicleRoutingProblem.FleetSize fleetSize) + +
+          Sets the type of fleetSize.
+  +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/doc/basics/class-use/VehicleRoutingProblem.html b/doc/basics/class-use/VehicleRoutingProblem.html new file mode 100644 index 00000000..46365d35 --- /dev/null +++ b/doc/basics/class-use/VehicleRoutingProblem.html @@ -0,0 +1,683 @@ + + + + + + +Uses of Class basics.VehicleRoutingProblem + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Class
basics.VehicleRoutingProblem

+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Packages that use VehicleRoutingProblem
algorithms  
algorithms.acceptors  
basics  
basics.algo  
basics.io  
util  
+  +

+ + + + + +
+Uses of VehicleRoutingProblem in algorithms
+  +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Methods in algorithms with parameters of type VehicleRoutingProblem
+ VehicleRoutingAlgorithmGreedySchrimpfFactory.createAlgorithm(VehicleRoutingProblem vrp) + +
+          Creates the VehicleRoutingAlgorithm.
+ VehicleRoutingAlgorithmSchrimpfFactory.createAlgorithm(VehicleRoutingProblem vrp) + +
+          Creates the VehicleRoutingAlgorithm.
+static VehicleRoutingAlgorithmVehicleRoutingAlgorithms.createAlgorithm(VehicleRoutingProblem vrp, + AlgorithmConfig algorithmConfig) + +
+          Creates a VehicleRoutingAlgorithm from a AlgorithConfig based on the input vrp.
+ VehicleRoutingProblemSolutionBestInsertionInitialSolutionFactory.createSolution(VehicleRoutingProblem vrp) + +
+           
+ VehicleRoutingProblemSolutionInitialSolutionFactory.createSolution(VehicleRoutingProblem vrp) + +
+           
+ RuinStrategyRadialRuinStrategyFactory.createStrategy(VehicleRoutingProblem vrp) + +
+           
+ RuinStrategyRuinStrategyFactory.createStrategy(VehicleRoutingProblem vrp) + +
+           
+ RuinStrategyRandomRuinStrategyFactory.createStrategy(VehicleRoutingProblem vrp) + +
+           
+ voidNeighborhoodThresholdInitialiser.informAlgorithmStarts(VehicleRoutingProblem problem, + VehicleRoutingAlgorithm algorithm, + java.util.Collection<VehicleRoutingProblemSolution> solutions) + +
+           
+ voidStateManagerImpl.informIterationStarts(int i, + VehicleRoutingProblem problem, + java.util.Collection<VehicleRoutingProblemSolution> solutions) + +
+           
+ voidNeighborhoodThresholdInitialiser.initialise(VehicleRoutingProblem problem) + +
+           
+static VehicleRoutingAlgorithmVehicleRoutingAlgorithms.readAndCreateAlgorithm(VehicleRoutingProblem vrp, + java.lang.String configFileName) + +
+          Read and creates VehicleRoutingAlgorithm from config-file.
+static VehicleRoutingAlgorithmVehicleRoutingAlgorithms.readAndCreateAlgorithm(VehicleRoutingProblem vrp, + java.net.URL configURL) + +
+          Read and creates a VehicleRoutingAlgorithm from an url.
+static VehicleRoutingAlgorithmVehicleRoutingAlgorithms.readAndCreateAlgorithm(VehicleRoutingProblem vrp, + org.apache.commons.configuration.XMLConfiguration config) + +
+          Deprecated. 
+  +

+ + + + + + + + +
Constructors in algorithms with parameters of type VehicleRoutingProblem
BestInsertionBuilder(VehicleRoutingProblem vrp, + StateManager stateManager) + +
+           
+  +

+ + + + + +
+Uses of VehicleRoutingProblem in algorithms.acceptors
+  +

+ + + + + + + + + + + + + +
Methods in algorithms.acceptors with parameters of type VehicleRoutingProblem
+ voidSchrimpfAcceptance.informAlgorithmStarts(VehicleRoutingProblem problem, + VehicleRoutingAlgorithm algorithm, + java.util.Collection<VehicleRoutingProblemSolution> solutions) + +
+           
+ voidSchrimpfAcceptance.informIterationStarts(int i, + VehicleRoutingProblem problem, + java.util.Collection<VehicleRoutingProblemSolution> solutions) + +
+           
+  +

+ + + + + +
+Uses of VehicleRoutingProblem in basics
+  +

+ + + + + + + + + +
Methods in basics that return VehicleRoutingProblem
+ VehicleRoutingProblemVehicleRoutingProblem.Builder.build() + +
+          Builds the VehicleRoutingProblem.
+  +

+ + + + + + + + + + + +
Constructors in basics with parameters of type VehicleRoutingProblem
VehicleRoutingAlgorithm(VehicleRoutingProblem problem, + java.util.Collection<VehicleRoutingProblemSolution> initialSolutions, + SearchStrategyManager searchStrategyManager) + +
+           
VehicleRoutingAlgorithm(VehicleRoutingProblem problem, + SearchStrategyManager searchStrategyManager) + +
+           
+  +

+ + + + + +
+Uses of VehicleRoutingProblem in basics.algo
+  +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Methods in basics.algo with parameters of type VehicleRoutingProblem
+ voidVehicleRoutingAlgorithmListeners.algorithmEnds(VehicleRoutingProblem problem, + java.util.Collection<VehicleRoutingProblemSolution> solutions) + +
+           
+ voidVehicleRoutingAlgorithmListeners.algorithmStarts(VehicleRoutingProblem problem, + VehicleRoutingAlgorithm algorithm, + java.util.Collection<VehicleRoutingProblemSolution> solutions) + +
+           
+ VehicleRoutingAlgorithmVehicleRoutingAlgorithmFactory.createAlgorithm(VehicleRoutingProblem vrp) + +
+           
+ voidAlgorithmEndsListener.informAlgorithmEnds(VehicleRoutingProblem problem, + java.util.Collection<VehicleRoutingProblemSolution> solutions) + +
+           
+ voidAlgorithmStartsListener.informAlgorithmStarts(VehicleRoutingProblem problem, + VehicleRoutingAlgorithm algorithm, + java.util.Collection<VehicleRoutingProblemSolution> solutions) + +
+           
+ voidTimeBreaker.informAlgorithmStarts(VehicleRoutingProblem problem, + VehicleRoutingAlgorithm algorithm, + java.util.Collection<VehicleRoutingProblemSolution> solutions) + +
+           
+ voidVariationCoefficientBreaker.informAlgorithmStarts(VehicleRoutingProblem problem, + VehicleRoutingAlgorithm algorithm, + java.util.Collection<VehicleRoutingProblemSolution> solutions) + +
+           
+ voidIterationEndsListener.informIterationEnds(int i, + VehicleRoutingProblem problem, + java.util.Collection<VehicleRoutingProblemSolution> solutions) + +
+           
+ voidVariationCoefficientBreaker.informIterationEnds(int i, + VehicleRoutingProblem problem, + java.util.Collection<VehicleRoutingProblemSolution> solutions) + +
+           
+ voidIterationStartsListener.informIterationStarts(int i, + VehicleRoutingProblem problem, + java.util.Collection<VehicleRoutingProblemSolution> solutions) + +
+           
+ voidVariationCoefficientBreaker.informIterationStarts(int i, + VehicleRoutingProblem problem, + java.util.Collection<VehicleRoutingProblemSolution> solutions) + +
+           
+ voidStrategySelectedListener.informSelectedStrategy(java.lang.String strategyName, + VehicleRoutingProblem problem, + java.util.Collection<VehicleRoutingProblemSolution> solutions) + +
+           
+ voidVehicleRoutingAlgorithmListeners.iterationEnds(int i, + VehicleRoutingProblem problem, + java.util.Collection<VehicleRoutingProblemSolution> solutions) + +
+           
+ voidVehicleRoutingAlgorithmListeners.iterationStarts(int i, + VehicleRoutingProblem problem, + java.util.Collection<VehicleRoutingProblemSolution> solutions) + +
+           
+ SearchStrategy.DiscoveredSolutionSearchStrategy.run(VehicleRoutingProblem vrp, + java.util.Collection<VehicleRoutingProblemSolution> solutions) + +
+          Runs the search-strategy and its according modules, and returns DiscoveredSolution.
+ voidVehicleRoutingAlgorithmListeners.selectedStrategy(java.lang.String name, + VehicleRoutingProblem problem, + java.util.Collection<VehicleRoutingProblemSolution> solutions) + +
+           
+  +

+ + + + + +
+Uses of VehicleRoutingProblem in basics.io
+  +

+ + + + + + + + + + + +
Constructors in basics.io with parameters of type VehicleRoutingProblem
VrpXMLWriter(VehicleRoutingProblem vrp) + +
+           
VrpXMLWriter(VehicleRoutingProblem vrp, + java.util.Collection<VehicleRoutingProblemSolution> solutions) + +
+           
+  +

+ + + + + +
+Uses of VehicleRoutingProblem in util
+  +

+ + + + + + + + + +
Fields in util declared as VehicleRoutingProblem
+ VehicleRoutingProblemBenchmarkInstance.vrp + +
+           
+  +

+ + + + + + + + + + + + + +
Methods in util with parameters of type VehicleRoutingProblem
+ voidVrpVerifier.informAlgorithmStarts(VehicleRoutingProblem problem, + VehicleRoutingAlgorithm algorithm, + java.util.Collection<VehicleRoutingProblemSolution> solutions) + +
+           
+ voidVrpVerifier.verify(VehicleRoutingProblem pblm, + VehicleRoutingAlgorithm vra) + +
+           
+  +

+ + + + + + + + +
Constructors in util with parameters of type VehicleRoutingProblem
BenchmarkInstance(java.lang.String name, + VehicleRoutingProblem vrp, + java.lang.Double bestKnownResult, + java.lang.Double bestKnowVehicles) + +
+           
+  +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/doc/basics/class-use/VehicleRoutingProblemSolution.html b/doc/basics/class-use/VehicleRoutingProblemSolution.html new file mode 100644 index 00000000..05480e55 --- /dev/null +++ b/doc/basics/class-use/VehicleRoutingProblemSolution.html @@ -0,0 +1,853 @@ + + + + + + +Uses of Class basics.VehicleRoutingProblemSolution + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Class
basics.VehicleRoutingProblemSolution

+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Packages that use VehicleRoutingProblemSolution
algorithms  
algorithms.acceptors  
algorithms.selectors  
basics  
basics.algo  
basics.io  
util  
+  +

+ + + + + +
+Uses of VehicleRoutingProblemSolution in algorithms
+  +

+ + + + + + + + + + + + + + + + + +
Methods in algorithms that return VehicleRoutingProblemSolution
+ VehicleRoutingProblemSolutionBestInsertionInitialSolutionFactory.createSolution(VehicleRoutingProblem vrp) + +
+           
+ VehicleRoutingProblemSolutionInitialSolutionFactory.createSolution(VehicleRoutingProblem vrp) + +
+           
+ VehicleRoutingProblemSolutionRuinAndRecreateModule.runAndGetSolution(VehicleRoutingProblemSolution vrpSolution) + +
+           
+  +

+ + + + + + + + + +
Methods in algorithms with parameters of type VehicleRoutingProblemSolution
+ VehicleRoutingProblemSolutionRuinAndRecreateModule.runAndGetSolution(VehicleRoutingProblemSolution vrpSolution) + +
+           
+  +

+ + + + + + + + + + + + + +
Method parameters in algorithms with type arguments of type VehicleRoutingProblemSolution
+ voidNeighborhoodThresholdInitialiser.informAlgorithmStarts(VehicleRoutingProblem problem, + VehicleRoutingAlgorithm algorithm, + java.util.Collection<VehicleRoutingProblemSolution> solutions) + +
+           
+ voidStateManagerImpl.informIterationStarts(int i, + VehicleRoutingProblem problem, + java.util.Collection<VehicleRoutingProblemSolution> solutions) + +
+           
+  +

+ + + + + +
+Uses of VehicleRoutingProblemSolution in algorithms.acceptors
+  +

+ + + + + + + + + + + + + + + + + + + + + +
Methods in algorithms.acceptors with parameters of type VehicleRoutingProblemSolution
+ booleanAcceptNewRemoveFirst.acceptSolution(java.util.Collection<VehicleRoutingProblemSolution> solutions, + VehicleRoutingProblemSolution newSolution) + +
+          Accepts every solution if solution memory allows.
+ booleanAcceptNewIfBetterThanWorst.acceptSolution(java.util.Collection<VehicleRoutingProblemSolution> solutions, + VehicleRoutingProblemSolution newSolution) + +
+          Accepts every solution if solution memory allows.
+ booleanSchrimpfAcceptance.acceptSolution(java.util.Collection<VehicleRoutingProblemSolution> solutions, + VehicleRoutingProblemSolution newSolution) + +
+           
+ booleanSolutionAcceptor.acceptSolution(java.util.Collection<VehicleRoutingProblemSolution> solutions, + VehicleRoutingProblemSolution newSolution) + +
+          Accepts solution or not, and returns true if a new solution has been accepted.
+  +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Method parameters in algorithms.acceptors with type arguments of type VehicleRoutingProblemSolution
+ booleanAcceptNewRemoveFirst.acceptSolution(java.util.Collection<VehicleRoutingProblemSolution> solutions, + VehicleRoutingProblemSolution newSolution) + +
+          Accepts every solution if solution memory allows.
+ booleanAcceptNewIfBetterThanWorst.acceptSolution(java.util.Collection<VehicleRoutingProblemSolution> solutions, + VehicleRoutingProblemSolution newSolution) + +
+          Accepts every solution if solution memory allows.
+ booleanSchrimpfAcceptance.acceptSolution(java.util.Collection<VehicleRoutingProblemSolution> solutions, + VehicleRoutingProblemSolution newSolution) + +
+           
+ booleanSolutionAcceptor.acceptSolution(java.util.Collection<VehicleRoutingProblemSolution> solutions, + VehicleRoutingProblemSolution newSolution) + +
+          Accepts solution or not, and returns true if a new solution has been accepted.
+ voidSchrimpfAcceptance.informAlgorithmStarts(VehicleRoutingProblem problem, + VehicleRoutingAlgorithm algorithm, + java.util.Collection<VehicleRoutingProblemSolution> solutions) + +
+           
+ voidSchrimpfAcceptance.informIterationStarts(int i, + VehicleRoutingProblem problem, + java.util.Collection<VehicleRoutingProblemSolution> solutions) + +
+           
+  +

+ + + + + +
+Uses of VehicleRoutingProblemSolution in algorithms.selectors
+  +

+ + + + + + + + + + + + + + + + + +
Methods in algorithms.selectors that return VehicleRoutingProblemSolution
+ VehicleRoutingProblemSolutionSelectRandomly.selectSolution(java.util.Collection<VehicleRoutingProblemSolution> solutions) + +
+           
+ VehicleRoutingProblemSolutionSelectBest.selectSolution(java.util.Collection<VehicleRoutingProblemSolution> solutions) + +
+           
+ VehicleRoutingProblemSolutionSolutionSelector.selectSolution(java.util.Collection<VehicleRoutingProblemSolution> solutions) + +
+           
+  +

+ + + + + + + + + + + + + + + + + +
Method parameters in algorithms.selectors with type arguments of type VehicleRoutingProblemSolution
+ VehicleRoutingProblemSolutionSelectRandomly.selectSolution(java.util.Collection<VehicleRoutingProblemSolution> solutions) + +
+           
+ VehicleRoutingProblemSolutionSelectBest.selectSolution(java.util.Collection<VehicleRoutingProblemSolution> solutions) + +
+           
+ VehicleRoutingProblemSolutionSolutionSelector.selectSolution(java.util.Collection<VehicleRoutingProblemSolution> solutions) + +
+           
+  +

+ + + + + +
+Uses of VehicleRoutingProblemSolution in basics
+  +

+ + + + + + + + + +
Methods in basics that return VehicleRoutingProblemSolution
+static VehicleRoutingProblemSolutionVehicleRoutingProblemSolution.copyOf(VehicleRoutingProblemSolution solution2copy) + +
+          Makes a deep copy of the solution to be copied.
+  +

+ + + + + + + + + +
Methods in basics that return types with arguments of type VehicleRoutingProblemSolution
+ java.util.Collection<VehicleRoutingProblemSolution>VehicleRoutingAlgorithm.searchSolutions() + +
+          Runs the vehicle routing algorithm and returns a number of generated solutions.
+  +

+ + + + + + + + + + + + + +
Methods in basics with parameters of type VehicleRoutingProblemSolution
+ voidVehicleRoutingAlgorithm.addInitialSolution(VehicleRoutingProblemSolution solution) + +
+          Adds solution to the collection of initial solutions.
+static VehicleRoutingProblemSolutionVehicleRoutingProblemSolution.copyOf(VehicleRoutingProblemSolution solution2copy) + +
+          Makes a deep copy of the solution to be copied.
+  +

+ + + + + + + + +
Constructor parameters in basics with type arguments of type VehicleRoutingProblemSolution
VehicleRoutingAlgorithm(VehicleRoutingProblem problem, + java.util.Collection<VehicleRoutingProblemSolution> initialSolutions, + SearchStrategyManager searchStrategyManager) + +
+           
+  +

+ + + + + +
+Uses of VehicleRoutingProblemSolution in basics.algo
+  +

+ + + + + + + + + + + + + +
Methods in basics.algo that return VehicleRoutingProblemSolution
+ VehicleRoutingProblemSolutionSearchStrategy.DiscoveredSolution.getSolution() + +
+           
+ VehicleRoutingProblemSolutionSearchStrategyModule.runAndGetSolution(VehicleRoutingProblemSolution vrpSolution) + +
+           
+  +

+ + + + + + + + + +
Methods in basics.algo with parameters of type VehicleRoutingProblemSolution
+ VehicleRoutingProblemSolutionSearchStrategyModule.runAndGetSolution(VehicleRoutingProblemSolution vrpSolution) + +
+           
+  +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Method parameters in basics.algo with type arguments of type VehicleRoutingProblemSolution
+ voidVehicleRoutingAlgorithmListeners.algorithmEnds(VehicleRoutingProblem problem, + java.util.Collection<VehicleRoutingProblemSolution> solutions) + +
+           
+ voidVehicleRoutingAlgorithmListeners.algorithmStarts(VehicleRoutingProblem problem, + VehicleRoutingAlgorithm algorithm, + java.util.Collection<VehicleRoutingProblemSolution> solutions) + +
+           
+ voidAlgorithmEndsListener.informAlgorithmEnds(VehicleRoutingProblem problem, + java.util.Collection<VehicleRoutingProblemSolution> solutions) + +
+           
+ voidAlgorithmStartsListener.informAlgorithmStarts(VehicleRoutingProblem problem, + VehicleRoutingAlgorithm algorithm, + java.util.Collection<VehicleRoutingProblemSolution> solutions) + +
+           
+ voidTimeBreaker.informAlgorithmStarts(VehicleRoutingProblem problem, + VehicleRoutingAlgorithm algorithm, + java.util.Collection<VehicleRoutingProblemSolution> solutions) + +
+           
+ voidVariationCoefficientBreaker.informAlgorithmStarts(VehicleRoutingProblem problem, + VehicleRoutingAlgorithm algorithm, + java.util.Collection<VehicleRoutingProblemSolution> solutions) + +
+           
+ voidIterationEndsListener.informIterationEnds(int i, + VehicleRoutingProblem problem, + java.util.Collection<VehicleRoutingProblemSolution> solutions) + +
+           
+ voidVariationCoefficientBreaker.informIterationEnds(int i, + VehicleRoutingProblem problem, + java.util.Collection<VehicleRoutingProblemSolution> solutions) + +
+           
+ voidIterationStartsListener.informIterationStarts(int i, + VehicleRoutingProblem problem, + java.util.Collection<VehicleRoutingProblemSolution> solutions) + +
+           
+ voidVariationCoefficientBreaker.informIterationStarts(int i, + VehicleRoutingProblem problem, + java.util.Collection<VehicleRoutingProblemSolution> solutions) + +
+           
+ voidStrategySelectedListener.informSelectedStrategy(java.lang.String strategyName, + VehicleRoutingProblem problem, + java.util.Collection<VehicleRoutingProblemSolution> solutions) + +
+           
+ voidVehicleRoutingAlgorithmListeners.iterationEnds(int i, + VehicleRoutingProblem problem, + java.util.Collection<VehicleRoutingProblemSolution> solutions) + +
+           
+ voidVehicleRoutingAlgorithmListeners.iterationStarts(int i, + VehicleRoutingProblem problem, + java.util.Collection<VehicleRoutingProblemSolution> solutions) + +
+           
+ SearchStrategy.DiscoveredSolutionSearchStrategy.run(VehicleRoutingProblem vrp, + java.util.Collection<VehicleRoutingProblemSolution> solutions) + +
+          Runs the search-strategy and its according modules, and returns DiscoveredSolution.
+ voidVehicleRoutingAlgorithmListeners.selectedStrategy(java.lang.String name, + VehicleRoutingProblem problem, + java.util.Collection<VehicleRoutingProblemSolution> solutions) + +
+           
+  +

+ + + + + + + + +
Constructors in basics.algo with parameters of type VehicleRoutingProblemSolution
SearchStrategy.DiscoveredSolution(VehicleRoutingProblemSolution solution, + boolean accepted, + java.lang.String strategyName) + +
+           
+  +

+ + + + + +
+Uses of VehicleRoutingProblemSolution in basics.io
+  +

+ + + + + + + + + + + +
Constructor parameters in basics.io with type arguments of type VehicleRoutingProblemSolution
VrpXMLReader(VehicleRoutingProblem.Builder vrpBuilder, + java.util.Collection<VehicleRoutingProblemSolution> solutions) + +
+           
VrpXMLWriter(VehicleRoutingProblem vrp, + java.util.Collection<VehicleRoutingProblemSolution> solutions) + +
+           
+  +

+ + + + + +
+Uses of VehicleRoutingProblemSolution in util
+  +

+ + + + + + + + + + + + + +
Methods in util that return VehicleRoutingProblemSolution
+static VehicleRoutingProblemSolutionSolutions.bestOf(java.util.Collection<VehicleRoutingProblemSolution> solutions) + +
+           
+static VehicleRoutingProblemSolutionSolutions.getBest(java.util.Collection<VehicleRoutingProblemSolution> solutions) + +
+          Deprecated. 
+  +

+ + + + + + + + + + + + + + + + + +
Method parameters in util with type arguments of type VehicleRoutingProblemSolution
+static VehicleRoutingProblemSolutionSolutions.bestOf(java.util.Collection<VehicleRoutingProblemSolution> solutions) + +
+           
+static VehicleRoutingProblemSolutionSolutions.getBest(java.util.Collection<VehicleRoutingProblemSolution> solutions) + +
+          Deprecated. 
+ voidVrpVerifier.informAlgorithmStarts(VehicleRoutingProblem problem, + VehicleRoutingAlgorithm algorithm, + java.util.Collection<VehicleRoutingProblemSolution> solutions) + +
+           
+  +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/doc/basics/costs/BackwardTransportCost.html b/doc/basics/costs/BackwardTransportCost.html new file mode 100644 index 00000000..5568f70c --- /dev/null +++ b/doc/basics/costs/BackwardTransportCost.html @@ -0,0 +1,220 @@ + + + + + + +BackwardTransportCost + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +basics.costs +
+Interface BackwardTransportCost

+
+
All Known Subinterfaces:
TransportCost, VehicleRoutingTransportCosts
+
+
+
All Known Implementing Classes:
CrowFlyCosts, ManhattanCosts, VehicleRoutingTransportCostsMatrix
+
+
+
+
public interface BackwardTransportCost
+ + +

+


+ +

+ + + + + + + + + + + + +
+Method Summary
+ doublegetBackwardTransportCost(java.lang.String fromId, + java.lang.String toId, + double arrivalTime, + Driver driver, + Vehicle vehicle) + +
+           
+  +

+ + + + + + + + +
+Method Detail
+ +

+getBackwardTransportCost

+
+double getBackwardTransportCost(java.lang.String fromId,
+                                java.lang.String toId,
+                                double arrivalTime,
+                                Driver driver,
+                                Vehicle vehicle)
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/doc/basics/costs/BackwardTransportTime.html b/doc/basics/costs/BackwardTransportTime.html new file mode 100644 index 00000000..74975fb7 --- /dev/null +++ b/doc/basics/costs/BackwardTransportTime.html @@ -0,0 +1,220 @@ + + + + + + +BackwardTransportTime + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +basics.costs +
+Interface BackwardTransportTime

+
+
All Known Subinterfaces:
TransportTime, VehicleRoutingTransportCosts
+
+
+
All Known Implementing Classes:
CrowFlyCosts, ManhattanCosts, VehicleRoutingTransportCostsMatrix
+
+
+
+
public interface BackwardTransportTime
+ + +

+


+ +

+ + + + + + + + + + + + +
+Method Summary
+ doublegetBackwardTransportTime(java.lang.String fromId, + java.lang.String toId, + double arrivalTime, + Driver driver, + Vehicle vehicle) + +
+           
+  +

+ + + + + + + + +
+Method Detail
+ +

+getBackwardTransportTime

+
+double getBackwardTransportTime(java.lang.String fromId,
+                                java.lang.String toId,
+                                double arrivalTime,
+                                Driver driver,
+                                Vehicle vehicle)
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/doc/basics/costs/DefaultVehicleRoutingActivityCosts.html b/doc/basics/costs/DefaultVehicleRoutingActivityCosts.html new file mode 100644 index 00000000..36a5021d --- /dev/null +++ b/doc/basics/costs/DefaultVehicleRoutingActivityCosts.html @@ -0,0 +1,320 @@ + + + + + + +DefaultVehicleRoutingActivityCosts + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +basics.costs +
+Class DefaultVehicleRoutingActivityCosts

+
+java.lang.Object
+  extended by basics.costs.DefaultVehicleRoutingActivityCosts
+
+
+
All Implemented Interfaces:
VehicleRoutingActivityCosts
+
+
+
+
public class DefaultVehicleRoutingActivityCosts
extends java.lang.Object
implements VehicleRoutingActivityCosts
+ + +

+Function that basically does not allow soft time-windows. Actually, it is allowed but it is penalized with Double.MaxValue(). +

+ +

+

+
Author:
+
schroeder
+
+
+ +

+ + + + + + + +
+Nested Class Summary
+ + + + + + + +
Nested classes/interfaces inherited from interface basics.costs.VehicleRoutingActivityCosts
VehicleRoutingActivityCosts.Parameter, VehicleRoutingActivityCosts.Time
+  + + + + + + + + + + + +
+Constructor Summary
DefaultVehicleRoutingActivityCosts() + +
+           
+  + + + + + + + + + + + + + + + +
+Method Summary
+ doublegetActivityCost(TourActivity tourAct, + double arrivalTime, + Driver driver, + Vehicle vehicle) + +
+          Calculates and returns the activity cost at tourAct.
+ java.lang.StringtoString() + +
+           
+ + + + + + + +
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+DefaultVehicleRoutingActivityCosts

+
+public DefaultVehicleRoutingActivityCosts()
+
+
+ + + + + + + + +
+Method Detail
+ +

+getActivityCost

+
+public double getActivityCost(TourActivity tourAct,
+                              double arrivalTime,
+                              Driver driver,
+                              Vehicle vehicle)
+
+
Description copied from interface: VehicleRoutingActivityCosts
+
Calculates and returns the activity cost at tourAct. + +

Here waiting-times, service-times and missed time-windows can be considered. +

+

+
Specified by:
getActivityCost in interface VehicleRoutingActivityCosts
+
+
+
arrivalTime - is actually the arrival time at this tourActivity, which must not nessecarrily be the operation start time. If the theoretical earliest + operation start time at this activity is later than actualStartTime, the driver must wait at this activity.
driver - TODO
vehicle - TODO +
Returns:
+
+
+
+ +

+toString

+
+public java.lang.String toString()
+
+
+
Overrides:
toString in class java.lang.Object
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/doc/basics/costs/ForwardTransportCost.html b/doc/basics/costs/ForwardTransportCost.html new file mode 100644 index 00000000..2918055b --- /dev/null +++ b/doc/basics/costs/ForwardTransportCost.html @@ -0,0 +1,220 @@ + + + + + + +ForwardTransportCost + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +basics.costs +
+Interface ForwardTransportCost

+
+
All Known Subinterfaces:
TransportCost, VehicleRoutingTransportCosts
+
+
+
All Known Implementing Classes:
CrowFlyCosts, ManhattanCosts, VehicleRoutingTransportCostsMatrix
+
+
+
+
public interface ForwardTransportCost
+ + +

+


+ +

+ + + + + + + + + + + + +
+Method Summary
+ doublegetTransportCost(java.lang.String fromId, + java.lang.String toId, + double departureTime, + Driver driver, + Vehicle vehicle) + +
+           
+  +

+ + + + + + + + +
+Method Detail
+ +

+getTransportCost

+
+double getTransportCost(java.lang.String fromId,
+                        java.lang.String toId,
+                        double departureTime,
+                        Driver driver,
+                        Vehicle vehicle)
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/doc/basics/costs/ForwardTransportTime.html b/doc/basics/costs/ForwardTransportTime.html new file mode 100644 index 00000000..1e53329e --- /dev/null +++ b/doc/basics/costs/ForwardTransportTime.html @@ -0,0 +1,220 @@ + + + + + + +ForwardTransportTime + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +basics.costs +
+Interface ForwardTransportTime

+
+
All Known Subinterfaces:
TransportTime, VehicleRoutingTransportCosts
+
+
+
All Known Implementing Classes:
CrowFlyCosts, ManhattanCosts, VehicleRoutingTransportCostsMatrix
+
+
+
+
public interface ForwardTransportTime
+ + +

+


+ +

+ + + + + + + + + + + + +
+Method Summary
+ doublegetTransportTime(java.lang.String fromId, + java.lang.String toId, + double departureTime, + Driver driver, + Vehicle vehicle) + +
+           
+  +

+ + + + + + + + +
+Method Detail
+ +

+getTransportTime

+
+double getTransportTime(java.lang.String fromId,
+                        java.lang.String toId,
+                        double departureTime,
+                        Driver driver,
+                        Vehicle vehicle)
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/doc/basics/costs/TransportCost.html b/doc/basics/costs/TransportCost.html new file mode 100644 index 00000000..2b9b8851 --- /dev/null +++ b/doc/basics/costs/TransportCost.html @@ -0,0 +1,205 @@ + + + + + + +TransportCost + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +basics.costs +
+Interface TransportCost

+
+
All Superinterfaces:
BackwardTransportCost, ForwardTransportCost
+
+
+
All Known Subinterfaces:
VehicleRoutingTransportCosts
+
+
+
All Known Implementing Classes:
CrowFlyCosts, ManhattanCosts, VehicleRoutingTransportCostsMatrix
+
+
+
+
public interface TransportCost
extends ForwardTransportCost, BackwardTransportCost
+ + +

+


+ +

+ + + + + + + + +
+Method Summary
+ + + + + + + +
Methods inherited from interface basics.costs.ForwardTransportCost
getTransportCost
+ + + + + + + +
Methods inherited from interface basics.costs.BackwardTransportCost
getBackwardTransportCost
+  +

+ +


+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/doc/basics/costs/TransportTime.html b/doc/basics/costs/TransportTime.html new file mode 100644 index 00000000..4ef4cc1d --- /dev/null +++ b/doc/basics/costs/TransportTime.html @@ -0,0 +1,205 @@ + + + + + + +TransportTime + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +basics.costs +
+Interface TransportTime

+
+
All Superinterfaces:
BackwardTransportTime, ForwardTransportTime
+
+
+
All Known Subinterfaces:
VehicleRoutingTransportCosts
+
+
+
All Known Implementing Classes:
CrowFlyCosts, ManhattanCosts, VehicleRoutingTransportCostsMatrix
+
+
+
+
public interface TransportTime
extends ForwardTransportTime, BackwardTransportTime
+ + +

+


+ +

+ + + + + + + + +
+Method Summary
+ + + + + + + +
Methods inherited from interface basics.costs.ForwardTransportTime
getTransportTime
+ + + + + + + +
Methods inherited from interface basics.costs.BackwardTransportTime
getBackwardTransportTime
+  +

+ +


+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/doc/basics/costs/VehicleRoutingActivityCosts.Parameter.html b/doc/basics/costs/VehicleRoutingActivityCosts.Parameter.html new file mode 100644 index 00000000..2f376ae6 --- /dev/null +++ b/doc/basics/costs/VehicleRoutingActivityCosts.Parameter.html @@ -0,0 +1,209 @@ + + + + + + +VehicleRoutingActivityCosts.Parameter + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +basics.costs +
+Interface VehicleRoutingActivityCosts.Parameter

+
+
Enclosing interface:
VehicleRoutingActivityCosts
+
+
+
+
public static interface VehicleRoutingActivityCosts.Parameter
+ + +

+


+ +

+ + + + + + + + + + + + +
+Method Summary
+ doublegetPenaltyForMissedTimeWindow() + +
+           
+  +

+ + + + + + + + +
+Method Detail
+ +

+getPenaltyForMissedTimeWindow

+
+double getPenaltyForMissedTimeWindow()
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/doc/basics/costs/VehicleRoutingActivityCosts.Time.html b/doc/basics/costs/VehicleRoutingActivityCosts.Time.html new file mode 100644 index 00000000..bf382924 --- /dev/null +++ b/doc/basics/costs/VehicleRoutingActivityCosts.Time.html @@ -0,0 +1,299 @@ + + + + + + +VehicleRoutingActivityCosts.Time + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +basics.costs +
+Class VehicleRoutingActivityCosts.Time

+
+java.lang.Object
+  extended by basics.costs.VehicleRoutingActivityCosts.Time
+
+
+
Enclosing interface:
VehicleRoutingActivityCosts
+
+
+
+
public static class VehicleRoutingActivityCosts.Time
extends java.lang.Object
+ + +

+


+ +

+ + + + + + + + + + + + + + + + + + + +
+Field Summary
+static doubleTOUREND + +
+           
+static doubleTOURSTART + +
+           
+static doubleUNDEFINED + +
+           
+  + + + + + + + + + + +
+Constructor Summary
VehicleRoutingActivityCosts.Time() + +
+           
+  + + + + + + + +
+Method Summary
+ + + + + + + +
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Field Detail
+ +

+TOUREND

+
+public static double TOUREND
+
+
+
+
+
+ +

+TOURSTART

+
+public static double TOURSTART
+
+
+
+
+
+ +

+UNDEFINED

+
+public static double UNDEFINED
+
+
+
+
+ + + + + + + + +
+Constructor Detail
+ +

+VehicleRoutingActivityCosts.Time

+
+public VehicleRoutingActivityCosts.Time()
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/doc/basics/costs/VehicleRoutingActivityCosts.html b/doc/basics/costs/VehicleRoutingActivityCosts.html new file mode 100644 index 00000000..8ca77cbf --- /dev/null +++ b/doc/basics/costs/VehicleRoutingActivityCosts.html @@ -0,0 +1,257 @@ + + + + + + +VehicleRoutingActivityCosts + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +basics.costs +
+Interface VehicleRoutingActivityCosts

+
+
All Known Implementing Classes:
DefaultVehicleRoutingActivityCosts
+
+
+
+
public interface VehicleRoutingActivityCosts
+ + +

+Interface for overall routing and operation costs. + +

This calculates activity and leg-based costs. If you want to consider for example costs incurred by missed time-windows, you can do it here. +

+ +

+

+
Author:
+
schroeder
+
+
+ +

+ + + + + + + + + + + + + + + +
+Nested Class Summary
+static interfaceVehicleRoutingActivityCosts.Parameter + +
+           
+static classVehicleRoutingActivityCosts.Time + +
+           
+  + + + + + + + + + + + +
+Method Summary
+ doublegetActivityCost(TourActivity tourAct, + double arrivalTime, + Driver driver, + Vehicle vehicle) + +
+          Calculates and returns the activity cost at tourAct.
+  +

+ + + + + + + + +
+Method Detail
+ +

+getActivityCost

+
+double getActivityCost(TourActivity tourAct,
+                       double arrivalTime,
+                       Driver driver,
+                       Vehicle vehicle)
+
+
Calculates and returns the activity cost at tourAct. + +

Here waiting-times, service-times and missed time-windows can be considered. +

+

+
Parameters:
tourAct -
arrivalTime - is actually the arrival time at this tourActivity, which must not nessecarrily be the operation start time. If the theoretical earliest + operation start time at this activity is later than actualStartTime, the driver must wait at this activity.
driver - TODO
vehicle - TODO
earliestStartTime, - this is the practical earliest operation start time which considers also previous activities.
latestStartTime, - this is the practical latest operation start time which consider also future activities in the tour. + if earliestStartTime > latestStartTime activity operations cannot be conducted within the given time-window. +
Returns:
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/doc/basics/costs/VehicleRoutingTransportCosts.html b/doc/basics/costs/VehicleRoutingTransportCosts.html new file mode 100644 index 00000000..076bf5e6 --- /dev/null +++ b/doc/basics/costs/VehicleRoutingTransportCosts.html @@ -0,0 +1,231 @@ + + + + + + +VehicleRoutingTransportCosts + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +basics.costs +
+Interface VehicleRoutingTransportCosts

+
+
All Superinterfaces:
BackwardTransportCost, BackwardTransportTime, ForwardTransportCost, ForwardTransportTime, TransportCost, TransportTime
+
+
+
All Known Implementing Classes:
CrowFlyCosts, ManhattanCosts, VehicleRoutingTransportCostsMatrix
+
+
+
+
public interface VehicleRoutingTransportCosts
extends TransportTime, TransportCost
+ + +

+Interface for transportCost and transportTime. + +

Transport here is what happens between two activities within the transport system, i.e. in the physical transport network. And + must give the answer of how long does it take from A to B, and how much does this cost. +

+ +

+

+
Author:
+
schroeder
+
+
+ +

+ + + + + + + + +
+Method Summary
+ + + + + + + +
Methods inherited from interface basics.costs.ForwardTransportTime
getTransportTime
+ + + + + + + +
Methods inherited from interface basics.costs.BackwardTransportTime
getBackwardTransportTime
+ + + + + + + +
Methods inherited from interface basics.costs.ForwardTransportCost
getTransportCost
+ + + + + + + +
Methods inherited from interface basics.costs.BackwardTransportCost
getBackwardTransportCost
+  +

+ +


+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/doc/basics/costs/class-use/BackwardTransportCost.html b/doc/basics/costs/class-use/BackwardTransportCost.html new file mode 100644 index 00000000..aaaf7da5 --- /dev/null +++ b/doc/basics/costs/class-use/BackwardTransportCost.html @@ -0,0 +1,234 @@ + + + + + + +Uses of Interface basics.costs.BackwardTransportCost + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Interface
basics.costs.BackwardTransportCost

+
+ + + + + + + + + + + + + +
+Packages that use BackwardTransportCost
basics.costs  
util  
+  +

+ + + + + +
+Uses of BackwardTransportCost in basics.costs
+  +

+ + + + + + + + + + + + + +
Subinterfaces of BackwardTransportCost in basics.costs
+ interfaceTransportCost + +
+           
+ interfaceVehicleRoutingTransportCosts + +
+          Interface for transportCost and transportTime.
+  +

+ + + + + +
+Uses of BackwardTransportCost in util
+  +

+ + + + + + + + + + + + + + + + + +
Classes in util that implement BackwardTransportCost
+ classCrowFlyCosts + +
+           
+ classManhattanCosts + +
+           
+ classVehicleRoutingTransportCostsMatrix + +
+          CostMatrix that allows pre-compiled time and distance-matrices to be considered as VehicleRoutingRoutingCosts + in the VehicleRoutingProblem.
+  +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/doc/basics/costs/class-use/BackwardTransportTime.html b/doc/basics/costs/class-use/BackwardTransportTime.html new file mode 100644 index 00000000..5ff8dd46 --- /dev/null +++ b/doc/basics/costs/class-use/BackwardTransportTime.html @@ -0,0 +1,234 @@ + + + + + + +Uses of Interface basics.costs.BackwardTransportTime + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Interface
basics.costs.BackwardTransportTime

+
+ + + + + + + + + + + + + +
+Packages that use BackwardTransportTime
basics.costs  
util  
+  +

+ + + + + +
+Uses of BackwardTransportTime in basics.costs
+  +

+ + + + + + + + + + + + + +
Subinterfaces of BackwardTransportTime in basics.costs
+ interfaceTransportTime + +
+           
+ interfaceVehicleRoutingTransportCosts + +
+          Interface for transportCost and transportTime.
+  +

+ + + + + +
+Uses of BackwardTransportTime in util
+  +

+ + + + + + + + + + + + + + + + + +
Classes in util that implement BackwardTransportTime
+ classCrowFlyCosts + +
+           
+ classManhattanCosts + +
+           
+ classVehicleRoutingTransportCostsMatrix + +
+          CostMatrix that allows pre-compiled time and distance-matrices to be considered as VehicleRoutingRoutingCosts + in the VehicleRoutingProblem.
+  +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/doc/basics/costs/class-use/DefaultVehicleRoutingActivityCosts.html b/doc/basics/costs/class-use/DefaultVehicleRoutingActivityCosts.html new file mode 100644 index 00000000..c5d65e3a --- /dev/null +++ b/doc/basics/costs/class-use/DefaultVehicleRoutingActivityCosts.html @@ -0,0 +1,144 @@ + + + + + + +Uses of Class basics.costs.DefaultVehicleRoutingActivityCosts + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Class
basics.costs.DefaultVehicleRoutingActivityCosts

+
+No usage of basics.costs.DefaultVehicleRoutingActivityCosts +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/doc/basics/costs/class-use/ForwardTransportCost.html b/doc/basics/costs/class-use/ForwardTransportCost.html new file mode 100644 index 00000000..15ce744b --- /dev/null +++ b/doc/basics/costs/class-use/ForwardTransportCost.html @@ -0,0 +1,234 @@ + + + + + + +Uses of Interface basics.costs.ForwardTransportCost + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Interface
basics.costs.ForwardTransportCost

+
+ + + + + + + + + + + + + +
+Packages that use ForwardTransportCost
basics.costs  
util  
+  +

+ + + + + +
+Uses of ForwardTransportCost in basics.costs
+  +

+ + + + + + + + + + + + + +
Subinterfaces of ForwardTransportCost in basics.costs
+ interfaceTransportCost + +
+           
+ interfaceVehicleRoutingTransportCosts + +
+          Interface for transportCost and transportTime.
+  +

+ + + + + +
+Uses of ForwardTransportCost in util
+  +

+ + + + + + + + + + + + + + + + + +
Classes in util that implement ForwardTransportCost
+ classCrowFlyCosts + +
+           
+ classManhattanCosts + +
+           
+ classVehicleRoutingTransportCostsMatrix + +
+          CostMatrix that allows pre-compiled time and distance-matrices to be considered as VehicleRoutingRoutingCosts + in the VehicleRoutingProblem.
+  +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/doc/basics/costs/class-use/ForwardTransportTime.html b/doc/basics/costs/class-use/ForwardTransportTime.html new file mode 100644 index 00000000..0b1b26a4 --- /dev/null +++ b/doc/basics/costs/class-use/ForwardTransportTime.html @@ -0,0 +1,261 @@ + + + + + + +Uses of Interface basics.costs.ForwardTransportTime + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Interface
basics.costs.ForwardTransportTime

+
+ + + + + + + + + + + + + + + + + +
+Packages that use ForwardTransportTime
algorithms  
basics.costs  
util  
+  +

+ + + + + +
+Uses of ForwardTransportTime in algorithms
+  +

+ + + + + + + + +
Constructors in algorithms with parameters of type ForwardTransportTime
UpdateActivityTimes(ForwardTransportTime transportTime) + +
+          Updates arrival and end times of activities.
+  +

+ + + + + +
+Uses of ForwardTransportTime in basics.costs
+  +

+ + + + + + + + + + + + + +
Subinterfaces of ForwardTransportTime in basics.costs
+ interfaceTransportTime + +
+           
+ interfaceVehicleRoutingTransportCosts + +
+          Interface for transportCost and transportTime.
+  +

+ + + + + +
+Uses of ForwardTransportTime in util
+  +

+ + + + + + + + + + + + + + + + + +
Classes in util that implement ForwardTransportTime
+ classCrowFlyCosts + +
+           
+ classManhattanCosts + +
+           
+ classVehicleRoutingTransportCostsMatrix + +
+          CostMatrix that allows pre-compiled time and distance-matrices to be considered as VehicleRoutingRoutingCosts + in the VehicleRoutingProblem.
+  +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/doc/basics/costs/class-use/TransportCost.html b/doc/basics/costs/class-use/TransportCost.html new file mode 100644 index 00000000..a76b172f --- /dev/null +++ b/doc/basics/costs/class-use/TransportCost.html @@ -0,0 +1,226 @@ + + + + + + +Uses of Interface basics.costs.TransportCost + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Interface
basics.costs.TransportCost

+
+ + + + + + + + + + + + + +
+Packages that use TransportCost
basics.costs  
util  
+  +

+ + + + + +
+Uses of TransportCost in basics.costs
+  +

+ + + + + + + + + +
Subinterfaces of TransportCost in basics.costs
+ interfaceVehicleRoutingTransportCosts + +
+          Interface for transportCost and transportTime.
+  +

+ + + + + +
+Uses of TransportCost in util
+  +

+ + + + + + + + + + + + + + + + + +
Classes in util that implement TransportCost
+ classCrowFlyCosts + +
+           
+ classManhattanCosts + +
+           
+ classVehicleRoutingTransportCostsMatrix + +
+          CostMatrix that allows pre-compiled time and distance-matrices to be considered as VehicleRoutingRoutingCosts + in the VehicleRoutingProblem.
+  +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/doc/basics/costs/class-use/TransportTime.html b/doc/basics/costs/class-use/TransportTime.html new file mode 100644 index 00000000..65bb9beb --- /dev/null +++ b/doc/basics/costs/class-use/TransportTime.html @@ -0,0 +1,226 @@ + + + + + + +Uses of Interface basics.costs.TransportTime + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Interface
basics.costs.TransportTime

+
+ + + + + + + + + + + + + +
+Packages that use TransportTime
basics.costs  
util  
+  +

+ + + + + +
+Uses of TransportTime in basics.costs
+  +

+ + + + + + + + + +
Subinterfaces of TransportTime in basics.costs
+ interfaceVehicleRoutingTransportCosts + +
+          Interface for transportCost and transportTime.
+  +

+ + + + + +
+Uses of TransportTime in util
+  +

+ + + + + + + + + + + + + + + + + +
Classes in util that implement TransportTime
+ classCrowFlyCosts + +
+           
+ classManhattanCosts + +
+           
+ classVehicleRoutingTransportCostsMatrix + +
+          CostMatrix that allows pre-compiled time and distance-matrices to be considered as VehicleRoutingRoutingCosts + in the VehicleRoutingProblem.
+  +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/doc/basics/costs/class-use/VehicleRoutingActivityCosts.Parameter.html b/doc/basics/costs/class-use/VehicleRoutingActivityCosts.Parameter.html new file mode 100644 index 00000000..5e742824 --- /dev/null +++ b/doc/basics/costs/class-use/VehicleRoutingActivityCosts.Parameter.html @@ -0,0 +1,144 @@ + + + + + + +Uses of Interface basics.costs.VehicleRoutingActivityCosts.Parameter + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Interface
basics.costs.VehicleRoutingActivityCosts.Parameter

+
+No usage of basics.costs.VehicleRoutingActivityCosts.Parameter +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/doc/basics/costs/class-use/VehicleRoutingActivityCosts.Time.html b/doc/basics/costs/class-use/VehicleRoutingActivityCosts.Time.html new file mode 100644 index 00000000..26dc529f --- /dev/null +++ b/doc/basics/costs/class-use/VehicleRoutingActivityCosts.Time.html @@ -0,0 +1,144 @@ + + + + + + +Uses of Class basics.costs.VehicleRoutingActivityCosts.Time + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Class
basics.costs.VehicleRoutingActivityCosts.Time

+
+No usage of basics.costs.VehicleRoutingActivityCosts.Time +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/doc/basics/costs/class-use/VehicleRoutingActivityCosts.html b/doc/basics/costs/class-use/VehicleRoutingActivityCosts.html new file mode 100644 index 00000000..31ec6e72 --- /dev/null +++ b/doc/basics/costs/class-use/VehicleRoutingActivityCosts.html @@ -0,0 +1,270 @@ + + + + + + +Uses of Interface basics.costs.VehicleRoutingActivityCosts + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Interface
basics.costs.VehicleRoutingActivityCosts

+
+ + + + + + + + + + + + + + + + + +
+Packages that use VehicleRoutingActivityCosts
algorithms  
basics  
basics.costs  
+  +

+ + + + + +
+Uses of VehicleRoutingActivityCosts in algorithms
+  +

+ + + + + + + + + + + + + + +
Constructors in algorithms with parameters of type VehicleRoutingActivityCosts
StateUpdates.UpdateStates(StateManagerImpl states, + VehicleRoutingTransportCosts routingCosts, + VehicleRoutingActivityCosts activityCosts) + +
+           
UpdateCostsAtAllLevels(VehicleRoutingActivityCosts activityCost, + VehicleRoutingTransportCosts transportCost, + StateManagerImpl states) + +
+          Updates total costs (i.e.
UpdateCostsAtRouteLevel(StateManagerImpl states, + VehicleRoutingTransportCosts tpCosts, + VehicleRoutingActivityCosts actCosts) + +
+           
+  +

+ + + + + +
+Uses of VehicleRoutingActivityCosts in basics
+  +

+ + + + + + + + + +
Methods in basics that return VehicleRoutingActivityCosts
+ VehicleRoutingActivityCostsVehicleRoutingProblem.getActivityCosts() + +
+          Returns activityCosts.
+  +

+ + + + + + + + + +
Methods in basics with parameters of type VehicleRoutingActivityCosts
+ VehicleRoutingProblem.BuilderVehicleRoutingProblem.Builder.setActivityCosts(VehicleRoutingActivityCosts activityCosts) + +
+          Sets the activityCostFunction that considers also activities on a vehicle-route.
+  +

+ + + + + +
+Uses of VehicleRoutingActivityCosts in basics.costs
+  +

+ + + + + + + + + +
Classes in basics.costs that implement VehicleRoutingActivityCosts
+ classDefaultVehicleRoutingActivityCosts + +
+          Function that basically does not allow soft time-windows.
+  +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/doc/basics/costs/class-use/VehicleRoutingTransportCosts.html b/doc/basics/costs/class-use/VehicleRoutingTransportCosts.html new file mode 100644 index 00000000..e5aadeab --- /dev/null +++ b/doc/basics/costs/class-use/VehicleRoutingTransportCosts.html @@ -0,0 +1,308 @@ + + + + + + +Uses of Interface basics.costs.VehicleRoutingTransportCosts + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Interface
basics.costs.VehicleRoutingTransportCosts

+
+ + + + + + + + + + + + + + + + + +
+Packages that use VehicleRoutingTransportCosts
algorithms  
basics  
util  
+  +

+ + + + + +
+Uses of VehicleRoutingTransportCosts in algorithms
+  +

+ + + + + + + + + + + + + + + + + + + + + + + +
Constructors in algorithms with parameters of type VehicleRoutingTransportCosts
HardTimeWindowActivityLevelConstraint(StateManager states, + VehicleRoutingTransportCosts routingCosts) + +
+           
StateUpdates.UpdateStates(StateManagerImpl states, + VehicleRoutingTransportCosts routingCosts, + VehicleRoutingActivityCosts activityCosts) + +
+           
UpdateCostsAtAllLevels(VehicleRoutingActivityCosts activityCost, + VehicleRoutingTransportCosts transportCost, + StateManagerImpl states) + +
+          Updates total costs (i.e.
UpdateCostsAtRouteLevel(StateManagerImpl states, + VehicleRoutingTransportCosts tpCosts, + VehicleRoutingActivityCosts actCosts) + +
+           
UpdateEarliestStartTimeWindowAtActLocations(StateManagerImpl states, + VehicleRoutingTransportCosts transportCosts) + +
+           
UpdateLatestOperationStartTimeAtActLocations(StateManagerImpl states, + VehicleRoutingTransportCosts tpCosts) + +
+           
+  +

+ + + + + +
+Uses of VehicleRoutingTransportCosts in basics
+  +

+ + + + + + + + + +
Methods in basics that return VehicleRoutingTransportCosts
+ VehicleRoutingTransportCostsVehicleRoutingProblem.getTransportCosts() + +
+          Returns routing costs.
+  +

+ + + + + + + + + +
Methods in basics with parameters of type VehicleRoutingTransportCosts
+ VehicleRoutingProblem.BuilderVehicleRoutingProblem.Builder.setRoutingCost(VehicleRoutingTransportCosts costs) + +
+          Sets routing costs.
+  +

+ + + + + +
+Uses of VehicleRoutingTransportCosts in util
+  +

+ + + + + + + + + + + + + + + + + +
Classes in util that implement VehicleRoutingTransportCosts
+ classCrowFlyCosts + +
+           
+ classManhattanCosts + +
+           
+ classVehicleRoutingTransportCostsMatrix + +
+          CostMatrix that allows pre-compiled time and distance-matrices to be considered as VehicleRoutingRoutingCosts + in the VehicleRoutingProblem.
+  +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/doc/basics/costs/package-frame.html b/doc/basics/costs/package-frame.html new file mode 100644 index 00000000..5e252e3f --- /dev/null +++ b/doc/basics/costs/package-frame.html @@ -0,0 +1,61 @@ + + + + + + +basics.costs + + + + + + + + + + + +basics.costs + + + + +
+Interfaces  + +
+BackwardTransportCost +
+BackwardTransportTime +
+ForwardTransportCost +
+ForwardTransportTime +
+TransportCost +
+TransportTime +
+VehicleRoutingActivityCosts +
+VehicleRoutingActivityCosts.Parameter +
+VehicleRoutingTransportCosts
+ + + + + + +
+Classes  + +
+DefaultVehicleRoutingActivityCosts +
+VehicleRoutingActivityCosts.Time
+ + + + diff --git a/doc/basics/costs/package-summary.html b/doc/basics/costs/package-summary.html new file mode 100644 index 00000000..030e6fdf --- /dev/null +++ b/doc/basics/costs/package-summary.html @@ -0,0 +1,207 @@ + + + + + + +basics.costs + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+

+Package basics.costs +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Interface Summary
BackwardTransportCost 
BackwardTransportTime 
ForwardTransportCost 
ForwardTransportTime 
TransportCost 
TransportTime 
VehicleRoutingActivityCostsInterface for overall routing and operation costs.
VehicleRoutingActivityCosts.Parameter 
VehicleRoutingTransportCostsInterface for transportCost and transportTime.
+  + +

+ + + + + + + + + + + + + +
+Class Summary
DefaultVehicleRoutingActivityCostsFunction that basically does not allow soft time-windows.
VehicleRoutingActivityCosts.Time 
+  + +

+

+
+
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/doc/basics/costs/package-tree.html b/doc/basics/costs/package-tree.html new file mode 100644 index 00000000..0866e36c --- /dev/null +++ b/doc/basics/costs/package-tree.html @@ -0,0 +1,183 @@ + + + + + + +basics.costs Class Hierarchy + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Hierarchy For Package basics.costs +

+
+
+
Package Hierarchies:
All Packages
+
+

+Class Hierarchy +

+ +

+Interface Hierarchy +

+ +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/doc/basics/costs/package-use.html b/doc/basics/costs/package-use.html new file mode 100644 index 00000000..ba7d615a --- /dev/null +++ b/doc/basics/costs/package-use.html @@ -0,0 +1,317 @@ + + + + + + +Uses of Package basics.costs + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Package
basics.costs

+
+ + + + + + + + + + + + + + + + + + + + + +
+Packages that use basics.costs
algorithms  
basics  
basics.costs  
util  
+  +

+ + + + + + + + + + + + + + +
+Classes in basics.costs used by algorithms
ForwardTransportTime + +
+           
VehicleRoutingActivityCosts + +
+          Interface for overall routing and operation costs.
VehicleRoutingTransportCosts + +
+          Interface for transportCost and transportTime.
+  +

+ + + + + + + + + + + +
+Classes in basics.costs used by basics
VehicleRoutingActivityCosts + +
+          Interface for overall routing and operation costs.
VehicleRoutingTransportCosts + +
+          Interface for transportCost and transportTime.
+  +

+ + + + + + + + + + + + + + + + + + + + + + + + + + +
+Classes in basics.costs used by basics.costs
BackwardTransportCost + +
+           
BackwardTransportTime + +
+           
ForwardTransportCost + +
+           
ForwardTransportTime + +
+           
TransportCost + +
+           
TransportTime + +
+           
VehicleRoutingActivityCosts + +
+          Interface for overall routing and operation costs.
+  +

+ + + + + + + + + + + + + + + + + + + + + + + + + + +
+Classes in basics.costs used by util
BackwardTransportCost + +
+           
BackwardTransportTime + +
+           
ForwardTransportCost + +
+           
ForwardTransportTime + +
+           
TransportCost + +
+           
TransportTime + +
+           
VehicleRoutingTransportCosts + +
+          Interface for transportCost and transportTime.
+  +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/doc/basics/io/AlgorithmConfig.html b/doc/basics/io/AlgorithmConfig.html new file mode 100644 index 00000000..32c7409b --- /dev/null +++ b/doc/basics/io/AlgorithmConfig.html @@ -0,0 +1,252 @@ + + + + + + +AlgorithmConfig + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +basics.io +
+Class AlgorithmConfig

+
+java.lang.Object
+  extended by basics.io.AlgorithmConfig
+
+
+
+
public class AlgorithmConfig
extends java.lang.Object
+ + +

+


+ +

+ + + + + + + + + + + +
+Constructor Summary
AlgorithmConfig() + +
+           
+  + + + + + + + + + + + +
+Method Summary
+ org.apache.commons.configuration.XMLConfigurationgetXMLConfiguration() + +
+           
+ + + + + + + +
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+AlgorithmConfig

+
+public AlgorithmConfig()
+
+
+ + + + + + + + +
+Method Detail
+ +

+getXMLConfiguration

+
+public org.apache.commons.configuration.XMLConfiguration getXMLConfiguration()
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/doc/basics/io/AlgorithmConfigXmlReader.html b/doc/basics/io/AlgorithmConfigXmlReader.html new file mode 100644 index 00000000..eda4717d --- /dev/null +++ b/doc/basics/io/AlgorithmConfigXmlReader.html @@ -0,0 +1,290 @@ + + + + + + +AlgorithmConfigXmlReader + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +basics.io +
+Class AlgorithmConfigXmlReader

+
+java.lang.Object
+  extended by basics.io.AlgorithmConfigXmlReader
+
+
+
+
public class AlgorithmConfigXmlReader
extends java.lang.Object
+ + +

+


+ +

+ + + + + + + + + + + +
+Constructor Summary
AlgorithmConfigXmlReader(AlgorithmConfig algorithmConfig) + +
+           
+  + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ voidread(java.lang.String filename) + +
+           
+ voidread(java.net.URL url) + +
+           
+ voidsetSchemaValidation(boolean schemaValidation) + +
+           
+ + + + + + + +
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+AlgorithmConfigXmlReader

+
+public AlgorithmConfigXmlReader(AlgorithmConfig algorithmConfig)
+
+
+ + + + + + + + +
+Method Detail
+ +

+setSchemaValidation

+
+public void setSchemaValidation(boolean schemaValidation)
+
+
+
Parameters:
schemaValidation - the schemaValidation to set
+
+
+
+ +

+read

+
+public void read(java.net.URL url)
+
+
+
+
+
+
+ +

+read

+
+public void read(java.lang.String filename)
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/doc/basics/io/VrpXMLReader.ServiceBuilderFactory.html b/doc/basics/io/VrpXMLReader.ServiceBuilderFactory.html new file mode 100644 index 00000000..6256ea0f --- /dev/null +++ b/doc/basics/io/VrpXMLReader.ServiceBuilderFactory.html @@ -0,0 +1,213 @@ + + + + + + +VrpXMLReader.ServiceBuilderFactory + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +basics.io +
+Interface VrpXMLReader.ServiceBuilderFactory

+
+
Enclosing class:
VrpXMLReader
+
+
+
+
public static interface VrpXMLReader.ServiceBuilderFactory
+ + +

+


+ +

+ + + + + + + + + + + + +
+Method Summary
+ Service.BuildercreateBuilder(java.lang.String serviceType, + java.lang.String id, + int size) + +
+           
+  +

+ + + + + + + + +
+Method Detail
+ +

+createBuilder

+
+Service.Builder createBuilder(java.lang.String serviceType,
+                              java.lang.String id,
+                              int size)
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/doc/basics/io/VrpXMLReader.html b/doc/basics/io/VrpXMLReader.html new file mode 100644 index 00000000..800de672 --- /dev/null +++ b/doc/basics/io/VrpXMLReader.html @@ -0,0 +1,342 @@ + + + + + + +VrpXMLReader + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +basics.io +
+Class VrpXMLReader

+
+java.lang.Object
+  extended by basics.io.VrpXMLReader
+
+
+
+
public class VrpXMLReader
extends java.lang.Object
+ + +

+


+ +

+ + + + + + + + + + + +
+Nested Class Summary
+static interfaceVrpXMLReader.ServiceBuilderFactory + +
+           
+  + + + + + + + + + + + + + +
+Constructor Summary
VrpXMLReader(VehicleRoutingProblem.Builder vrpBuilder) + +
+           
VrpXMLReader(VehicleRoutingProblem.Builder vrpBuilder, + java.util.Collection<VehicleRoutingProblemSolution> solutions) + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ voidread(java.lang.String filename) + +
+           
+ voidsetSchemaValidation(boolean schemaValidation) + +
+           
+ voidsetServiceBuilderFactory(VrpXMLReader.ServiceBuilderFactory serviceBuilderFactory) + +
+           
+ voidsetTourActivityFactory(TourActivityFactory tourActivityFactory) + +
+           
+ + + + + + + +
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+VrpXMLReader

+
+public VrpXMLReader(VehicleRoutingProblem.Builder vrpBuilder,
+                    java.util.Collection<VehicleRoutingProblemSolution> solutions)
+
+
+
+ +

+VrpXMLReader

+
+public VrpXMLReader(VehicleRoutingProblem.Builder vrpBuilder)
+
+
+ + + + + + + + +
+Method Detail
+ +

+setTourActivityFactory

+
+public void setTourActivityFactory(TourActivityFactory tourActivityFactory)
+
+
+
+
+
+
+ +

+setServiceBuilderFactory

+
+public void setServiceBuilderFactory(VrpXMLReader.ServiceBuilderFactory serviceBuilderFactory)
+
+
+
+
+
+
+ +

+setSchemaValidation

+
+public void setSchemaValidation(boolean schemaValidation)
+
+
+
Parameters:
schemaValidation - the schemaValidation to set
+
+
+
+ +

+read

+
+public void read(java.lang.String filename)
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/doc/basics/io/VrpXMLWriter.html b/doc/basics/io/VrpXMLWriter.html new file mode 100644 index 00000000..cf2bee7e --- /dev/null +++ b/doc/basics/io/VrpXMLWriter.html @@ -0,0 +1,268 @@ + + + + + + +VrpXMLWriter + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +basics.io +
+Class VrpXMLWriter

+
+java.lang.Object
+  extended by basics.io.VrpXMLWriter
+
+
+
+
public class VrpXMLWriter
extends java.lang.Object
+ + +

+


+ +

+ + + + + + + + + + + + + + +
+Constructor Summary
VrpXMLWriter(VehicleRoutingProblem vrp) + +
+           
VrpXMLWriter(VehicleRoutingProblem vrp, + java.util.Collection<VehicleRoutingProblemSolution> solutions) + +
+           
+  + + + + + + + + + + + +
+Method Summary
+ voidwrite(java.lang.String filename) + +
+           
+ + + + + + + +
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+VrpXMLWriter

+
+public VrpXMLWriter(VehicleRoutingProblem vrp,
+                    java.util.Collection<VehicleRoutingProblemSolution> solutions)
+
+
+
+ +

+VrpXMLWriter

+
+public VrpXMLWriter(VehicleRoutingProblem vrp)
+
+
+ + + + + + + + +
+Method Detail
+ +

+write

+
+public void write(java.lang.String filename)
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/doc/basics/io/class-use/AlgorithmConfig.html b/doc/basics/io/class-use/AlgorithmConfig.html new file mode 100644 index 00000000..135754f3 --- /dev/null +++ b/doc/basics/io/class-use/AlgorithmConfig.html @@ -0,0 +1,208 @@ + + + + + + +Uses of Class basics.io.AlgorithmConfig + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Class
basics.io.AlgorithmConfig

+
+ + + + + + + + + + + + + +
+Packages that use AlgorithmConfig
algorithms  
basics.io  
+  +

+ + + + + +
+Uses of AlgorithmConfig in algorithms
+  +

+ + + + + + + + + +
Methods in algorithms with parameters of type AlgorithmConfig
+static VehicleRoutingAlgorithmVehicleRoutingAlgorithms.createAlgorithm(VehicleRoutingProblem vrp, + AlgorithmConfig algorithmConfig) + +
+          Creates a VehicleRoutingAlgorithm from a AlgorithConfig based on the input vrp.
+  +

+ + + + + +
+Uses of AlgorithmConfig in basics.io
+  +

+ + + + + + + + +
Constructors in basics.io with parameters of type AlgorithmConfig
AlgorithmConfigXmlReader(AlgorithmConfig algorithmConfig) + +
+           
+  +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/doc/basics/io/class-use/AlgorithmConfigXmlReader.html b/doc/basics/io/class-use/AlgorithmConfigXmlReader.html new file mode 100644 index 00000000..d97f68eb --- /dev/null +++ b/doc/basics/io/class-use/AlgorithmConfigXmlReader.html @@ -0,0 +1,144 @@ + + + + + + +Uses of Class basics.io.AlgorithmConfigXmlReader + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Class
basics.io.AlgorithmConfigXmlReader

+
+No usage of basics.io.AlgorithmConfigXmlReader +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/doc/basics/io/class-use/VrpXMLReader.ServiceBuilderFactory.html b/doc/basics/io/class-use/VrpXMLReader.ServiceBuilderFactory.html new file mode 100644 index 00000000..ff7079d2 --- /dev/null +++ b/doc/basics/io/class-use/VrpXMLReader.ServiceBuilderFactory.html @@ -0,0 +1,180 @@ + + + + + + +Uses of Interface basics.io.VrpXMLReader.ServiceBuilderFactory + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Interface
basics.io.VrpXMLReader.ServiceBuilderFactory

+
+ + + + + + + + + +
+Packages that use VrpXMLReader.ServiceBuilderFactory
basics.io  
+  +

+ + + + + +
+Uses of VrpXMLReader.ServiceBuilderFactory in basics.io
+  +

+ + + + + + + + + +
Methods in basics.io with parameters of type VrpXMLReader.ServiceBuilderFactory
+ voidVrpXMLReader.setServiceBuilderFactory(VrpXMLReader.ServiceBuilderFactory serviceBuilderFactory) + +
+           
+  +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/doc/basics/io/class-use/VrpXMLReader.html b/doc/basics/io/class-use/VrpXMLReader.html new file mode 100644 index 00000000..98d46a22 --- /dev/null +++ b/doc/basics/io/class-use/VrpXMLReader.html @@ -0,0 +1,144 @@ + + + + + + +Uses of Class basics.io.VrpXMLReader + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Class
basics.io.VrpXMLReader

+
+No usage of basics.io.VrpXMLReader +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/doc/basics/io/class-use/VrpXMLWriter.html b/doc/basics/io/class-use/VrpXMLWriter.html new file mode 100644 index 00000000..5f9f5803 --- /dev/null +++ b/doc/basics/io/class-use/VrpXMLWriter.html @@ -0,0 +1,144 @@ + + + + + + +Uses of Class basics.io.VrpXMLWriter + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Class
basics.io.VrpXMLWriter

+
+No usage of basics.io.VrpXMLWriter +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/doc/basics/io/package-frame.html b/doc/basics/io/package-frame.html new file mode 100644 index 00000000..bf727816 --- /dev/null +++ b/doc/basics/io/package-frame.html @@ -0,0 +1,49 @@ + + + + + + +basics.io + + + + + + + + + + + +basics.io + + + + +
+Interfaces  + +
+VrpXMLReader.ServiceBuilderFactory
+ + + + + + +
+Classes  + +
+AlgorithmConfig +
+AlgorithmConfigXmlReader +
+VrpXMLReader +
+VrpXMLWriter
+ + + + diff --git a/doc/basics/io/package-summary.html b/doc/basics/io/package-summary.html new file mode 100644 index 00000000..ba1a23fb --- /dev/null +++ b/doc/basics/io/package-summary.html @@ -0,0 +1,183 @@ + + + + + + +basics.io + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+

+Package basics.io +

+ + + + + + + + + +
+Interface Summary
VrpXMLReader.ServiceBuilderFactory 
+  + +

+ + + + + + + + + + + + + + + + + + + + + +
+Class Summary
AlgorithmConfig 
AlgorithmConfigXmlReader 
VrpXMLReader 
VrpXMLWriter 
+  + +

+

+
+
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/doc/basics/io/package-tree.html b/doc/basics/io/package-tree.html new file mode 100644 index 00000000..c77b8701 --- /dev/null +++ b/doc/basics/io/package-tree.html @@ -0,0 +1,158 @@ + + + + + + +basics.io Class Hierarchy + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Hierarchy For Package basics.io +

+
+
+
Package Hierarchies:
All Packages
+
+

+Class Hierarchy +

+ +

+Interface Hierarchy +

+ +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/doc/basics/io/package-use.html b/doc/basics/io/package-use.html new file mode 100644 index 00000000..33fff508 --- /dev/null +++ b/doc/basics/io/package-use.html @@ -0,0 +1,195 @@ + + + + + + +Uses of Package basics.io + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Package
basics.io

+
+ + + + + + + + + + + + + +
+Packages that use basics.io
algorithms  
basics.io  
+  +

+ + + + + + + + +
+Classes in basics.io used by algorithms
AlgorithmConfig + +
+           
+  +

+ + + + + + + + + + + +
+Classes in basics.io used by basics.io
AlgorithmConfig + +
+           
VrpXMLReader.ServiceBuilderFactory + +
+           
+  +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/doc/basics/package-frame.html b/doc/basics/package-frame.html new file mode 100644 index 00000000..c6f852e7 --- /dev/null +++ b/doc/basics/package-frame.html @@ -0,0 +1,76 @@ + + + + + + +basics + + + + + + + + + + + +basics + + + + +
+Interfaces  + +
+Job
+ + + + + + +
+Classes  + +
+Delivery +
+Delivery.Builder +
+Pickup +
+Pickup.Builder +
+Service +
+Service.Builder +
+VehicleRoutingAlgorithm +
+VehicleRoutingProblem +
+VehicleRoutingProblem.Builder +
+VehicleRoutingProblemSolution
+ + + + + + +
+Enums  + +
+VehicleRoutingProblem.Constraint +
+VehicleRoutingProblem.FleetComposition +
+VehicleRoutingProblem.FleetSize
+ + + + diff --git a/doc/basics/package-summary.html b/doc/basics/package-summary.html new file mode 100644 index 00000000..4590b8e2 --- /dev/null +++ b/doc/basics/package-summary.html @@ -0,0 +1,229 @@ + + + + + + +basics + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+

+Package basics +

+ + + + + + + + + +
+Interface Summary
Job 
+  + +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Class Summary
Delivery 
Delivery.Builder 
Pickup 
Pickup.Builder 
Service 
Service.Builder 
VehicleRoutingAlgorithmAlgorithm that solves a VehicleRoutingProblem.
VehicleRoutingProblemContains and describes the vehicle routing problem.
VehicleRoutingProblem.BuilderBuilder to build the routing-problem.
VehicleRoutingProblemSolutionContains the solution of a vehicle routing problem and its corresponding costs.
+  + +

+ + + + + + + + + + + + + + + + + +
+Enum Summary
VehicleRoutingProblem.ConstraintOverall problem constraints.
VehicleRoutingProblem.FleetCompositionEnum that characterizes fleet-compostion.
VehicleRoutingProblem.FleetSizeEnum that characterizes the fleet-size.
+  + +

+

+
+
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/doc/basics/package-tree.html b/doc/basics/package-tree.html new file mode 100644 index 00000000..85cc9685 --- /dev/null +++ b/doc/basics/package-tree.html @@ -0,0 +1,173 @@ + + + + + + +basics Class Hierarchy + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Hierarchy For Package basics +

+
+
+
Package Hierarchies:
All Packages
+
+

+Class Hierarchy +

+ +

+Interface Hierarchy +

+ +

+Enum Hierarchy +

+ +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/doc/basics/package-use.html b/doc/basics/package-use.html new file mode 100644 index 00000000..28e186a9 --- /dev/null +++ b/doc/basics/package-use.html @@ -0,0 +1,477 @@ + + + + + + +Uses of Package basics + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Package
basics

+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Packages that use basics
algorithms  
algorithms.acceptors  
algorithms.selectors  
basics  
basics.algo  
basics.io  
basics.route  
util  
+  +

+ + + + + + + + + + + + + + + + + +
+Classes in basics used by algorithms
Job + +
+           
VehicleRoutingAlgorithm + +
+          Algorithm that solves a VehicleRoutingProblem.
VehicleRoutingProblem + +
+          Contains and describes the vehicle routing problem.
VehicleRoutingProblemSolution + +
+          Contains the solution of a vehicle routing problem and its corresponding costs.
+  +

+ + + + + + + + + + + + + + +
+Classes in basics used by algorithms.acceptors
VehicleRoutingAlgorithm + +
+          Algorithm that solves a VehicleRoutingProblem.
VehicleRoutingProblem + +
+          Contains and describes the vehicle routing problem.
VehicleRoutingProblemSolution + +
+          Contains the solution of a vehicle routing problem and its corresponding costs.
+  +

+ + + + + + + + +
+Classes in basics used by algorithms.selectors
VehicleRoutingProblemSolution + +
+          Contains the solution of a vehicle routing problem and its corresponding costs.
+  +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Classes in basics used by basics
Delivery + +
+           
Delivery.Builder + +
+           
Job + +
+           
Pickup + +
+           
Pickup.Builder + +
+           
Service + +
+           
Service.Builder + +
+           
VehicleRoutingProblem + +
+          Contains and describes the vehicle routing problem.
VehicleRoutingProblem.Builder + +
+          Builder to build the routing-problem.
VehicleRoutingProblem.Constraint + +
+          Overall problem constraints.
VehicleRoutingProblem.FleetComposition + +
+          Enum that characterizes fleet-compostion.
VehicleRoutingProblem.FleetSize + +
+          Enum that characterizes the fleet-size.
VehicleRoutingProblemSolution + +
+          Contains the solution of a vehicle routing problem and its corresponding costs.
+  +

+ + + + + + + + + + + + + + + + + +
+Classes in basics used by basics.algo
Job + +
+           
VehicleRoutingAlgorithm + +
+          Algorithm that solves a VehicleRoutingProblem.
VehicleRoutingProblem + +
+          Contains and describes the vehicle routing problem.
VehicleRoutingProblemSolution + +
+          Contains the solution of a vehicle routing problem and its corresponding costs.
+  +

+ + + + + + + + + + + + + + + + + +
+Classes in basics used by basics.io
Service.Builder + +
+           
VehicleRoutingProblem + +
+          Contains and describes the vehicle routing problem.
VehicleRoutingProblem.Builder + +
+          Builder to build the routing-problem.
VehicleRoutingProblemSolution + +
+          Contains the solution of a vehicle routing problem and its corresponding costs.
+  +

+ + + + + + + + + + + + + + + + + +
+Classes in basics used by basics.route
Delivery + +
+           
Job + +
+           
Pickup + +
+           
Service + +
+           
+  +

+ + + + + + + + + + + + + + + + + +
+Classes in basics used by util
Service + +
+           
VehicleRoutingAlgorithm + +
+          Algorithm that solves a VehicleRoutingProblem.
VehicleRoutingProblem + +
+          Contains and describes the vehicle routing problem.
VehicleRoutingProblemSolution + +
+          Contains the solution of a vehicle routing problem and its corresponding costs.
+  +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/doc/basics/route/DefaultTourActivityFactory.html b/doc/basics/route/DefaultTourActivityFactory.html new file mode 100644 index 00000000..2a5f031f --- /dev/null +++ b/doc/basics/route/DefaultTourActivityFactory.html @@ -0,0 +1,258 @@ + + + + + + +DefaultTourActivityFactory + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +basics.route +
+Class DefaultTourActivityFactory

+
+java.lang.Object
+  extended by basics.route.DefaultTourActivityFactory
+
+
+
All Implemented Interfaces:
TourActivityFactory
+
+
+
+
public class DefaultTourActivityFactory
extends java.lang.Object
implements TourActivityFactory
+ + +

+


+ +

+ + + + + + + + + + + +
+Constructor Summary
DefaultTourActivityFactory() + +
+           
+  + + + + + + + + + + + +
+Method Summary
+ TourActivitycreateActivity(Service service) + +
+           
+ + + + + + + +
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+DefaultTourActivityFactory

+
+public DefaultTourActivityFactory()
+
+
+ + + + + + + + +
+Method Detail
+ +

+createActivity

+
+public TourActivity createActivity(Service service)
+
+
+
Specified by:
createActivity in interface TourActivityFactory
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/doc/basics/route/DefaultVehicleRouteCostCalculator.html b/doc/basics/route/DefaultVehicleRouteCostCalculator.html new file mode 100644 index 00000000..24420a5a --- /dev/null +++ b/doc/basics/route/DefaultVehicleRouteCostCalculator.html @@ -0,0 +1,549 @@ + + + + + + +DefaultVehicleRouteCostCalculator + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +basics.route +
+Class DefaultVehicleRouteCostCalculator

+
+java.lang.Object
+  extended by basics.route.DefaultVehicleRouteCostCalculator
+
+
+
All Implemented Interfaces:
VehicleRouteCostCalculator
+
+
+
+
public class DefaultVehicleRouteCostCalculator
extends java.lang.Object
implements VehicleRouteCostCalculator
+ + +

+


+ +

+ + + + + + + + + + + +
+Constructor Summary
DefaultVehicleRouteCostCalculator() + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ voidaddActivityCost(double actCost) + +
+           
+ voidaddOtherCost(double cost) + +
+           
+ voidaddTransportCost(double tpCost) + +
+           
+ VehicleRouteCostCalculatorduplicate() + +
+           
+ voidfinish() + +
+           
+ doublegetActCosts() + +
+           
+ doublegetCosts() + +
+           
+ doublegetDriverCosts() + +
+           
+ doublegetOther() + +
+           
+ doublegetTpCosts() + +
+           
+ doublegetVehicleCosts() + +
+           
+ voidprice(Driver driver) + +
+           
+ voidprice(Vehicle vehicle) + +
+           
+ voidreset() + +
+           
+ + + + + + + +
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+DefaultVehicleRouteCostCalculator

+
+public DefaultVehicleRouteCostCalculator()
+
+
+ + + + + + + + +
+Method Detail
+ +

+addTransportCost

+
+public void addTransportCost(double tpCost)
+
+
+
Specified by:
addTransportCost in interface VehicleRouteCostCalculator
+
+
+
+
+
+
+ +

+addActivityCost

+
+public void addActivityCost(double actCost)
+
+
+
Specified by:
addActivityCost in interface VehicleRouteCostCalculator
+
+
+
+
+
+
+ +

+price

+
+public void price(Vehicle vehicle)
+
+
+
Specified by:
price in interface VehicleRouteCostCalculator
+
+
+
+
+
+
+ +

+price

+
+public void price(Driver driver)
+
+
+
Specified by:
price in interface VehicleRouteCostCalculator
+
+
+
+
+
+
+ +

+finish

+
+public void finish()
+
+
+
Specified by:
finish in interface VehicleRouteCostCalculator
+
+
+
+
+
+
+ +

+reset

+
+public void reset()
+
+
+
Specified by:
reset in interface VehicleRouteCostCalculator
+
+
+
+
+
+
+ +

+addOtherCost

+
+public void addOtherCost(double cost)
+
+
+
Specified by:
addOtherCost in interface VehicleRouteCostCalculator
+
+
+
+
+
+
+ +

+getCosts

+
+public double getCosts()
+
+
+
Specified by:
getCosts in interface VehicleRouteCostCalculator
+
+
+
+
+
+
+ +

+getTpCosts

+
+public double getTpCosts()
+
+
+
+
+
+ +
Returns:
the tpCosts
+
+
+
+ +

+getActCosts

+
+public double getActCosts()
+
+
+
+
+
+ +
Returns:
the actCosts
+
+
+
+ +

+getVehicleCosts

+
+public double getVehicleCosts()
+
+
+
+
+
+ +
Returns:
the vehicleCosts
+
+
+
+ +

+getDriverCosts

+
+public double getDriverCosts()
+
+
+
+
+
+ +
Returns:
the driverCosts
+
+
+
+ +

+getOther

+
+public double getOther()
+
+
+
+
+
+ +
Returns:
the other
+
+
+
+ +

+duplicate

+
+public VehicleRouteCostCalculator duplicate()
+
+
+
Specified by:
duplicate in interface VehicleRouteCostCalculator
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/doc/basics/route/DeliveryActivity.html b/doc/basics/route/DeliveryActivity.html new file mode 100644 index 00000000..45ab8a7b --- /dev/null +++ b/doc/basics/route/DeliveryActivity.html @@ -0,0 +1,519 @@ + + + + + + +DeliveryActivity + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +basics.route +
+Class DeliveryActivity

+
+java.lang.Object
+  extended by basics.route.DeliveryActivity
+
+
+
All Implemented Interfaces:
TourActivity, TourActivity.JobActivity<Delivery>
+
+
+
+
public class DeliveryActivity
extends java.lang.Object
implements TourActivity.JobActivity<Delivery>
+ + +

+


+ +

+ + + + + + + +
+Nested Class Summary
+ + + + + + + +
Nested classes/interfaces inherited from interface basics.route.TourActivity
TourActivity.JobActivity<T extends Job>
+  + + + + + + + + + + + +
+Constructor Summary
DeliveryActivity(Delivery delivery) + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ TourActivityduplicate() + +
+           
+ doublegetArrTime() + +
+           
+ intgetCapacityDemand() + +
+           
+ doublegetEndTime() + +
+           
+ DeliverygetJob() + +
+           
+ java.lang.StringgetLocationId() + +
+           
+ java.lang.StringgetName() + +
+           
+ doublegetOperationTime() + +
+           
+ doublegetTheoreticalEarliestOperationStartTime() + +
+           
+ doublegetTheoreticalLatestOperationStartTime() + +
+           
+ voidsetArrTime(double arrTime) + +
+           
+ voidsetEndTime(double endTime) + +
+           
+ + + + + + + +
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+DeliveryActivity

+
+public DeliveryActivity(Delivery delivery)
+
+
+ + + + + + + + +
+Method Detail
+ +

+getCapacityDemand

+
+public int getCapacityDemand()
+
+
+
Specified by:
getCapacityDemand in interface TourActivity
+
+
+
+
+
+
+ +

+getName

+
+public java.lang.String getName()
+
+
+
Specified by:
getName in interface TourActivity
+
+
+
+
+
+
+ +

+getLocationId

+
+public java.lang.String getLocationId()
+
+
+
Specified by:
getLocationId in interface TourActivity
+
+
+
+
+
+
+ +

+getTheoreticalEarliestOperationStartTime

+
+public double getTheoreticalEarliestOperationStartTime()
+
+
+
Specified by:
getTheoreticalEarliestOperationStartTime in interface TourActivity
+
+
+
+
+
+
+ +

+getTheoreticalLatestOperationStartTime

+
+public double getTheoreticalLatestOperationStartTime()
+
+
+
Specified by:
getTheoreticalLatestOperationStartTime in interface TourActivity
+
+
+
+
+
+
+ +

+getOperationTime

+
+public double getOperationTime()
+
+
+
Specified by:
getOperationTime in interface TourActivity
+
+
+
+
+
+
+ +

+getArrTime

+
+public double getArrTime()
+
+
+
Specified by:
getArrTime in interface TourActivity
+
+
+
+
+
+
+ +

+getEndTime

+
+public double getEndTime()
+
+
+
Specified by:
getEndTime in interface TourActivity
+
+
+
+
+
+
+ +

+setArrTime

+
+public void setArrTime(double arrTime)
+
+
+
Specified by:
setArrTime in interface TourActivity
+
+
+
+
+
+
+ +

+setEndTime

+
+public void setEndTime(double endTime)
+
+
+
Specified by:
setEndTime in interface TourActivity
+
+
+
+
+
+
+ +

+duplicate

+
+public TourActivity duplicate()
+
+
+
Specified by:
duplicate in interface TourActivity
+
+
+
+
+
+
+ +

+getJob

+
+public Delivery getJob()
+
+
+
Specified by:
getJob in interface TourActivity.JobActivity<Delivery>
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/doc/basics/route/Driver.html b/doc/basics/route/Driver.html new file mode 100644 index 00000000..0e01af26 --- /dev/null +++ b/doc/basics/route/Driver.html @@ -0,0 +1,209 @@ + + + + + + +Driver + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +basics.route +
+Interface Driver

+
+
All Known Implementing Classes:
DriverImpl, DriverImpl.NoDriver
+
+
+
+
public interface Driver
+ + +

+


+ +

+ + + + + + + + + + + + +
+Method Summary
+ java.lang.StringgetId() + +
+           
+  +

+ + + + + + + + +
+Method Detail
+ +

+getId

+
+java.lang.String getId()
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/doc/basics/route/DriverImpl.NoDriver.html b/doc/basics/route/DriverImpl.NoDriver.html new file mode 100644 index 00000000..1835e320 --- /dev/null +++ b/doc/basics/route/DriverImpl.NoDriver.html @@ -0,0 +1,259 @@ + + + + + + +DriverImpl.NoDriver + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +basics.route +
+Class DriverImpl.NoDriver

+
+java.lang.Object
+  extended by basics.route.DriverImpl
+      extended by basics.route.DriverImpl.NoDriver
+
+
+
All Implemented Interfaces:
Driver
+
+
+
Enclosing class:
DriverImpl
+
+
+
+
public static class DriverImpl.NoDriver
extends DriverImpl
+ + +

+


+ +

+ + + + + + + +
+Nested Class Summary
+ + + + + + + +
Nested classes/interfaces inherited from class basics.route.DriverImpl
DriverImpl.NoDriver
+  + + + + + + + + + + + +
+Constructor Summary
DriverImpl.NoDriver() + +
+           
+  + + + + + + + +
+Method Summary
+ + + + + + + +
Methods inherited from class basics.route.DriverImpl
getEarliestStart, getHomeLocation, getId, getLatestEnd, noDriver, setEarliestStart, setHomeLocation, setLatestEnd
+ + + + + + + +
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+DriverImpl.NoDriver

+
+public DriverImpl.NoDriver()
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/doc/basics/route/DriverImpl.html b/doc/basics/route/DriverImpl.html new file mode 100644 index 00000000..4ab18dfa --- /dev/null +++ b/doc/basics/route/DriverImpl.html @@ -0,0 +1,399 @@ + + + + + + +DriverImpl + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +basics.route +
+Class DriverImpl

+
+java.lang.Object
+  extended by basics.route.DriverImpl
+
+
+
All Implemented Interfaces:
Driver
+
+
+
Direct Known Subclasses:
DriverImpl.NoDriver
+
+
+
+
public class DriverImpl
extends java.lang.Object
implements Driver
+ + +

+


+ +

+ + + + + + + + + + + +
+Nested Class Summary
+static classDriverImpl.NoDriver + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ doublegetEarliestStart() + +
+           
+ java.lang.StringgetHomeLocation() + +
+           
+ java.lang.StringgetId() + +
+           
+ doublegetLatestEnd() + +
+           
+static DriverImpl.NoDrivernoDriver() + +
+           
+ voidsetEarliestStart(double earliestStart) + +
+           
+ voidsetHomeLocation(java.lang.String locationId) + +
+           
+ voidsetLatestEnd(double latestEnd) + +
+           
+ + + + + + + +
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Method Detail
+ +

+noDriver

+
+public static DriverImpl.NoDriver noDriver()
+
+
+
+
+
+
+
+
+
+ +

+getId

+
+public java.lang.String getId()
+
+
+
Specified by:
getId in interface Driver
+
+
+
+
+
+
+ +

+getEarliestStart

+
+public double getEarliestStart()
+
+
+
+
+
+
+
+
+
+ +

+setEarliestStart

+
+public void setEarliestStart(double earliestStart)
+
+
+
+
+
+
+
+
+
+ +

+getLatestEnd

+
+public double getLatestEnd()
+
+
+
+
+
+
+
+
+
+ +

+setLatestEnd

+
+public void setLatestEnd(double latestEnd)
+
+
+
+
+
+
+
+
+
+ +

+setHomeLocation

+
+public void setHomeLocation(java.lang.String locationId)
+
+
+
+
+
+
+
+
+
+ +

+getHomeLocation

+
+public java.lang.String getHomeLocation()
+
+
+
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/doc/basics/route/End.html b/doc/basics/route/End.html new file mode 100644 index 00000000..3d6b2cc6 --- /dev/null +++ b/doc/basics/route/End.html @@ -0,0 +1,731 @@ + + + + + + +End + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +basics.route +
+Class End

+
+java.lang.Object
+  extended by basics.route.End
+
+
+
All Implemented Interfaces:
TourActivity
+
+
+
+
public final class End
extends java.lang.Object
implements TourActivity
+ + +

+


+ +

+ + + + + + + +
+Nested Class Summary
+ + + + + + + +
Nested classes/interfaces inherited from interface basics.route.TourActivity
TourActivity.JobActivity<T extends Job>
+  + + + + + + + + + + + +
+Field Summary
+static intcreation + +
+           
+  + + + + + + + + + + + + + +
+Constructor Summary
End(End end) + +
+           
End(java.lang.String locationId, + double theoreticalStart, + double theoreticalEnd) + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+static EndcopyOf(End end) + +
+           
+ TourActivityduplicate() + +
+           
+ doublegetArrTime() + +
+           
+ intgetCapacityDemand() + +
+           
+ CoordinategetCoordinate() + +
+           
+ doublegetEndTime() + +
+           
+ java.lang.StringgetLocationId() + +
+           
+ java.lang.StringgetName() + +
+           
+ doublegetOperationTime() + +
+           
+ doublegetTheoreticalEarliestOperationStartTime() + +
+           
+ doublegetTheoreticalLatestOperationStartTime() + +
+           
+static EndnewInstance(java.lang.String locationId, + double earliestArrival, + double latestArrival) + +
+           
+ voidsetArrTime(double arrTime) + +
+           
+ voidsetCoordinate(Coordinate coordinate) + +
+           
+ voidsetEndTime(double endTime) + +
+           
+ voidsetLocationId(java.lang.String locationId) + +
+           
+ voidsetTheoreticalEarliestOperationStartTime(double theoreticalEarliestOperationStartTime) + +
+           
+ voidsetTheoreticalLatestOperationStartTime(double theoreticalLatestOperationStartTime) + +
+           
+ java.lang.StringtoString() + +
+           
+ + + + + + + +
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
+  +

+ + + + + + + + +
+Field Detail
+ +

+creation

+
+public static int creation
+
+
+
+
+ + + + + + + + +
+Constructor Detail
+ +

+End

+
+public End(java.lang.String locationId,
+           double theoreticalStart,
+           double theoreticalEnd)
+
+
+
+ +

+End

+
+public End(End end)
+
+
+ + + + + + + + +
+Method Detail
+ +

+newInstance

+
+public static End newInstance(java.lang.String locationId,
+                              double earliestArrival,
+                              double latestArrival)
+
+
+
+
+
+
+
+
+
+ +

+copyOf

+
+public static End copyOf(End end)
+
+
+
+
+
+
+
+
+
+ +

+getCoordinate

+
+public Coordinate getCoordinate()
+
+
+
+
+
+
+
+
+
+ +

+setCoordinate

+
+public void setCoordinate(Coordinate coordinate)
+
+
+
+
+
+
+
+
+
+ +

+setTheoreticalEarliestOperationStartTime

+
+public void setTheoreticalEarliestOperationStartTime(double theoreticalEarliestOperationStartTime)
+
+
+
+
+
+
+
+
+
+ +

+setTheoreticalLatestOperationStartTime

+
+public void setTheoreticalLatestOperationStartTime(double theoreticalLatestOperationStartTime)
+
+
+
+
+
+
+
+
+
+ +

+getTheoreticalEarliestOperationStartTime

+
+public double getTheoreticalEarliestOperationStartTime()
+
+
+
Specified by:
getTheoreticalEarliestOperationStartTime in interface TourActivity
+
+
+
+
+
+
+ +

+getTheoreticalLatestOperationStartTime

+
+public double getTheoreticalLatestOperationStartTime()
+
+
+
Specified by:
getTheoreticalLatestOperationStartTime in interface TourActivity
+
+
+
+
+
+
+ +

+getEndTime

+
+public double getEndTime()
+
+
+
Specified by:
getEndTime in interface TourActivity
+
+
+
+
+
+
+ +

+setEndTime

+
+public void setEndTime(double endTime)
+
+
+
Specified by:
setEndTime in interface TourActivity
+
+
+
+
+
+
+ +

+setLocationId

+
+public void setLocationId(java.lang.String locationId)
+
+
+
+
+
+
+
+
+
+ +

+getLocationId

+
+public java.lang.String getLocationId()
+
+
+
Specified by:
getLocationId in interface TourActivity
+
+
+
+
+
+
+ +

+getOperationTime

+
+public double getOperationTime()
+
+
+
Specified by:
getOperationTime in interface TourActivity
+
+
+
+
+
+
+ +

+toString

+
+public java.lang.String toString()
+
+
+
Overrides:
toString in class java.lang.Object
+
+
+
+
+
+
+ +

+getName

+
+public java.lang.String getName()
+
+
+
Specified by:
getName in interface TourActivity
+
+
+
+
+
+
+ +

+getArrTime

+
+public double getArrTime()
+
+
+
Specified by:
getArrTime in interface TourActivity
+
+
+
+
+
+
+ +

+setArrTime

+
+public void setArrTime(double arrTime)
+
+
+
Specified by:
setArrTime in interface TourActivity
+
+
+
+
+
+
+ +

+getCapacityDemand

+
+public int getCapacityDemand()
+
+
+
Specified by:
getCapacityDemand in interface TourActivity
+
+
+
+
+
+
+ +

+duplicate

+
+public TourActivity duplicate()
+
+
+
Specified by:
duplicate in interface TourActivity
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/doc/basics/route/PenaltyVehicleType.html b/doc/basics/route/PenaltyVehicleType.html new file mode 100644 index 00000000..dde16dff --- /dev/null +++ b/doc/basics/route/PenaltyVehicleType.html @@ -0,0 +1,324 @@ + + + + + + +PenaltyVehicleType + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +basics.route +
+Class PenaltyVehicleType

+
+java.lang.Object
+  extended by basics.route.PenaltyVehicleType
+
+
+
All Implemented Interfaces:
VehicleType
+
+
+
+
public class PenaltyVehicleType
extends java.lang.Object
implements VehicleType
+ + +

+


+ +

+ + + + + + + + + + + +
+Constructor Summary
PenaltyVehicleType(VehicleType type) + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ intgetCapacity() + +
+           
+ doublegetMaxVelocity() + +
+           
+ java.lang.StringgetTypeId() + +
+           
+ VehicleTypeImpl.VehicleCostParamsgetVehicleCostParams() + +
+           
+ + + + + + + +
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+PenaltyVehicleType

+
+public PenaltyVehicleType(VehicleType type)
+
+
+ + + + + + + + +
+Method Detail
+ +

+getTypeId

+
+public java.lang.String getTypeId()
+
+
+
Specified by:
getTypeId in interface VehicleType
+
+
+
+
+
+
+ +

+getCapacity

+
+public int getCapacity()
+
+
+
Specified by:
getCapacity in interface VehicleType
+
+
+
+
+
+
+ +

+getVehicleCostParams

+
+public VehicleTypeImpl.VehicleCostParams getVehicleCostParams()
+
+
+
Specified by:
getVehicleCostParams in interface VehicleType
+
+
+
+
+
+
+ +

+getMaxVelocity

+
+public double getMaxVelocity()
+
+
+
Specified by:
getMaxVelocity in interface VehicleType
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/doc/basics/route/PickupActivity.html b/doc/basics/route/PickupActivity.html new file mode 100644 index 00000000..baa96111 --- /dev/null +++ b/doc/basics/route/PickupActivity.html @@ -0,0 +1,519 @@ + + + + + + +PickupActivity + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +basics.route +
+Class PickupActivity

+
+java.lang.Object
+  extended by basics.route.PickupActivity
+
+
+
All Implemented Interfaces:
TourActivity, TourActivity.JobActivity<Pickup>
+
+
+
+
public class PickupActivity
extends java.lang.Object
implements TourActivity.JobActivity<Pickup>
+ + +

+


+ +

+ + + + + + + +
+Nested Class Summary
+ + + + + + + +
Nested classes/interfaces inherited from interface basics.route.TourActivity
TourActivity.JobActivity<T extends Job>
+  + + + + + + + + + + + +
+Constructor Summary
PickupActivity(Pickup pickup) + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ TourActivityduplicate() + +
+           
+ doublegetArrTime() + +
+           
+ intgetCapacityDemand() + +
+           
+ doublegetEndTime() + +
+           
+ PickupgetJob() + +
+           
+ java.lang.StringgetLocationId() + +
+           
+ java.lang.StringgetName() + +
+           
+ doublegetOperationTime() + +
+           
+ doublegetTheoreticalEarliestOperationStartTime() + +
+           
+ doublegetTheoreticalLatestOperationStartTime() + +
+           
+ voidsetArrTime(double arrTime) + +
+           
+ voidsetEndTime(double endTime) + +
+           
+ + + + + + + +
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+PickupActivity

+
+public PickupActivity(Pickup pickup)
+
+
+ + + + + + + + +
+Method Detail
+ +

+getName

+
+public java.lang.String getName()
+
+
+
Specified by:
getName in interface TourActivity
+
+
+
+
+
+
+ +

+getLocationId

+
+public java.lang.String getLocationId()
+
+
+
Specified by:
getLocationId in interface TourActivity
+
+
+
+
+
+
+ +

+getTheoreticalEarliestOperationStartTime

+
+public double getTheoreticalEarliestOperationStartTime()
+
+
+
Specified by:
getTheoreticalEarliestOperationStartTime in interface TourActivity
+
+
+
+
+
+
+ +

+getTheoreticalLatestOperationStartTime

+
+public double getTheoreticalLatestOperationStartTime()
+
+
+
Specified by:
getTheoreticalLatestOperationStartTime in interface TourActivity
+
+
+
+
+
+
+ +

+getOperationTime

+
+public double getOperationTime()
+
+
+
Specified by:
getOperationTime in interface TourActivity
+
+
+
+
+
+
+ +

+getArrTime

+
+public double getArrTime()
+
+
+
Specified by:
getArrTime in interface TourActivity
+
+
+
+
+
+
+ +

+getEndTime

+
+public double getEndTime()
+
+
+
Specified by:
getEndTime in interface TourActivity
+
+
+
+
+
+
+ +

+setArrTime

+
+public void setArrTime(double arrTime)
+
+
+
Specified by:
setArrTime in interface TourActivity
+
+
+
+
+
+
+ +

+setEndTime

+
+public void setEndTime(double endTime)
+
+
+
Specified by:
setEndTime in interface TourActivity
+
+
+
+
+
+
+ +

+duplicate

+
+public TourActivity duplicate()
+
+
+
Specified by:
duplicate in interface TourActivity
+
+
+
+
+
+
+ +

+getJob

+
+public Pickup getJob()
+
+
+
Specified by:
getJob in interface TourActivity.JobActivity<Pickup>
+
+
+
+
+
+
+ +

+getCapacityDemand

+
+public int getCapacityDemand()
+
+
+
Specified by:
getCapacityDemand in interface TourActivity
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/doc/basics/route/ServiceActivity.html b/doc/basics/route/ServiceActivity.html new file mode 100644 index 00000000..d0b8b492 --- /dev/null +++ b/doc/basics/route/ServiceActivity.html @@ -0,0 +1,688 @@ + + + + + + +ServiceActivity + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +basics.route +
+Class ServiceActivity

+
+java.lang.Object
+  extended by basics.route.ServiceActivity
+
+
+
All Implemented Interfaces:
TourActivity, TourActivity.JobActivity<Service>
+
+
+
+
public class ServiceActivity
extends java.lang.Object
implements TourActivity.JobActivity<Service>
+ + +

+


+ +

+ + + + + + + +
+Nested Class Summary
+ + + + + + + +
Nested classes/interfaces inherited from interface basics.route.TourActivity
TourActivity.JobActivity<T extends Job>
+  + + + + + + + + + + + + + + + + + + + + + + + +
+Field Summary
+ doublearrTime + +
+           
+ intcapacityDemand + +
+           
+static intcounter + +
+           
+ doubleendTime + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+static ServiceActivitycopyOf(ServiceActivity serviceActivity) + +
+           
+ TourActivityduplicate() + +
+           
+ booleanequals(java.lang.Object obj) + +
+           
+ doublegetArrTime() + +
+           
+ intgetCapacityDemand() + +
+           
+ doublegetEndTime() + +
+           
+ ServicegetJob() + +
+           
+ java.lang.StringgetLocationId() + +
+           
+ java.lang.StringgetName() + +
+           
+ doublegetOperationTime() + +
+           
+ doublegetTheoreticalEarliestOperationStartTime() + +
+           
+ doublegetTheoreticalLatestOperationStartTime() + +
+           
+ inthashCode() + +
+           
+static ServiceActivitynewInstance(Service service) + +
+           
+ voidsetArrTime(double arrTime) + +
+           
+ voidsetEndTime(double endTime) + +
+           
+ java.lang.StringtoString() + +
+           
+ + + + + + + +
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
+  +

+ + + + + + + + +
+Field Detail
+ +

+counter

+
+public static int counter
+
+
+
+
+
+ +

+arrTime

+
+public double arrTime
+
+
+
+
+
+ +

+endTime

+
+public double endTime
+
+
+
+
+
+ +

+capacityDemand

+
+public int capacityDemand
+
+
+
+
+ + + + + + + + +
+Method Detail
+ +

+getArrTime

+
+public double getArrTime()
+
+
+
Specified by:
getArrTime in interface TourActivity
+
+
+ +
Returns:
the arrTime
+
+
+
+ +

+setArrTime

+
+public void setArrTime(double arrTime)
+
+
+
Specified by:
setArrTime in interface TourActivity
+
+
+
Parameters:
arrTime - the arrTime to set
+
+
+
+ +

+getEndTime

+
+public double getEndTime()
+
+
+
Specified by:
getEndTime in interface TourActivity
+
+
+ +
Returns:
the endTime
+
+
+
+ +

+setEndTime

+
+public void setEndTime(double endTime)
+
+
+
Specified by:
setEndTime in interface TourActivity
+
+
+
Parameters:
endTime - the endTime to set
+
+
+
+ +

+copyOf

+
+public static ServiceActivity copyOf(ServiceActivity serviceActivity)
+
+
+
+
+
+
+
+
+
+ +

+newInstance

+
+public static ServiceActivity newInstance(Service service)
+
+
+
+
+
+
+
+
+
+ +

+hashCode

+
+public int hashCode()
+
+
+
Overrides:
hashCode in class java.lang.Object
+
+
+
+
+
+
+ +

+equals

+
+public boolean equals(java.lang.Object obj)
+
+
+
Overrides:
equals in class java.lang.Object
+
+
+
+
+
+
+ +

+getTheoreticalEarliestOperationStartTime

+
+public double getTheoreticalEarliestOperationStartTime()
+
+
+
Specified by:
getTheoreticalEarliestOperationStartTime in interface TourActivity
+
+
+
+
+
+
+ +

+getTheoreticalLatestOperationStartTime

+
+public double getTheoreticalLatestOperationStartTime()
+
+
+
Specified by:
getTheoreticalLatestOperationStartTime in interface TourActivity
+
+
+
+
+
+
+ +

+getCapacityDemand

+
+public int getCapacityDemand()
+
+
+
Specified by:
getCapacityDemand in interface TourActivity
+
+
+
+
+
+
+ +

+getOperationTime

+
+public double getOperationTime()
+
+
+
Specified by:
getOperationTime in interface TourActivity
+
+
+
+
+
+
+ +

+getLocationId

+
+public java.lang.String getLocationId()
+
+
+
Specified by:
getLocationId in interface TourActivity
+
+
+
+
+
+
+ +

+getJob

+
+public Service getJob()
+
+
+
Specified by:
getJob in interface TourActivity.JobActivity<Service>
+
+
+
+
+
+
+ +

+toString

+
+public java.lang.String toString()
+
+
+
Overrides:
toString in class java.lang.Object
+
+
+
+
+
+
+ +

+getName

+
+public java.lang.String getName()
+
+
+
Specified by:
getName in interface TourActivity
+
+
+
+
+
+
+ +

+duplicate

+
+public TourActivity duplicate()
+
+
+
Specified by:
duplicate in interface TourActivity
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/doc/basics/route/Start.html b/doc/basics/route/Start.html new file mode 100644 index 00000000..1642c73d --- /dev/null +++ b/doc/basics/route/Start.html @@ -0,0 +1,735 @@ + + + + + + +Start + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +basics.route +
+Class Start

+
+java.lang.Object
+  extended by basics.route.Start
+
+
+
All Implemented Interfaces:
TourActivity
+
+
+
+
public final class Start
extends java.lang.Object
implements TourActivity
+ + +

+


+ +

+ + + + + + + +
+Nested Class Summary
+ + + + + + + +
Nested classes/interfaces inherited from interface basics.route.TourActivity
TourActivity.JobActivity<T extends Job>
+  + + + + + + + + + + + + + + + +
+Field Summary
+static java.lang.StringACTIVITY_NAME + +
+           
+static intcreation + +
+           
+  + + + + + + + + + + +
+Constructor Summary
Start(java.lang.String locationId, + double theoreticalStart, + double theoreticalEnd) + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+static StartcopyOf(Start start) + +
+           
+ TourActivityduplicate() + +
+           
+ doublegetArrTime() + +
+           
+ intgetCapacityDemand() + +
+           
+ CoordinategetCoordinate() + +
+           
+ doublegetEndTime() + +
+           
+ java.lang.StringgetLocationId() + +
+           
+ java.lang.StringgetName() + +
+           
+ doublegetOperationTime() + +
+           
+ doublegetTheoreticalEarliestOperationStartTime() + +
+           
+ doublegetTheoreticalLatestOperationStartTime() + +
+           
+static StartnewInstance(java.lang.String locationId, + double theoreticalStart, + double theoreticalEnd) + +
+           
+ voidsetArrTime(double arrTime) + +
+           
+ voidsetCoordinate(Coordinate coordinate) + +
+           
+ voidsetEndTime(double endTime) + +
+           
+ voidsetLocationId(java.lang.String locationId) + +
+           
+ voidsetTheoreticalEarliestOperationStartTime(double time) + +
+           
+ voidsetTheoreticalLatestOperationStartTime(double time) + +
+           
+ java.lang.StringtoString() + +
+           
+ + + + + + + +
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
+  +

+ + + + + + + + +
+Field Detail
+ +

+ACTIVITY_NAME

+
+public static final java.lang.String ACTIVITY_NAME
+
+
+
See Also:
Constant Field Values
+
+
+ +

+creation

+
+public static int creation
+
+
+
+
+ + + + + + + + +
+Constructor Detail
+ +

+Start

+
+public Start(java.lang.String locationId,
+             double theoreticalStart,
+             double theoreticalEnd)
+
+
+ + + + + + + + +
+Method Detail
+ +

+newInstance

+
+public static Start newInstance(java.lang.String locationId,
+                                double theoreticalStart,
+                                double theoreticalEnd)
+
+
+
+
+
+
+
+
+
+ +

+copyOf

+
+public static Start copyOf(Start start)
+
+
+
+
+
+
+
+
+
+ +

+getCoordinate

+
+public Coordinate getCoordinate()
+
+
+
+
+
+
+
+
+
+ +

+setCoordinate

+
+public void setCoordinate(Coordinate coordinate)
+
+
+
+
+
+
+
+
+
+ +

+getTheoreticalEarliestOperationStartTime

+
+public double getTheoreticalEarliestOperationStartTime()
+
+
+
Specified by:
getTheoreticalEarliestOperationStartTime in interface TourActivity
+
+
+
+
+
+
+ +

+setLocationId

+
+public void setLocationId(java.lang.String locationId)
+
+
+
+
+
+
+
+
+
+ +

+getTheoreticalLatestOperationStartTime

+
+public double getTheoreticalLatestOperationStartTime()
+
+
+
Specified by:
getTheoreticalLatestOperationStartTime in interface TourActivity
+
+
+
+
+
+
+ +

+setTheoreticalEarliestOperationStartTime

+
+public void setTheoreticalEarliestOperationStartTime(double time)
+
+
+
+
+
+
+
+
+
+ +

+setTheoreticalLatestOperationStartTime

+
+public void setTheoreticalLatestOperationStartTime(double time)
+
+
+
+
+
+
+
+
+
+ +

+getLocationId

+
+public java.lang.String getLocationId()
+
+
+
Specified by:
getLocationId in interface TourActivity
+
+
+
+
+
+
+ +

+getOperationTime

+
+public double getOperationTime()
+
+
+
Specified by:
getOperationTime in interface TourActivity
+
+
+
+
+
+
+ +

+toString

+
+public java.lang.String toString()
+
+
+
Overrides:
toString in class java.lang.Object
+
+
+
+
+
+
+ +

+getName

+
+public java.lang.String getName()
+
+
+
Specified by:
getName in interface TourActivity
+
+
+
+
+
+
+ +

+getArrTime

+
+public double getArrTime()
+
+
+
Specified by:
getArrTime in interface TourActivity
+
+
+
+
+
+
+ +

+getEndTime

+
+public double getEndTime()
+
+
+
Specified by:
getEndTime in interface TourActivity
+
+
+
+
+
+
+ +

+setArrTime

+
+public void setArrTime(double arrTime)
+
+
+
Specified by:
setArrTime in interface TourActivity
+
+
+
+
+
+
+ +

+setEndTime

+
+public void setEndTime(double endTime)
+
+
+
Specified by:
setEndTime in interface TourActivity
+
+
+
+
+
+
+ +

+getCapacityDemand

+
+public int getCapacityDemand()
+
+
+
Specified by:
getCapacityDemand in interface TourActivity
+
+
+
+
+
+
+ +

+duplicate

+
+public TourActivity duplicate()
+
+
+
Specified by:
duplicate in interface TourActivity
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/doc/basics/route/TimeWindow.html b/doc/basics/route/TimeWindow.html new file mode 100644 index 00000000..459df4f4 --- /dev/null +++ b/doc/basics/route/TimeWindow.html @@ -0,0 +1,364 @@ + + + + + + +TimeWindow + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +basics.route +
+Class TimeWindow

+
+java.lang.Object
+  extended by basics.route.TimeWindow
+
+
+
+
public class TimeWindow
extends java.lang.Object
+ + +

+

+
Author:
+
stefan schroeder
+
+
+ +

+ + + + + + + + + + + +
+Constructor Summary
TimeWindow(double start, + double end) + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ booleanequals(java.lang.Object obj) + +
+           
+ doublegetEnd() + +
+           
+ doublegetStart() + +
+           
+ inthashCode() + +
+           
+static TimeWindownewInstance(double start, + double end) + +
+           
+ java.lang.StringtoString() + +
+           
+ + + + + + + +
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+TimeWindow

+
+public TimeWindow(double start,
+                  double end)
+
+
+ + + + + + + + +
+Method Detail
+ +

+newInstance

+
+public static TimeWindow newInstance(double start,
+                                     double end)
+
+
+
+
+
+
+ +

+getStart

+
+public double getStart()
+
+
+
+
+
+
+ +

+getEnd

+
+public double getEnd()
+
+
+
+
+
+
+ +

+toString

+
+public java.lang.String toString()
+
+
+
Overrides:
toString in class java.lang.Object
+
+
+
+
+
+
+ +

+hashCode

+
+public int hashCode()
+
+
+
Overrides:
hashCode in class java.lang.Object
+
+
+
+
+
+
+ +

+equals

+
+public boolean equals(java.lang.Object obj)
+
+
+
Overrides:
equals in class java.lang.Object
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/doc/basics/route/TourActivities.ReverseActivityIterator.html b/doc/basics/route/TourActivities.ReverseActivityIterator.html new file mode 100644 index 00000000..7ed3cbf0 --- /dev/null +++ b/doc/basics/route/TourActivities.ReverseActivityIterator.html @@ -0,0 +1,327 @@ + + + + + + +TourActivities.ReverseActivityIterator + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +basics.route +
+Class TourActivities.ReverseActivityIterator

+
+java.lang.Object
+  extended by basics.route.TourActivities.ReverseActivityIterator
+
+
+
All Implemented Interfaces:
java.util.Iterator<TourActivity>
+
+
+
Enclosing class:
TourActivities
+
+
+
+
public static class TourActivities.ReverseActivityIterator
extends java.lang.Object
implements java.util.Iterator<TourActivity>
+ + +

+


+ +

+ + + + + + + + + + + +
+Constructor Summary
TourActivities.ReverseActivityIterator(java.util.List<TourActivity> acts) + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ booleanhasNext() + +
+           
+ TourActivitynext() + +
+           
+ voidremove() + +
+           
+ voidreset() + +
+           
+ + + + + + + +
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+TourActivities.ReverseActivityIterator

+
+public TourActivities.ReverseActivityIterator(java.util.List<TourActivity> acts)
+
+
+ + + + + + + + +
+Method Detail
+ +

+hasNext

+
+public boolean hasNext()
+
+
+
Specified by:
hasNext in interface java.util.Iterator<TourActivity>
+
+
+
+
+
+
+ +

+next

+
+public TourActivity next()
+
+
+
Specified by:
next in interface java.util.Iterator<TourActivity>
+
+
+
+
+
+
+ +

+reset

+
+public void reset()
+
+
+
+
+
+
+
+
+
+ +

+remove

+
+public void remove()
+
+
+
Specified by:
remove in interface java.util.Iterator<TourActivity>
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/doc/basics/route/TourActivities.html b/doc/basics/route/TourActivities.html new file mode 100644 index 00000000..4d31ab47 --- /dev/null +++ b/doc/basics/route/TourActivities.html @@ -0,0 +1,509 @@ + + + + + + +TourActivities + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +basics.route +
+Class TourActivities

+
+java.lang.Object
+  extended by basics.route.TourActivities
+
+
+
+
public class TourActivities
extends java.lang.Object
+ + +

+

+
Author:
+
stefan schroeder
+
+
+ +

+ + + + + + + + + + + +
+Nested Class Summary
+static classTourActivities.ReverseActivityIterator + +
+           
+  + + + + + + + + + + +
+Constructor Summary
TourActivities() + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ voidaddActivity(int insertionIndex, + TourActivity act) + +
+           
+ voidaddActivity(TourActivity act) + +
+           
+static TourActivitiescopyOf(TourActivities tourActivities) + +
+           
+static TourActivitiesemptyTour() + +
+           
+ java.util.List<TourActivity>getActivities() + +
+           
+ java.util.Collection<Job>getJobs() + +
+           
+ booleanisEmpty() + +
+           
+ java.util.Iterator<TourActivity>iterator() + +
+           
+ intjobSize() + +
+           
+ booleanremoveJob(Job job) + +
+          Removes job AND belonging activity from tour and returns true if job has been removed, otherwise false.
+ java.util.Iterator<TourActivity>reverseActivityIterator() + +
+           
+ booleanservesJob(Job job) + +
+           
+ java.lang.StringtoString() + +
+           
+ + + + + + + +
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+TourActivities

+
+public TourActivities()
+
+
+ + + + + + + + +
+Method Detail
+ +

+copyOf

+
+public static TourActivities copyOf(TourActivities tourActivities)
+
+
+
+
+
+
+ +

+emptyTour

+
+public static TourActivities emptyTour()
+
+
+
+
+
+
+ +

+getActivities

+
+public java.util.List<TourActivity> getActivities()
+
+
+
+
+
+
+ +

+iterator

+
+public java.util.Iterator<TourActivity> iterator()
+
+
+
+
+
+
+ +

+isEmpty

+
+public boolean isEmpty()
+
+
+
+
+
+
+ +

+getJobs

+
+public java.util.Collection<Job> getJobs()
+
+
+
+
+
+
+ +

+servesJob

+
+public boolean servesJob(Job job)
+
+
+
+
+
+
+ +

+toString

+
+public java.lang.String toString()
+
+
+
Overrides:
toString in class java.lang.Object
+
+
+
+
+
+
+ +

+removeJob

+
+public boolean removeJob(Job job)
+
+
Removes job AND belonging activity from tour and returns true if job has been removed, otherwise false. +

+

+
Parameters:
job - +
Returns:
+
+
+
+ +

+addActivity

+
+public void addActivity(int insertionIndex,
+                        TourActivity act)
+
+
+
+
+
+
+ +

+addActivity

+
+public void addActivity(TourActivity act)
+
+
+
+
+
+
+ +

+jobSize

+
+public int jobSize()
+
+
+
+
+
+
+ +

+reverseActivityIterator

+
+public java.util.Iterator<TourActivity> reverseActivityIterator()
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/doc/basics/route/TourActivity.JobActivity.html b/doc/basics/route/TourActivity.JobActivity.html new file mode 100644 index 00000000..66263439 --- /dev/null +++ b/doc/basics/route/TourActivity.JobActivity.html @@ -0,0 +1,246 @@ + + + + + + +TourActivity.JobActivity + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +basics.route +
+Interface TourActivity.JobActivity<T extends Job>

+
+
All Superinterfaces:
TourActivity
+
+
+
All Known Implementing Classes:
DeliveryActivity, PickupActivity, ServiceActivity
+
+
+
Enclosing interface:
TourActivity
+
+
+
+
public static interface TourActivity.JobActivity<T extends Job>
extends TourActivity
+ + +

+


+ +

+ + + + + + + +
+Nested Class Summary
+ + + + + + + +
Nested classes/interfaces inherited from interface basics.route.TourActivity
TourActivity.JobActivity<T extends Job>
+  + + + + + + + + + + + + +
+Method Summary
+ TgetJob() + +
+           
+ + + + + + + +
Methods inherited from interface basics.route.TourActivity
duplicate, getArrTime, getCapacityDemand, getEndTime, getLocationId, getName, getOperationTime, getTheoreticalEarliestOperationStartTime, getTheoreticalLatestOperationStartTime, setArrTime, setEndTime
+  +

+ + + + + + + + +
+Method Detail
+ +

+getJob

+
+T getJob()
+
+
+
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/doc/basics/route/TourActivity.html b/doc/basics/route/TourActivity.html new file mode 100644 index 00000000..0b711ab3 --- /dev/null +++ b/doc/basics/route/TourActivity.html @@ -0,0 +1,419 @@ + + + + + + +TourActivity + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +basics.route +
+Interface TourActivity

+
+
All Known Subinterfaces:
TourActivity.JobActivity<T>
+
+
+
All Known Implementing Classes:
DeliveryActivity, End, PickupActivity, ServiceActivity, Start
+
+
+
+
public interface TourActivity
+ + +

+


+ +

+ + + + + + + + + + + +
+Nested Class Summary
+static interfaceTourActivity.JobActivity<T extends Job> + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ TourActivityduplicate() + +
+           
+ doublegetArrTime() + +
+           
+ intgetCapacityDemand() + +
+           
+ doublegetEndTime() + +
+           
+ java.lang.StringgetLocationId() + +
+           
+ java.lang.StringgetName() + +
+           
+ doublegetOperationTime() + +
+           
+ doublegetTheoreticalEarliestOperationStartTime() + +
+           
+ doublegetTheoreticalLatestOperationStartTime() + +
+           
+ voidsetArrTime(double arrTime) + +
+           
+ voidsetEndTime(double endTime) + +
+           
+  +

+ + + + + + + + +
+Method Detail
+ +

+getCapacityDemand

+
+int getCapacityDemand()
+
+
+
+
+
+
+ +

+getName

+
+java.lang.String getName()
+
+
+
+
+
+
+ +

+getLocationId

+
+java.lang.String getLocationId()
+
+
+
+
+
+
+ +

+getTheoreticalEarliestOperationStartTime

+
+double getTheoreticalEarliestOperationStartTime()
+
+
+
+
+
+
+ +

+getTheoreticalLatestOperationStartTime

+
+double getTheoreticalLatestOperationStartTime()
+
+
+
+
+
+
+ +

+getOperationTime

+
+double getOperationTime()
+
+
+
+
+
+
+ +

+getArrTime

+
+double getArrTime()
+
+
+
+
+
+
+ +

+getEndTime

+
+double getEndTime()
+
+
+
+
+
+
+ +

+setArrTime

+
+void setArrTime(double arrTime)
+
+
+
+
+
+
+ +

+setEndTime

+
+void setEndTime(double endTime)
+
+
+
+
+
+
+ +

+duplicate

+
+TourActivity duplicate()
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/doc/basics/route/TourActivityFactory.html b/doc/basics/route/TourActivityFactory.html new file mode 100644 index 00000000..3d8cb431 --- /dev/null +++ b/doc/basics/route/TourActivityFactory.html @@ -0,0 +1,209 @@ + + + + + + +TourActivityFactory + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +basics.route +
+Interface TourActivityFactory

+
+
All Known Implementing Classes:
DefaultTourActivityFactory
+
+
+
+
public interface TourActivityFactory
+ + +

+


+ +

+ + + + + + + + + + + + +
+Method Summary
+ TourActivitycreateActivity(Service service) + +
+           
+  +

+ + + + + + + + +
+Method Detail
+ +

+createActivity

+
+TourActivity createActivity(Service service)
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/doc/basics/route/Vehicle.html b/doc/basics/route/Vehicle.html new file mode 100644 index 00000000..a3af9c3c --- /dev/null +++ b/doc/basics/route/Vehicle.html @@ -0,0 +1,323 @@ + + + + + + +Vehicle + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +basics.route +
+Interface Vehicle

+
+
All Known Implementing Classes:
VehicleImpl, VehicleImpl.NoVehicle
+
+
+
+
public interface Vehicle
+ + +

+


+ +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ intgetCapacity() + +
+           
+ CoordinategetCoord() + +
+           
+ doublegetEarliestDeparture() + +
+           
+ java.lang.StringgetId() + +
+           
+ doublegetLatestArrival() + +
+           
+ java.lang.StringgetLocationId() + +
+           
+ VehicleTypegetType() + +
+           
+  +

+ + + + + + + + +
+Method Detail
+ +

+getEarliestDeparture

+
+double getEarliestDeparture()
+
+
+
+
+
+
+ +

+getLatestArrival

+
+double getLatestArrival()
+
+
+
+
+
+
+ +

+getLocationId

+
+java.lang.String getLocationId()
+
+
+
+
+
+
+ +

+getCoord

+
+Coordinate getCoord()
+
+
+
+
+
+
+ +

+getType

+
+VehicleType getType()
+
+
+
+
+
+
+ +

+getId

+
+java.lang.String getId()
+
+
+
+
+
+
+ +

+getCapacity

+
+int getCapacity()
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/doc/basics/route/VehicleImpl.Builder.html b/doc/basics/route/VehicleImpl.Builder.html new file mode 100644 index 00000000..04e074bd --- /dev/null +++ b/doc/basics/route/VehicleImpl.Builder.html @@ -0,0 +1,336 @@ + + + + + + +VehicleImpl.Builder + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +basics.route +
+Class VehicleImpl.Builder

+
+java.lang.Object
+  extended by basics.route.VehicleImpl.Builder
+
+
+
Enclosing class:
VehicleImpl
+
+
+
+
public static class VehicleImpl.Builder
extends java.lang.Object
+ + +

+


+ +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ VehicleImplbuild() + +
+           
+static VehicleImpl.BuildernewInstance(java.lang.String vehicleId) + +
+           
+ VehicleImpl.BuildersetEarliestStart(double start) + +
+           
+ VehicleImpl.BuildersetLatestArrival(double arr) + +
+           
+ VehicleImpl.BuildersetLocationCoord(Coordinate coord) + +
+           
+ VehicleImpl.BuildersetLocationId(java.lang.String id) + +
+           
+ VehicleImpl.BuildersetType(VehicleType type) + +
+           
+ + + + + + + +
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Method Detail
+ +

+setType

+
+public VehicleImpl.Builder setType(VehicleType type)
+
+
+
+
+
+
+ +

+setLocationId

+
+public VehicleImpl.Builder setLocationId(java.lang.String id)
+
+
+
+
+
+
+ +

+setLocationCoord

+
+public VehicleImpl.Builder setLocationCoord(Coordinate coord)
+
+
+
+
+
+
+ +

+setEarliestStart

+
+public VehicleImpl.Builder setEarliestStart(double start)
+
+
+
+
+
+
+ +

+setLatestArrival

+
+public VehicleImpl.Builder setLatestArrival(double arr)
+
+
+
+
+
+
+ +

+build

+
+public VehicleImpl build()
+
+
+
+
+
+
+ +

+newInstance

+
+public static VehicleImpl.Builder newInstance(java.lang.String vehicleId)
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/doc/basics/route/VehicleImpl.NoVehicle.html b/doc/basics/route/VehicleImpl.NoVehicle.html new file mode 100644 index 00000000..1f620e8b --- /dev/null +++ b/doc/basics/route/VehicleImpl.NoVehicle.html @@ -0,0 +1,290 @@ + + + + + + +VehicleImpl.NoVehicle + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +basics.route +
+Class VehicleImpl.NoVehicle

+
+java.lang.Object
+  extended by basics.route.VehicleImpl
+      extended by basics.route.VehicleImpl.NoVehicle
+
+
+
All Implemented Interfaces:
Vehicle
+
+
+
Enclosing class:
VehicleImpl
+
+
+
+
public static class VehicleImpl.NoVehicle
extends VehicleImpl
+ + +

+


+ +

+ + + + + + + +
+Nested Class Summary
+ + + + + + + +
Nested classes/interfaces inherited from class basics.route.VehicleImpl
VehicleImpl.Builder, VehicleImpl.NoVehicle
+  + + + + + + + + + + + +
+Constructor Summary
VehicleImpl.NoVehicle() + +
+           
+  + + + + + + + + + + + +
+Method Summary
+ intgetCapacity() + +
+           
+ + + + + + + +
Methods inherited from class basics.route.VehicleImpl
createNoVehicle, getCoord, getEarliestDeparture, getId, getLatestArrival, getLocationId, getType, noVehicle, toString
+ + + + + + + +
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+VehicleImpl.NoVehicle

+
+public VehicleImpl.NoVehicle()
+
+
+ + + + + + + + +
+Method Detail
+ +

+getCapacity

+
+public int getCapacity()
+
+
+
Specified by:
getCapacity in interface Vehicle
Overrides:
getCapacity in class VehicleImpl
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/doc/basics/route/VehicleImpl.html b/doc/basics/route/VehicleImpl.html new file mode 100644 index 00000000..b6045106 --- /dev/null +++ b/doc/basics/route/VehicleImpl.html @@ -0,0 +1,455 @@ + + + + + + +VehicleImpl + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +basics.route +
+Class VehicleImpl

+
+java.lang.Object
+  extended by basics.route.VehicleImpl
+
+
+
All Implemented Interfaces:
Vehicle
+
+
+
Direct Known Subclasses:
VehicleImpl.NoVehicle
+
+
+
+
public class VehicleImpl
extends java.lang.Object
implements Vehicle
+ + +

+

+
Author:
+
stefan schroeder
+
+
+ +

+ + + + + + + + + + + + + + + +
+Nested Class Summary
+static classVehicleImpl.Builder + +
+           
+static classVehicleImpl.NoVehicle + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+static VehicleImpl.NoVehiclecreateNoVehicle() + +
+           
+ intgetCapacity() + +
+           
+ CoordinategetCoord() + +
+           
+ doublegetEarliestDeparture() + +
+           
+ java.lang.StringgetId() + +
+           
+ doublegetLatestArrival() + +
+           
+ java.lang.StringgetLocationId() + +
+           
+ VehicleTypegetType() + +
+           
+static VehicleImpl.NoVehiclenoVehicle() + +
+           
+ java.lang.StringtoString() + +
+           
+ + + + + + + +
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
+  +

+ + + + + + + + +
+Method Detail
+ +

+noVehicle

+
+public static VehicleImpl.NoVehicle noVehicle()
+
+
+
+
+
+
+
+
+
+ +

+createNoVehicle

+
+public static VehicleImpl.NoVehicle createNoVehicle()
+
+
+
+
+
+
+
+
+
+ +

+toString

+
+public java.lang.String toString()
+
+
+
Overrides:
toString in class java.lang.Object
+
+
+
+
+
+
+ +

+getCoord

+
+public Coordinate getCoord()
+
+
+
Specified by:
getCoord in interface Vehicle
+
+
+
+
+
+
+ +

+getEarliestDeparture

+
+public double getEarliestDeparture()
+
+
+
Specified by:
getEarliestDeparture in interface Vehicle
+
+
+
+
+
+
+ +

+getLatestArrival

+
+public double getLatestArrival()
+
+
+
Specified by:
getLatestArrival in interface Vehicle
+
+
+
+
+
+
+ +

+getLocationId

+
+public java.lang.String getLocationId()
+
+
+
Specified by:
getLocationId in interface Vehicle
+
+
+
+
+
+
+ +

+getType

+
+public VehicleType getType()
+
+
+
Specified by:
getType in interface Vehicle
+
+
+
+
+
+
+ +

+getId

+
+public java.lang.String getId()
+
+
+
Specified by:
getId in interface Vehicle
+
+
+
+
+
+
+ +

+getCapacity

+
+public int getCapacity()
+
+
+
Specified by:
getCapacity in interface Vehicle
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/doc/basics/route/VehicleRoute.Builder.html b/doc/basics/route/VehicleRoute.Builder.html new file mode 100644 index 00000000..f2b5c5ff --- /dev/null +++ b/doc/basics/route/VehicleRoute.Builder.html @@ -0,0 +1,300 @@ + + + + + + +VehicleRoute.Builder + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +basics.route +
+Class VehicleRoute.Builder

+
+java.lang.Object
+  extended by basics.route.VehicleRoute.Builder
+
+
+
Enclosing class:
VehicleRoute
+
+
+
+
public static class VehicleRoute.Builder
extends java.lang.Object
+ + +

+


+ +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ VehicleRoute.BuilderaddActivity(TourActivity act) + +
+           
+ VehicleRoutebuild() + +
+           
+static VehicleRoute.BuildernewInstance(Start start, + End end) + +
+           
+ VehicleRoute.BuildersetDriver(Driver driver) + +
+           
+ VehicleRoute.BuildersetVehicle(Vehicle vehicle) + +
+           
+ + + + + + + +
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Method Detail
+ +

+newInstance

+
+public static VehicleRoute.Builder newInstance(Start start,
+                                               End end)
+
+
+
+
+
+
+ +

+setVehicle

+
+public VehicleRoute.Builder setVehicle(Vehicle vehicle)
+
+
+
+
+
+
+ +

+setDriver

+
+public VehicleRoute.Builder setDriver(Driver driver)
+
+
+
+
+
+
+ +

+addActivity

+
+public VehicleRoute.Builder addActivity(TourActivity act)
+
+
+
+
+
+
+ +

+build

+
+public VehicleRoute build()
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/doc/basics/route/VehicleRoute.html b/doc/basics/route/VehicleRoute.html new file mode 100644 index 00000000..af33e4ba --- /dev/null +++ b/doc/basics/route/VehicleRoute.html @@ -0,0 +1,508 @@ + + + + + + +VehicleRoute + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +basics.route +
+Class VehicleRoute

+
+java.lang.Object
+  extended by basics.route.VehicleRoute
+
+
+
+
public class VehicleRoute
extends java.lang.Object
+ + +

+


+ +

+ + + + + + + + + + + +
+Nested Class Summary
+static classVehicleRoute.Builder + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+static VehicleRoutecopyOf(VehicleRoute route) + +
+           
+static VehicleRouteemptyRoute() + +
+           
+ doublegetCost() + +
+           
+ doublegetDepartureTime() + +
+           
+ DrivergetDriver() + +
+           
+ EndgetEnd() + +
+           
+ StartgetStart() + +
+           
+ TourActivitiesgetTourActivities() + +
+           
+ VehiclegetVehicle() + +
+           
+ VehicleRouteCostCalculatorgetVehicleRouteCostCalculator() + +
+           
+ booleanisEmpty() + +
+           
+static VehicleRoutenewInstance(TourActivities tour, + Driver driver, + Vehicle vehicle) + +
+           
+ voidsetDepartureTime(double vehicleDepTime) + +
+           
+ voidsetVehicle(Vehicle vehicle, + double vehicleDepTime) + +
+           
+ voidsetVehicleRouteCostCalculator(VehicleRouteCostCalculator costAccumulator) + +
+           
+ + + + + + + +
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Method Detail
+ +

+copyOf

+
+public static VehicleRoute copyOf(VehicleRoute route)
+
+
+
+
+
+
+ +

+newInstance

+
+public static VehicleRoute newInstance(TourActivities tour,
+                                       Driver driver,
+                                       Vehicle vehicle)
+
+
+
+
+
+
+ +

+emptyRoute

+
+public static VehicleRoute emptyRoute()
+
+
+
+
+
+
+ +

+setVehicleRouteCostCalculator

+
+public void setVehicleRouteCostCalculator(VehicleRouteCostCalculator costAccumulator)
+
+
+
+
+
+
+ +

+getVehicleRouteCostCalculator

+
+public VehicleRouteCostCalculator getVehicleRouteCostCalculator()
+
+
+
+
+
+
+ +

+getCost

+
+public double getCost()
+
+
+
+
+
+
+ +

+getTourActivities

+
+public TourActivities getTourActivities()
+
+
+
+
+
+
+ +

+getVehicle

+
+public Vehicle getVehicle()
+
+
+
+
+
+
+ +

+getDriver

+
+public Driver getDriver()
+
+
+
+
+
+
+ +

+setVehicle

+
+public void setVehicle(Vehicle vehicle,
+                       double vehicleDepTime)
+
+
+
+
+
+
+ +

+setDepartureTime

+
+public void setDepartureTime(double vehicleDepTime)
+
+
+
+
+
+
+ +

+getDepartureTime

+
+public double getDepartureTime()
+
+
+
+
+
+
+ +

+isEmpty

+
+public boolean isEmpty()
+
+
+
+
+
+
+ +

+getStart

+
+public Start getStart()
+
+
+
+
+
+
+ +

+getEnd

+
+public End getEnd()
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/doc/basics/route/VehicleRouteCostCalculator.html b/doc/basics/route/VehicleRouteCostCalculator.html new file mode 100644 index 00000000..6347a255 --- /dev/null +++ b/doc/basics/route/VehicleRouteCostCalculator.html @@ -0,0 +1,361 @@ + + + + + + +VehicleRouteCostCalculator + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +basics.route +
+Interface VehicleRouteCostCalculator

+
+
All Known Implementing Classes:
DefaultVehicleRouteCostCalculator
+
+
+
+
public interface VehicleRouteCostCalculator
+ + +

+


+ +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ voidaddActivityCost(double cost) + +
+           
+ voidaddOtherCost(double cost) + +
+           
+ voidaddTransportCost(double cost) + +
+           
+ VehicleRouteCostCalculatorduplicate() + +
+           
+ voidfinish() + +
+           
+ doublegetCosts() + +
+           
+ voidprice(Driver driver) + +
+           
+ voidprice(Vehicle vehicle) + +
+           
+ voidreset() + +
+           
+  +

+ + + + + + + + +
+Method Detail
+ +

+addTransportCost

+
+void addTransportCost(double cost)
+
+
+
+
+
+
+ +

+addActivityCost

+
+void addActivityCost(double cost)
+
+
+
+
+
+
+ +

+addOtherCost

+
+void addOtherCost(double cost)
+
+
+
+
+
+
+ +

+price

+
+void price(Vehicle vehicle)
+
+
+
+
+
+
+ +

+price

+
+void price(Driver driver)
+
+
+
+
+
+
+ +

+getCosts

+
+double getCosts()
+
+
+
+
+
+
+ +

+finish

+
+void finish()
+
+
+
+
+
+
+ +

+reset

+
+void reset()
+
+
+
+
+
+
+ +

+duplicate

+
+VehicleRouteCostCalculator duplicate()
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/doc/basics/route/VehicleType.html b/doc/basics/route/VehicleType.html new file mode 100644 index 00000000..22bf66c5 --- /dev/null +++ b/doc/basics/route/VehicleType.html @@ -0,0 +1,266 @@ + + + + + + +VehicleType + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +basics.route +
+Interface VehicleType

+
+
All Known Implementing Classes:
PenaltyVehicleType, VehicleTypeImpl
+
+
+
+
public interface VehicleType
+ + +

+


+ +

+ + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ intgetCapacity() + +
+           
+ doublegetMaxVelocity() + +
+           
+ java.lang.StringgetTypeId() + +
+           
+ VehicleTypeImpl.VehicleCostParamsgetVehicleCostParams() + +
+           
+  +

+ + + + + + + + +
+Method Detail
+ +

+getTypeId

+
+java.lang.String getTypeId()
+
+
+
+
+
+
+ +

+getCapacity

+
+int getCapacity()
+
+
+
+
+
+
+ +

+getMaxVelocity

+
+double getMaxVelocity()
+
+
+
+
+
+
+ +

+getVehicleCostParams

+
+VehicleTypeImpl.VehicleCostParams getVehicleCostParams()
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/doc/basics/route/VehicleTypeImpl.Builder.html b/doc/basics/route/VehicleTypeImpl.Builder.html new file mode 100644 index 00000000..3cbdac38 --- /dev/null +++ b/doc/basics/route/VehicleTypeImpl.Builder.html @@ -0,0 +1,354 @@ + + + + + + +VehicleTypeImpl.Builder + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +basics.route +
+Class VehicleTypeImpl.Builder

+
+java.lang.Object
+  extended by basics.route.VehicleTypeImpl.Builder
+
+
+
Enclosing class:
VehicleTypeImpl
+
+
+
+
public static class VehicleTypeImpl.Builder
extends java.lang.Object
+ + +

+


+ +

+ + + + + + + + + + + +
+Constructor Summary
VehicleTypeImpl.Builder(java.lang.String id, + int capacity) + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ VehicleTypeImplbuild() + +
+           
+static VehicleTypeImpl.BuildernewInstance(java.lang.String id, + int capacity) + +
+           
+ VehicleTypeImpl.BuildersetCostPerDistance(double perDistance) + +
+           
+ VehicleTypeImpl.BuildersetCostPerTime(double perTime) + +
+           
+ VehicleTypeImpl.BuildersetFixedCost(double fixedCost) + +
+           
+ VehicleTypeImpl.BuildersetMaxVelocity(double inMeterPerSeconds) + +
+           
+ + + + + + + +
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+VehicleTypeImpl.Builder

+
+public VehicleTypeImpl.Builder(java.lang.String id,
+                               int capacity)
+
+
+ + + + + + + + +
+Method Detail
+ +

+newInstance

+
+public static VehicleTypeImpl.Builder newInstance(java.lang.String id,
+                                                  int capacity)
+
+
+
+
+
+
+ +

+setMaxVelocity

+
+public VehicleTypeImpl.Builder setMaxVelocity(double inMeterPerSeconds)
+
+
+
+
+
+
+ +

+setFixedCost

+
+public VehicleTypeImpl.Builder setFixedCost(double fixedCost)
+
+
+
+
+
+
+ +

+setCostPerDistance

+
+public VehicleTypeImpl.Builder setCostPerDistance(double perDistance)
+
+
+
+
+
+
+ +

+setCostPerTime

+
+public VehicleTypeImpl.Builder setCostPerTime(double perTime)
+
+
+
+
+
+
+ +

+build

+
+public VehicleTypeImpl build()
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/doc/basics/route/VehicleTypeImpl.VehicleCostParams.html b/doc/basics/route/VehicleTypeImpl.VehicleCostParams.html new file mode 100644 index 00000000..615d70b3 --- /dev/null +++ b/doc/basics/route/VehicleTypeImpl.VehicleCostParams.html @@ -0,0 +1,320 @@ + + + + + + +VehicleTypeImpl.VehicleCostParams + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +basics.route +
+Class VehicleTypeImpl.VehicleCostParams

+
+java.lang.Object
+  extended by basics.route.VehicleTypeImpl.VehicleCostParams
+
+
+
Enclosing class:
VehicleTypeImpl
+
+
+
+
public static class VehicleTypeImpl.VehicleCostParams
extends java.lang.Object
+ + +

+


+ +

+ + + + + + + + + + + + + + + + + + + +
+Field Summary
+ doublefix + +
+           
+ doubleperDistanceUnit + +
+           
+ doubleperTimeUnit + +
+           
+  + + + + + + + + + + + + + + + +
+Method Summary
+static VehicleTypeImpl.VehicleCostParamsnewInstance(double fix, + double perTimeUnit, + double perDistanceUnit) + +
+           
+ java.lang.StringtoString() + +
+           
+ + + + + + + +
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
+  +

+ + + + + + + + +
+Field Detail
+ +

+fix

+
+public final double fix
+
+
+
+
+
+ +

+perTimeUnit

+
+public final double perTimeUnit
+
+
+
+
+
+ +

+perDistanceUnit

+
+public final double perDistanceUnit
+
+
+
+
+ + + + + + + + +
+Method Detail
+ +

+newInstance

+
+public static VehicleTypeImpl.VehicleCostParams newInstance(double fix,
+                                                            double perTimeUnit,
+                                                            double perDistanceUnit)
+
+
+
+
+
+
+ +

+toString

+
+public java.lang.String toString()
+
+
+
Overrides:
toString in class java.lang.Object
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/doc/basics/route/VehicleTypeImpl.html b/doc/basics/route/VehicleTypeImpl.html new file mode 100644 index 00000000..d4995caf --- /dev/null +++ b/doc/basics/route/VehicleTypeImpl.html @@ -0,0 +1,445 @@ + + + + + + +VehicleTypeImpl + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +basics.route +
+Class VehicleTypeImpl

+
+java.lang.Object
+  extended by basics.route.VehicleTypeImpl
+
+
+
All Implemented Interfaces:
VehicleType
+
+
+
+
public class VehicleTypeImpl
extends java.lang.Object
implements VehicleType
+ + +

+


+ +

+ + + + + + + + + + + + + + + +
+Nested Class Summary
+static classVehicleTypeImpl.Builder + +
+           
+static classVehicleTypeImpl.VehicleCostParams + +
+           
+  + + + + + + + + + + +
+Constructor Summary
VehicleTypeImpl(java.lang.String typeId, + int capacity, + VehicleTypeImpl.VehicleCostParams vehicleCostParams) + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ booleanequals(java.lang.Object obj) + +
+           
+ intgetCapacity() + +
+           
+ doublegetMaxVelocity() + +
+           
+ java.lang.StringgetTypeId() + +
+           
+ VehicleTypeImpl.VehicleCostParamsgetVehicleCostParams() + +
+           
+ inthashCode() + +
+           
+static VehicleTypeImplnewInstance(java.lang.String typeId, + int capacity, + VehicleTypeImpl.VehicleCostParams para) + +
+           
+ java.lang.StringtoString() + +
+           
+ + + + + + + +
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+VehicleTypeImpl

+
+public VehicleTypeImpl(java.lang.String typeId,
+                       int capacity,
+                       VehicleTypeImpl.VehicleCostParams vehicleCostParams)
+
+
+ + + + + + + + +
+Method Detail
+ +

+hashCode

+
+public int hashCode()
+
+
+
Overrides:
hashCode in class java.lang.Object
+
+
+
+
+
+
+ +

+equals

+
+public boolean equals(java.lang.Object obj)
+
+
+
Overrides:
equals in class java.lang.Object
+
+
+
+
+
+
+ +

+newInstance

+
+public static VehicleTypeImpl newInstance(java.lang.String typeId,
+                                          int capacity,
+                                          VehicleTypeImpl.VehicleCostParams para)
+
+
+
+
+
+
+
+
+
+ +

+getTypeId

+
+public java.lang.String getTypeId()
+
+
+
Specified by:
getTypeId in interface VehicleType
+
+
+
+
+
+
+ +

+getCapacity

+
+public int getCapacity()
+
+
+
Specified by:
getCapacity in interface VehicleType
+
+
+
+
+
+
+ +

+getVehicleCostParams

+
+public VehicleTypeImpl.VehicleCostParams getVehicleCostParams()
+
+
+
Specified by:
getVehicleCostParams in interface VehicleType
+
+
+
+
+
+
+ +

+toString

+
+public java.lang.String toString()
+
+
+
Overrides:
toString in class java.lang.Object
+
+
+
+
+
+
+ +

+getMaxVelocity

+
+public double getMaxVelocity()
+
+
+
Specified by:
getMaxVelocity in interface VehicleType
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/doc/basics/route/class-use/DefaultTourActivityFactory.html b/doc/basics/route/class-use/DefaultTourActivityFactory.html new file mode 100644 index 00000000..5c610db4 --- /dev/null +++ b/doc/basics/route/class-use/DefaultTourActivityFactory.html @@ -0,0 +1,144 @@ + + + + + + +Uses of Class basics.route.DefaultTourActivityFactory + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Class
basics.route.DefaultTourActivityFactory

+
+No usage of basics.route.DefaultTourActivityFactory +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/doc/basics/route/class-use/DefaultVehicleRouteCostCalculator.html b/doc/basics/route/class-use/DefaultVehicleRouteCostCalculator.html new file mode 100644 index 00000000..e5286ea4 --- /dev/null +++ b/doc/basics/route/class-use/DefaultVehicleRouteCostCalculator.html @@ -0,0 +1,144 @@ + + + + + + +Uses of Class basics.route.DefaultVehicleRouteCostCalculator + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Class
basics.route.DefaultVehicleRouteCostCalculator

+
+No usage of basics.route.DefaultVehicleRouteCostCalculator +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/doc/basics/route/class-use/DeliveryActivity.html b/doc/basics/route/class-use/DeliveryActivity.html new file mode 100644 index 00000000..206418c0 --- /dev/null +++ b/doc/basics/route/class-use/DeliveryActivity.html @@ -0,0 +1,144 @@ + + + + + + +Uses of Class basics.route.DeliveryActivity + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Class
basics.route.DeliveryActivity

+
+No usage of basics.route.DeliveryActivity +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/doc/basics/route/class-use/Driver.html b/doc/basics/route/class-use/Driver.html new file mode 100644 index 00000000..c330c07a --- /dev/null +++ b/doc/basics/route/class-use/Driver.html @@ -0,0 +1,549 @@ + + + + + + +Uses of Interface basics.route.Driver + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Interface
basics.route.Driver

+
+ + + + + + + + + + + + + + + + + + + + + +
+Packages that use Driver
algorithms  
basics.costs  
basics.route  
util  
+  +

+ + + + + +
+Uses of Driver in algorithms
+  +

+ + + + + + + + + +
Methods in algorithms that return Driver
+ DriverInsertionContext.getNewDriver() + +
+           
+  +

+ + + + + + + + +
Constructors in algorithms with parameters of type Driver
InsertionContext(VehicleRoute route, + Job job, + Vehicle newVehicle, + Driver newDriver, + double newDepTime) + +
+           
+  +

+ + + + + +
+Uses of Driver in basics.costs
+  +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Methods in basics.costs with parameters of type Driver
+ doubleVehicleRoutingActivityCosts.getActivityCost(TourActivity tourAct, + double arrivalTime, + Driver driver, + Vehicle vehicle) + +
+          Calculates and returns the activity cost at tourAct.
+ doubleDefaultVehicleRoutingActivityCosts.getActivityCost(TourActivity tourAct, + double arrivalTime, + Driver driver, + Vehicle vehicle) + +
+           
+ doubleBackwardTransportCost.getBackwardTransportCost(java.lang.String fromId, + java.lang.String toId, + double arrivalTime, + Driver driver, + Vehicle vehicle) + +
+           
+ doubleBackwardTransportTime.getBackwardTransportTime(java.lang.String fromId, + java.lang.String toId, + double arrivalTime, + Driver driver, + Vehicle vehicle) + +
+           
+ doubleForwardTransportCost.getTransportCost(java.lang.String fromId, + java.lang.String toId, + double departureTime, + Driver driver, + Vehicle vehicle) + +
+           
+ doubleForwardTransportTime.getTransportTime(java.lang.String fromId, + java.lang.String toId, + double departureTime, + Driver driver, + Vehicle vehicle) + +
+           
+  +

+ + + + + +
+Uses of Driver in basics.route
+  +

+ + + + + + + + + + + + + +
Classes in basics.route that implement Driver
+ classDriverImpl + +
+           
+static classDriverImpl.NoDriver + +
+           
+  +

+ + + + + + + + + +
Methods in basics.route that return Driver
+ DriverVehicleRoute.getDriver() + +
+           
+  +

+ + + + + + + + + + + + + + + + + + + + + +
Methods in basics.route with parameters of type Driver
+static VehicleRouteVehicleRoute.newInstance(TourActivities tour, + Driver driver, + Vehicle vehicle) + +
+           
+ voidVehicleRouteCostCalculator.price(Driver driver) + +
+           
+ voidDefaultVehicleRouteCostCalculator.price(Driver driver) + +
+           
+ VehicleRoute.BuilderVehicleRoute.Builder.setDriver(Driver driver) + +
+           
+  +

+ + + + + +
+Uses of Driver in util
+  +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Methods in util with parameters of type Driver
+ doubleVehicleRoutingTransportCostsMatrix.getBackwardTransportCost(java.lang.String fromId, + java.lang.String toId, + double arrivalTime, + Driver driver, + Vehicle vehicle) + +
+           
+ doubleManhattanCosts.getBackwardTransportCost(java.lang.String fromId, + java.lang.String toId, + double arrivalTime, + Driver driver, + Vehicle vehicle) + +
+           
+ doubleCrowFlyCosts.getBackwardTransportCost(java.lang.String fromId, + java.lang.String toId, + double arrivalTime, + Driver driver, + Vehicle vehicle) + +
+           
+ doubleVehicleRoutingTransportCostsMatrix.getBackwardTransportTime(java.lang.String fromId, + java.lang.String toId, + double arrivalTime, + Driver driver, + Vehicle vehicle) + +
+           
+ doubleManhattanCosts.getBackwardTransportTime(java.lang.String fromId, + java.lang.String toId, + double arrivalTime, + Driver driver, + Vehicle vehicle) + +
+           
+ doubleCrowFlyCosts.getBackwardTransportTime(java.lang.String fromId, + java.lang.String toId, + double arrivalTime, + Driver driver, + Vehicle vehicle) + +
+           
+ doubleVehicleRoutingTransportCostsMatrix.getTransportCost(java.lang.String fromId, + java.lang.String toId, + double departureTime, + Driver driver, + Vehicle vehicle) + +
+           
+ doubleManhattanCosts.getTransportCost(java.lang.String fromId, + java.lang.String toId, + double time, + Driver driver, + Vehicle vehicle) + +
+           
+ doubleCrowFlyCosts.getTransportCost(java.lang.String fromId, + java.lang.String toId, + double time, + Driver driver, + Vehicle vehicle) + +
+           
+ doubleVehicleRoutingTransportCostsMatrix.getTransportTime(java.lang.String fromId, + java.lang.String toId, + double departureTime, + Driver driver, + Vehicle vehicle) + +
+           
+ doubleManhattanCosts.getTransportTime(java.lang.String fromId, + java.lang.String toId, + double time, + Driver driver, + Vehicle vehicle) + +
+           
+ doubleCrowFlyCosts.getTransportTime(java.lang.String fromId, + java.lang.String toId, + double time, + Driver driver, + Vehicle vehicle) + +
+           
+  +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/doc/basics/route/class-use/DriverImpl.NoDriver.html b/doc/basics/route/class-use/DriverImpl.NoDriver.html new file mode 100644 index 00000000..fa236f06 --- /dev/null +++ b/doc/basics/route/class-use/DriverImpl.NoDriver.html @@ -0,0 +1,180 @@ + + + + + + +Uses of Class basics.route.DriverImpl.NoDriver + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Class
basics.route.DriverImpl.NoDriver

+
+ + + + + + + + + +
+Packages that use DriverImpl.NoDriver
basics.route  
+  +

+ + + + + +
+Uses of DriverImpl.NoDriver in basics.route
+  +

+ + + + + + + + + +
Methods in basics.route that return DriverImpl.NoDriver
+static DriverImpl.NoDriverDriverImpl.noDriver() + +
+           
+  +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/doc/basics/route/class-use/DriverImpl.html b/doc/basics/route/class-use/DriverImpl.html new file mode 100644 index 00000000..4d4a62bf --- /dev/null +++ b/doc/basics/route/class-use/DriverImpl.html @@ -0,0 +1,180 @@ + + + + + + +Uses of Class basics.route.DriverImpl + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Class
basics.route.DriverImpl

+
+ + + + + + + + + +
+Packages that use DriverImpl
basics.route  
+  +

+ + + + + +
+Uses of DriverImpl in basics.route
+  +

+ + + + + + + + + +
Subclasses of DriverImpl in basics.route
+static classDriverImpl.NoDriver + +
+           
+  +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/doc/basics/route/class-use/End.html b/doc/basics/route/class-use/End.html new file mode 100644 index 00000000..2d2cbf32 --- /dev/null +++ b/doc/basics/route/class-use/End.html @@ -0,0 +1,237 @@ + + + + + + +Uses of Class basics.route.End + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Class
basics.route.End

+
+ + + + + + + + + +
+Packages that use End
basics.route  
+  +

+ + + + + +
+Uses of End in basics.route
+  +

+ + + + + + + + + + + + + + + + + +
Methods in basics.route that return End
+static EndEnd.copyOf(End end) + +
+           
+ EndVehicleRoute.getEnd() + +
+           
+static EndEnd.newInstance(java.lang.String locationId, + double earliestArrival, + double latestArrival) + +
+           
+  +

+ + + + + + + + + + + + + +
Methods in basics.route with parameters of type End
+static EndEnd.copyOf(End end) + +
+           
+static VehicleRoute.BuilderVehicleRoute.Builder.newInstance(Start start, + End end) + +
+           
+  +

+ + + + + + + + +
Constructors in basics.route with parameters of type End
End(End end) + +
+           
+  +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/doc/basics/route/class-use/PenaltyVehicleType.html b/doc/basics/route/class-use/PenaltyVehicleType.html new file mode 100644 index 00000000..8730fb4a --- /dev/null +++ b/doc/basics/route/class-use/PenaltyVehicleType.html @@ -0,0 +1,144 @@ + + + + + + +Uses of Class basics.route.PenaltyVehicleType + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Class
basics.route.PenaltyVehicleType

+
+No usage of basics.route.PenaltyVehicleType +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/doc/basics/route/class-use/PickupActivity.html b/doc/basics/route/class-use/PickupActivity.html new file mode 100644 index 00000000..fb948afc --- /dev/null +++ b/doc/basics/route/class-use/PickupActivity.html @@ -0,0 +1,144 @@ + + + + + + +Uses of Class basics.route.PickupActivity + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Class
basics.route.PickupActivity

+
+No usage of basics.route.PickupActivity +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/doc/basics/route/class-use/ServiceActivity.html b/doc/basics/route/class-use/ServiceActivity.html new file mode 100644 index 00000000..bbcefa52 --- /dev/null +++ b/doc/basics/route/class-use/ServiceActivity.html @@ -0,0 +1,204 @@ + + + + + + +Uses of Class basics.route.ServiceActivity + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Class
basics.route.ServiceActivity

+
+ + + + + + + + + +
+Packages that use ServiceActivity
basics.route  
+  +

+ + + + + +
+Uses of ServiceActivity in basics.route
+  +

+ + + + + + + + + + + + + +
Methods in basics.route that return ServiceActivity
+static ServiceActivityServiceActivity.copyOf(ServiceActivity serviceActivity) + +
+           
+static ServiceActivityServiceActivity.newInstance(Service service) + +
+           
+  +

+ + + + + + + + + +
Methods in basics.route with parameters of type ServiceActivity
+static ServiceActivityServiceActivity.copyOf(ServiceActivity serviceActivity) + +
+           
+  +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/doc/basics/route/class-use/Start.html b/doc/basics/route/class-use/Start.html new file mode 100644 index 00000000..cbe1a8cc --- /dev/null +++ b/doc/basics/route/class-use/Start.html @@ -0,0 +1,223 @@ + + + + + + +Uses of Class basics.route.Start + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Class
basics.route.Start

+
+ + + + + + + + + +
+Packages that use Start
basics.route  
+  +

+ + + + + +
+Uses of Start in basics.route
+  +

+ + + + + + + + + + + + + + + + + +
Methods in basics.route that return Start
+static StartStart.copyOf(Start start) + +
+           
+ StartVehicleRoute.getStart() + +
+           
+static StartStart.newInstance(java.lang.String locationId, + double theoreticalStart, + double theoreticalEnd) + +
+           
+  +

+ + + + + + + + + + + + + +
Methods in basics.route with parameters of type Start
+static StartStart.copyOf(Start start) + +
+           
+static VehicleRoute.BuilderVehicleRoute.Builder.newInstance(Start start, + End end) + +
+           
+  +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/doc/basics/route/class-use/TimeWindow.html b/doc/basics/route/class-use/TimeWindow.html new file mode 100644 index 00000000..8464757c --- /dev/null +++ b/doc/basics/route/class-use/TimeWindow.html @@ -0,0 +1,226 @@ + + + + + + +Uses of Class basics.route.TimeWindow + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Class
basics.route.TimeWindow

+
+ + + + + + + + + + + + + +
+Packages that use TimeWindow
basics  
basics.route  
+  +

+ + + + + +
+Uses of TimeWindow in basics
+  +

+ + + + + + + + + +
Methods in basics that return TimeWindow
+ TimeWindowService.getTimeWindow() + +
+           
+  +

+ + + + + + + + + +
Methods in basics with parameters of type TimeWindow
+ Service.BuilderService.Builder.setTimeWindow(TimeWindow tw) + +
+           
+  +

+ + + + + +
+Uses of TimeWindow in basics.route
+  +

+ + + + + + + + + +
Methods in basics.route that return TimeWindow
+static TimeWindowTimeWindow.newInstance(double start, + double end) + +
+           
+  +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/doc/basics/route/class-use/TourActivities.ReverseActivityIterator.html b/doc/basics/route/class-use/TourActivities.ReverseActivityIterator.html new file mode 100644 index 00000000..4c66e787 --- /dev/null +++ b/doc/basics/route/class-use/TourActivities.ReverseActivityIterator.html @@ -0,0 +1,144 @@ + + + + + + +Uses of Class basics.route.TourActivities.ReverseActivityIterator + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Class
basics.route.TourActivities.ReverseActivityIterator

+
+No usage of basics.route.TourActivities.ReverseActivityIterator +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/doc/basics/route/class-use/TourActivities.html b/doc/basics/route/class-use/TourActivities.html new file mode 100644 index 00000000..8673ecd5 --- /dev/null +++ b/doc/basics/route/class-use/TourActivities.html @@ -0,0 +1,222 @@ + + + + + + +Uses of Class basics.route.TourActivities + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Class
basics.route.TourActivities

+
+ + + + + + + + + +
+Packages that use TourActivities
basics.route  
+  +

+ + + + + +
+Uses of TourActivities in basics.route
+  +

+ + + + + + + + + + + + + + + + + +
Methods in basics.route that return TourActivities
+static TourActivitiesTourActivities.copyOf(TourActivities tourActivities) + +
+           
+static TourActivitiesTourActivities.emptyTour() + +
+           
+ TourActivitiesVehicleRoute.getTourActivities() + +
+           
+  +

+ + + + + + + + + + + + + +
Methods in basics.route with parameters of type TourActivities
+static TourActivitiesTourActivities.copyOf(TourActivities tourActivities) + +
+           
+static VehicleRouteVehicleRoute.newInstance(TourActivities tour, + Driver driver, + Vehicle vehicle) + +
+           
+  +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/doc/basics/route/class-use/TourActivity.JobActivity.html b/doc/basics/route/class-use/TourActivity.JobActivity.html new file mode 100644 index 00000000..8d67b0b3 --- /dev/null +++ b/doc/basics/route/class-use/TourActivity.JobActivity.html @@ -0,0 +1,196 @@ + + + + + + +Uses of Interface basics.route.TourActivity.JobActivity + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Interface
basics.route.TourActivity.JobActivity

+
+ + + + + + + + + +
+Packages that use TourActivity.JobActivity
basics.route  
+  +

+ + + + + +
+Uses of TourActivity.JobActivity in basics.route
+  +

+ + + + + + + + + + + + + + + + + +
Classes in basics.route that implement TourActivity.JobActivity
+ classDeliveryActivity + +
+           
+ classPickupActivity + +
+           
+ classServiceActivity + +
+           
+  +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/doc/basics/route/class-use/TourActivity.html b/doc/basics/route/class-use/TourActivity.html new file mode 100644 index 00000000..8e9c32e7 --- /dev/null +++ b/doc/basics/route/class-use/TourActivity.html @@ -0,0 +1,628 @@ + + + + + + +Uses of Interface basics.route.TourActivity + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Interface
basics.route.TourActivity

+
+ + + + + + + + + + + + + + + + + +
+Packages that use TourActivity
algorithms  
basics.costs  
basics.route  
+  +

+ + + + + +
+Uses of TourActivity in algorithms
+  +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Methods in algorithms with parameters of type TourActivity
+ booleanHardPickupAndDeliveryBackhaulActivityLevelConstraint.fulfilled(InsertionContext iFacts, + TourActivity prevAct, + TourActivity newAct, + TourActivity nextAct, + double prevActDepTime) + +
+           
+ booleanHardActivityLevelConstraint.fulfilled(InsertionContext iFacts, + TourActivity prevAct, + TourActivity newAct, + TourActivity nextAct, + double prevActDepTime) + +
+           
+ booleanConstraintManager.fulfilled(InsertionContext iFacts, + TourActivity prevAct, + TourActivity newAct, + TourActivity nextAct, + double prevActDepTime) + +
+           
+ booleanHardTimeWindowActivityLevelConstraint.fulfilled(InsertionContext iFacts, + TourActivity prevAct, + TourActivity newAct, + TourActivity nextAct, + double prevActDepTime) + +
+           
+ booleanHardPickupAndDeliveryActivityLevelConstraint.fulfilled(InsertionContext iFacts, + TourActivity prevAct, + TourActivity newAct, + TourActivity nextAct, + double prevActDepTime) + +
+           
+static doubleCalculationUtils.getActivityEndTime(double actArrTime, + TourActivity act) + +
+          Calculates actEndTime assuming that activity can at earliest start at act.getTheoreticalEarliestOperationStartTime().
+ StateManager.StateStateManager.getActivityState(TourActivity act, + StateManager.StateId stateId) + +
+           
+ StateManager.StateStateManagerImpl.getActivityState(TourActivity act, + StateManager.StateId stateId) + +
+           
+ voidStateManagerImpl.putActivityState(TourActivity act, + StateManager.StateId stateId, + StateManager.State state) + +
+           
+ voidUpdateCostsAtAllLevels.visit(TourActivity act) + +
+           
+ voidUpdateLoadAtActivityLevel.visit(TourActivity act) + +
+           
+ voidUpdateEarliestStartTimeWindowAtActLocations.visit(TourActivity activity) + +
+           
+ voidUpdateFuturePickupsAtActivityLevel.visit(TourActivity act) + +
+           
+ voidUpdateLatestOperationStartTimeAtActLocations.visit(TourActivity activity) + +
+           
+ voidUpdateActivityTimes.visit(TourActivity activity) + +
+           
+ voidUpdateLoadAtAllLevels.visit(TourActivity activity) + +
+           
+ voidUpdateOccuredDeliveriesAtActivityLevel.visit(TourActivity act) + +
+           
+ voidActivityVisitor.visit(TourActivity activity) + +
+           
+ voidReverseActivityVisitor.visit(TourActivity activity) + +
+           
+  +

+ + + + + +
+Uses of TourActivity in basics.costs
+  +

+ + + + + + + + + + + + + +
Methods in basics.costs with parameters of type TourActivity
+ doubleVehicleRoutingActivityCosts.getActivityCost(TourActivity tourAct, + double arrivalTime, + Driver driver, + Vehicle vehicle) + +
+          Calculates and returns the activity cost at tourAct.
+ doubleDefaultVehicleRoutingActivityCosts.getActivityCost(TourActivity tourAct, + double arrivalTime, + Driver driver, + Vehicle vehicle) + +
+           
+  +

+ + + + + +
+Uses of TourActivity in basics.route
+  +

+ + + + + + + + + +
Subinterfaces of TourActivity in basics.route
+static interfaceTourActivity.JobActivity<T extends Job> + +
+           
+  +

+ + + + + + + + + + + + + + + + + + + + + + + + + +
Classes in basics.route that implement TourActivity
+ classDeliveryActivity + +
+           
+ classEnd + +
+           
+ classPickupActivity + +
+           
+ classServiceActivity + +
+           
+ classStart + +
+           
+  +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Methods in basics.route that return TourActivity
+ TourActivityDefaultTourActivityFactory.createActivity(Service service) + +
+           
+ TourActivityTourActivityFactory.createActivity(Service service) + +
+           
+ TourActivityStart.duplicate() + +
+           
+ TourActivityEnd.duplicate() + +
+           
+ TourActivityServiceActivity.duplicate() + +
+           
+ TourActivityPickupActivity.duplicate() + +
+           
+ TourActivityDeliveryActivity.duplicate() + +
+           
+ TourActivityTourActivity.duplicate() + +
+           
+ TourActivityTourActivities.ReverseActivityIterator.next() + +
+           
+  +

+ + + + + + + + + + + + + + + + + +
Methods in basics.route that return types with arguments of type TourActivity
+ java.util.List<TourActivity>TourActivities.getActivities() + +
+           
+ java.util.Iterator<TourActivity>TourActivities.iterator() + +
+           
+ java.util.Iterator<TourActivity>TourActivities.reverseActivityIterator() + +
+           
+  +

+ + + + + + + + + + + + + + + + + +
Methods in basics.route with parameters of type TourActivity
+ voidTourActivities.addActivity(int insertionIndex, + TourActivity act) + +
+           
+ VehicleRoute.BuilderVehicleRoute.Builder.addActivity(TourActivity act) + +
+           
+ voidTourActivities.addActivity(TourActivity act) + +
+           
+  +

+ + + + + + + + +
Constructor parameters in basics.route with type arguments of type TourActivity
TourActivities.ReverseActivityIterator(java.util.List<TourActivity> acts) + +
+           
+  +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/doc/basics/route/class-use/TourActivityFactory.html b/doc/basics/route/class-use/TourActivityFactory.html new file mode 100644 index 00000000..4d9e37ce --- /dev/null +++ b/doc/basics/route/class-use/TourActivityFactory.html @@ -0,0 +1,209 @@ + + + + + + +Uses of Interface basics.route.TourActivityFactory + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Interface
basics.route.TourActivityFactory

+
+ + + + + + + + + + + + + +
+Packages that use TourActivityFactory
basics.io  
basics.route  
+  +

+ + + + + +
+Uses of TourActivityFactory in basics.io
+  +

+ + + + + + + + + +
Methods in basics.io with parameters of type TourActivityFactory
+ voidVrpXMLReader.setTourActivityFactory(TourActivityFactory tourActivityFactory) + +
+           
+  +

+ + + + + +
+Uses of TourActivityFactory in basics.route
+  +

+ + + + + + + + + +
Classes in basics.route that implement TourActivityFactory
+ classDefaultTourActivityFactory + +
+           
+  +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/doc/basics/route/class-use/Vehicle.html b/doc/basics/route/class-use/Vehicle.html new file mode 100644 index 00000000..46ec0273 --- /dev/null +++ b/doc/basics/route/class-use/Vehicle.html @@ -0,0 +1,719 @@ + + + + + + +Uses of Interface basics.route.Vehicle + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Interface
basics.route.Vehicle

+
+ + + + + + + + + + + + + + + + + + + + + + + + + +
+Packages that use Vehicle
algorithms  
basics  
basics.costs  
basics.route  
util  
+  +

+ + + + + +
+Uses of Vehicle in algorithms
+  +

+ + + + + + + + + +
Methods in algorithms that return Vehicle
+ VehicleInsertionContext.getNewVehicle() + +
+           
+  +

+ + + + + + + + + + + + + +
Methods in algorithms that return types with arguments of type Vehicle
+ java.util.Collection<Vehicle>VehicleFleetManager.getAvailableVehicles() + +
+           
+ java.util.Collection<Vehicle>VehicleFleetManager.getAvailableVehicles(java.lang.String withoutThisType, + java.lang.String locationId) + +
+           
+  +

+ + + + + + + + + + + + + + + + + +
Methods in algorithms with parameters of type Vehicle
+ booleanVehicleFleetManager.isLocked(Vehicle vehicle) + +
+           
+ voidVehicleFleetManager.lock(Vehicle vehicle) + +
+           
+ voidVehicleFleetManager.unlock(Vehicle vehicle) + +
+           
+  +

+ + + + + + + + +
Constructors in algorithms with parameters of type Vehicle
InsertionContext(VehicleRoute route, + Job job, + Vehicle newVehicle, + Driver newDriver, + double newDepTime) + +
+           
+  +

+ + + + + + + + + + + +
Constructor parameters in algorithms with type arguments of type Vehicle
FiniteFleetManagerFactory(java.util.Collection<Vehicle> vehicles) + +
+           
InfiniteFleetManagerFactory(java.util.Collection<Vehicle> vehicles) + +
+           
+  +

+ + + + + +
+Uses of Vehicle in basics
+  +

+ + + + + + + + + + + + + +
Methods in basics that return types with arguments of type Vehicle
+ java.util.Collection<Vehicle>VehicleRoutingProblem.Builder.getAddedVehicles() + +
+          Gets an unmodifiable collection of already added vehicles.
+ java.util.Collection<Vehicle>VehicleRoutingProblem.getVehicles() + +
+          Returns the entire, unmodifiable collection of vehicles.
+  +

+ + + + + + + + + +
Methods in basics with parameters of type Vehicle
+ VehicleRoutingProblem.BuilderVehicleRoutingProblem.Builder.addVehicle(Vehicle vehicle) + +
+          Adds a vehicle.
+  +

+ + + + + + + + + +
Method parameters in basics with type arguments of type Vehicle
+ VehicleRoutingProblem.BuilderVehicleRoutingProblem.Builder.addAllVehicles(java.util.Collection<Vehicle> vehicles) + +
+          Adds a collection of vehicles.
+  +

+ + + + + +
+Uses of Vehicle in basics.costs
+  +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Methods in basics.costs with parameters of type Vehicle
+ doubleVehicleRoutingActivityCosts.getActivityCost(TourActivity tourAct, + double arrivalTime, + Driver driver, + Vehicle vehicle) + +
+          Calculates and returns the activity cost at tourAct.
+ doubleDefaultVehicleRoutingActivityCosts.getActivityCost(TourActivity tourAct, + double arrivalTime, + Driver driver, + Vehicle vehicle) + +
+           
+ doubleBackwardTransportCost.getBackwardTransportCost(java.lang.String fromId, + java.lang.String toId, + double arrivalTime, + Driver driver, + Vehicle vehicle) + +
+           
+ doubleBackwardTransportTime.getBackwardTransportTime(java.lang.String fromId, + java.lang.String toId, + double arrivalTime, + Driver driver, + Vehicle vehicle) + +
+           
+ doubleForwardTransportCost.getTransportCost(java.lang.String fromId, + java.lang.String toId, + double departureTime, + Driver driver, + Vehicle vehicle) + +
+           
+ doubleForwardTransportTime.getTransportTime(java.lang.String fromId, + java.lang.String toId, + double departureTime, + Driver driver, + Vehicle vehicle) + +
+           
+  +

+ + + + + +
+Uses of Vehicle in basics.route
+  +

+ + + + + + + + + + + + + +
Classes in basics.route that implement Vehicle
+ classVehicleImpl + +
+           
+static classVehicleImpl.NoVehicle + +
+           
+  +

+ + + + + + + + + +
Methods in basics.route that return Vehicle
+ VehicleVehicleRoute.getVehicle() + +
+           
+  +

+ + + + + + + + + + + + + + + + + + + + + + + + + +
Methods in basics.route with parameters of type Vehicle
+static VehicleRouteVehicleRoute.newInstance(TourActivities tour, + Driver driver, + Vehicle vehicle) + +
+           
+ voidVehicleRouteCostCalculator.price(Vehicle vehicle) + +
+           
+ voidDefaultVehicleRouteCostCalculator.price(Vehicle vehicle) + +
+           
+ VehicleRoute.BuilderVehicleRoute.Builder.setVehicle(Vehicle vehicle) + +
+           
+ voidVehicleRoute.setVehicle(Vehicle vehicle, + double vehicleDepTime) + +
+           
+  +

+ + + + + +
+Uses of Vehicle in util
+  +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Methods in util with parameters of type Vehicle
+ doubleVehicleRoutingTransportCostsMatrix.getBackwardTransportCost(java.lang.String fromId, + java.lang.String toId, + double arrivalTime, + Driver driver, + Vehicle vehicle) + +
+           
+ doubleManhattanCosts.getBackwardTransportCost(java.lang.String fromId, + java.lang.String toId, + double arrivalTime, + Driver driver, + Vehicle vehicle) + +
+           
+ doubleCrowFlyCosts.getBackwardTransportCost(java.lang.String fromId, + java.lang.String toId, + double arrivalTime, + Driver driver, + Vehicle vehicle) + +
+           
+ doubleVehicleRoutingTransportCostsMatrix.getBackwardTransportTime(java.lang.String fromId, + java.lang.String toId, + double arrivalTime, + Driver driver, + Vehicle vehicle) + +
+           
+ doubleManhattanCosts.getBackwardTransportTime(java.lang.String fromId, + java.lang.String toId, + double arrivalTime, + Driver driver, + Vehicle vehicle) + +
+           
+ doubleCrowFlyCosts.getBackwardTransportTime(java.lang.String fromId, + java.lang.String toId, + double arrivalTime, + Driver driver, + Vehicle vehicle) + +
+           
+ doubleVehicleRoutingTransportCostsMatrix.getTransportCost(java.lang.String fromId, + java.lang.String toId, + double departureTime, + Driver driver, + Vehicle vehicle) + +
+           
+ doubleManhattanCosts.getTransportCost(java.lang.String fromId, + java.lang.String toId, + double time, + Driver driver, + Vehicle vehicle) + +
+           
+ doubleCrowFlyCosts.getTransportCost(java.lang.String fromId, + java.lang.String toId, + double time, + Driver driver, + Vehicle vehicle) + +
+           
+ doubleVehicleRoutingTransportCostsMatrix.getTransportTime(java.lang.String fromId, + java.lang.String toId, + double departureTime, + Driver driver, + Vehicle vehicle) + +
+           
+ doubleManhattanCosts.getTransportTime(java.lang.String fromId, + java.lang.String toId, + double time, + Driver driver, + Vehicle vehicle) + +
+           
+ doubleCrowFlyCosts.getTransportTime(java.lang.String fromId, + java.lang.String toId, + double time, + Driver driver, + Vehicle vehicle) + +
+           
+  +

+ + + + + + + + +
Constructor parameters in util with type arguments of type Vehicle
NeighborhoodImpl(java.util.Collection<Vehicle> vehicles, + java.util.Collection<Service> services) + +
+           
+  +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/doc/basics/route/class-use/VehicleImpl.Builder.html b/doc/basics/route/class-use/VehicleImpl.Builder.html new file mode 100644 index 00000000..b544d263 --- /dev/null +++ b/doc/basics/route/class-use/VehicleImpl.Builder.html @@ -0,0 +1,220 @@ + + + + + + +Uses of Class basics.route.VehicleImpl.Builder + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Class
basics.route.VehicleImpl.Builder

+
+ + + + + + + + + +
+Packages that use VehicleImpl.Builder
basics.route  
+  +

+ + + + + +
+Uses of VehicleImpl.Builder in basics.route
+  +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Methods in basics.route that return VehicleImpl.Builder
+static VehicleImpl.BuilderVehicleImpl.Builder.newInstance(java.lang.String vehicleId) + +
+           
+ VehicleImpl.BuilderVehicleImpl.Builder.setEarliestStart(double start) + +
+           
+ VehicleImpl.BuilderVehicleImpl.Builder.setLatestArrival(double arr) + +
+           
+ VehicleImpl.BuilderVehicleImpl.Builder.setLocationCoord(Coordinate coord) + +
+           
+ VehicleImpl.BuilderVehicleImpl.Builder.setLocationId(java.lang.String id) + +
+           
+ VehicleImpl.BuilderVehicleImpl.Builder.setType(VehicleType type) + +
+           
+  +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/doc/basics/route/class-use/VehicleImpl.NoVehicle.html b/doc/basics/route/class-use/VehicleImpl.NoVehicle.html new file mode 100644 index 00000000..79ba9986 --- /dev/null +++ b/doc/basics/route/class-use/VehicleImpl.NoVehicle.html @@ -0,0 +1,188 @@ + + + + + + +Uses of Class basics.route.VehicleImpl.NoVehicle + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Class
basics.route.VehicleImpl.NoVehicle

+
+ + + + + + + + + +
+Packages that use VehicleImpl.NoVehicle
basics.route  
+  +

+ + + + + +
+Uses of VehicleImpl.NoVehicle in basics.route
+  +

+ + + + + + + + + + + + + +
Methods in basics.route that return VehicleImpl.NoVehicle
+static VehicleImpl.NoVehicleVehicleImpl.createNoVehicle() + +
+           
+static VehicleImpl.NoVehicleVehicleImpl.noVehicle() + +
+           
+  +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/doc/basics/route/class-use/VehicleImpl.html b/doc/basics/route/class-use/VehicleImpl.html new file mode 100644 index 00000000..fe5cbee0 --- /dev/null +++ b/doc/basics/route/class-use/VehicleImpl.html @@ -0,0 +1,196 @@ + + + + + + +Uses of Class basics.route.VehicleImpl + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Class
basics.route.VehicleImpl

+
+ + + + + + + + + +
+Packages that use VehicleImpl
basics.route  
+  +

+ + + + + +
+Uses of VehicleImpl in basics.route
+  +

+ + + + + + + + + +
Subclasses of VehicleImpl in basics.route
+static classVehicleImpl.NoVehicle + +
+           
+  +

+ + + + + + + + + +
Methods in basics.route that return VehicleImpl
+ VehicleImplVehicleImpl.Builder.build() + +
+           
+  +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/doc/basics/route/class-use/VehicleRoute.Builder.html b/doc/basics/route/class-use/VehicleRoute.Builder.html new file mode 100644 index 00000000..f1daf590 --- /dev/null +++ b/doc/basics/route/class-use/VehicleRoute.Builder.html @@ -0,0 +1,205 @@ + + + + + + +Uses of Class basics.route.VehicleRoute.Builder + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Class
basics.route.VehicleRoute.Builder

+
+ + + + + + + + + +
+Packages that use VehicleRoute.Builder
basics.route  
+  +

+ + + + + +
+Uses of VehicleRoute.Builder in basics.route
+  +

+ + + + + + + + + + + + + + + + + + + + + +
Methods in basics.route that return VehicleRoute.Builder
+ VehicleRoute.BuilderVehicleRoute.Builder.addActivity(TourActivity act) + +
+           
+static VehicleRoute.BuilderVehicleRoute.Builder.newInstance(Start start, + End end) + +
+           
+ VehicleRoute.BuilderVehicleRoute.Builder.setDriver(Driver driver) + +
+           
+ VehicleRoute.BuilderVehicleRoute.Builder.setVehicle(Vehicle vehicle) + +
+           
+  +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/doc/basics/route/class-use/VehicleRoute.html b/doc/basics/route/class-use/VehicleRoute.html new file mode 100644 index 00000000..ad0bfda2 --- /dev/null +++ b/doc/basics/route/class-use/VehicleRoute.html @@ -0,0 +1,853 @@ + + + + + + +Uses of Class basics.route.VehicleRoute + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Class
basics.route.VehicleRoute

+
+ + + + + + + + + + + + + + + + + + + + + + + + + +
+Packages that use VehicleRoute
algorithms  
basics  
basics.algo  
basics.route  
util  
+  +

+ + + + + +
+Uses of VehicleRoute in algorithms
+  +

+ + + + + + + + + +
Methods in algorithms that return VehicleRoute
+ VehicleRouteInsertionContext.getRoute() + +
+           
+  +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Methods in algorithms with parameters of type VehicleRoute
+ voidUpdateCostsAtAllLevels.begin(VehicleRoute route) + +
+           
+ voidUpdateLoadAtActivityLevel.begin(VehicleRoute route) + +
+           
+ voidUpdateEarliestStartTimeWindowAtActLocations.begin(VehicleRoute route) + +
+           
+ voidUpdateFuturePickupsAtActivityLevel.begin(VehicleRoute route) + +
+           
+ voidUpdateLatestOperationStartTimeAtActLocations.begin(VehicleRoute route) + +
+           
+ voidUpdateActivityTimes.begin(VehicleRoute route) + +
+           
+ voidUpdateLoadAtAllLevels.begin(VehicleRoute route) + +
+           
+ voidUpdateOccuredDeliveriesAtActivityLevel.begin(VehicleRoute route) + +
+           
+ voidActivityVisitor.begin(VehicleRoute route) + +
+           
+ voidReverseActivityVisitor.begin(VehicleRoute route) + +
+           
+ StateManager.StateStateManager.getRouteState(VehicleRoute route, + StateManager.StateId stateId) + +
+           
+ StateManager.StateStateManagerImpl.getRouteState(VehicleRoute route, + StateManager.StateId stateId) + +
+           
+ voidUpdateLoadsAtStartAndEndOfRouteWhenJobHasBeenInserted.informJobInserted(Job job2insert, + VehicleRoute inRoute, + double additionalCosts, + double additionalTime) + +
+           
+ voidUpdateCostsAtRouteLevel.informJobInserted(Job job2insert, + VehicleRoute inRoute, + double additionalCosts, + double additionalTime) + +
+           
+ voidStateUpdates.UpdateStates.informJobInserted(Job job2insert, + VehicleRoute inRoute, + double additionalCosts, + double additionalTime) + +
+           
+ voidStateManagerImpl.informJobInserted(Job job2insert, + VehicleRoute inRoute, + double additionalCosts, + double additionalTime) + +
+           
+ voidUpdateLoadAtRouteLevel.informJobInserted(Job job2insert, + VehicleRoute inRoute, + double additionalCosts, + double additionalTime) + +
+           
+ voidStateManagerImpl.putRouteState(VehicleRoute route, + StateManager.StateId stateId, + StateManager.State state) + +
+           
+ voidStateUpdates.UpdateStates.removed(Job job, + VehicleRoute fromRoute) + +
+           
+ voidStateManagerImpl.removed(Job job, + VehicleRoute fromRoute) + +
+           
+ voidStateUpdates.UpdateStates.update(VehicleRoute route) + +
+           
+ voidRouteVisitor.visit(VehicleRoute route) + +
+           
+ voidRouteActivityVisitor.visit(VehicleRoute route) + +
+           
+ voidReverseRouteActivityVisitor.visit(VehicleRoute route) + +
+           
+  +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Method parameters in algorithms with type arguments of type VehicleRoute
+ voidRemoveEmptyVehicles.informInsertionEnds(java.util.Collection<VehicleRoute> vehicleRoutes) + +
+           
+ voidUpdateCostsAtRouteLevel.informInsertionEnds(java.util.Collection<VehicleRoute> vehicleRoutes) + +
+           
+ voidStateManagerImpl.informInsertionEnds(java.util.Collection<VehicleRoute> vehicleRoutes) + +
+           
+ voidUpdateCostsAtRouteLevel.informInsertionStarts(java.util.Collection<VehicleRoute> vehicleRoutes, + java.util.Collection<Job> unassignedJobs) + +
+           
+ voidStateManagerImpl.informInsertionStarts(java.util.Collection<VehicleRoute> vehicleRoutes, + java.util.Collection<Job> unassignedJobs) + +
+           
+ voidInitializeLoadsAtStartAndEndOfRouteWhenInsertionStarts.informInsertionStarts(java.util.Collection<VehicleRoute> vehicleRoutes, + java.util.Collection<Job> unassignedJobs) + +
+           
+ voidUpdateLoadAtRouteLevel.informInsertionStarts(java.util.Collection<VehicleRoute> vehicleRoutes, + java.util.Collection<Job> unassignedJobs) + +
+           
+ voidInsertionStrategy.insertJobs(java.util.Collection<VehicleRoute> vehicleRoutes, + java.util.Collection<Job> unassignedJobs) + +
+          Assigns the unassigned jobs to service-providers
+ java.util.Collection<Job>RuinStrategy.ruin(java.util.Collection<VehicleRoute> vehicleRoutes) + +
+          Ruins a current solution, i.e.
+ java.util.Collection<Job>RuinStrategy.ruin(java.util.Collection<VehicleRoute> vehicleRoutes, + Job targetJob, + int nOfJobs2BeRemoved) + +
+          Removes targetJob as well as its neighbors with a size of (nOfJobs2BeRemoved-1).
+ voidStateUpdates.UpdateStates.ruinEnds(java.util.Collection<VehicleRoute> routes, + java.util.Collection<Job> unassignedJobs) + +
+           
+ voidStateManagerImpl.ruinEnds(java.util.Collection<VehicleRoute> routes, + java.util.Collection<Job> unassignedJobs) + +
+           
+ voidStateUpdates.UpdateStates.ruinStarts(java.util.Collection<VehicleRoute> routes) + +
+           
+ voidStateManagerImpl.ruinStarts(java.util.Collection<VehicleRoute> routes) + +
+           
+  +

+ + + + + + + + +
Constructors in algorithms with parameters of type VehicleRoute
InsertionContext(VehicleRoute route, + Job job, + Vehicle newVehicle, + Driver newDriver, + double newDepTime) + +
+           
+  +

+ + + + + +
+Uses of VehicleRoute in basics
+  +

+ + + + + + + + + +
Methods in basics that return types with arguments of type VehicleRoute
+ java.util.Collection<VehicleRoute>VehicleRoutingProblemSolution.getRoutes() + +
+           
+  +

+ + + + + + + + +
Constructor parameters in basics with type arguments of type VehicleRoute
VehicleRoutingProblemSolution(java.util.Collection<VehicleRoute> routes, + double cost) + +
+          Constructs a solution with a number of VehicleRoutes and their corresponding aggregate cost value.
+  +

+ + + + + +
+Uses of VehicleRoute in basics.algo
+  +

+ + + + + + + + + + + + + + + + + + + + + +
Methods in basics.algo with parameters of type VehicleRoute
+ voidJobInsertedListener.informJobInserted(Job job2insert, + VehicleRoute inRoute, + double additionalCosts, + double additionalTime) + +
+           
+ voidInsertionListeners.jobInserted(Job job2insert, + VehicleRoute inRoute, + double additionalCosts, + double additionalTime) + +
+           
+ voidRuinListener.removed(Job job, + VehicleRoute fromRoute) + +
+          informs if a Job has been removed from a VehicleRoute.
+ voidRuinListeners.removed(Job job, + VehicleRoute fromRoute) + +
+           
+  +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Method parameters in basics.algo with type arguments of type VehicleRoute
+ voidInsertionEndsListener.informInsertionEnds(java.util.Collection<VehicleRoute> vehicleRoutes) + +
+           
+ voidInsertionStartsListener.informInsertionStarts(java.util.Collection<VehicleRoute> vehicleRoutes, + java.util.Collection<Job> unassignedJobs) + +
+           
+ voidInsertionListeners.insertionEnds(java.util.Collection<VehicleRoute> vehicleRoutes) + +
+           
+ voidInsertionListeners.insertionStarts(java.util.Collection<VehicleRoute> vehicleRoutes, + java.util.Collection<Job> unassignedJobs) + +
+           
+ voidRuinListener.ruinEnds(java.util.Collection<VehicleRoute> routes, + java.util.Collection<Job> unassignedJobs) + +
+          informs about ruin-end.
+ voidRuinListeners.ruinEnds(java.util.Collection<VehicleRoute> routes, + java.util.Collection<Job> unassignedJobs) + +
+           
+ voidRuinListener.ruinStarts(java.util.Collection<VehicleRoute> routes) + +
+          informs about ruin-start.
+ voidRuinListeners.ruinStarts(java.util.Collection<VehicleRoute> routes) + +
+           
+  +

+ + + + + +
+Uses of VehicleRoute in basics.route
+  +

+ + + + + + + + + + + + + + + + + + + + + +
Methods in basics.route that return VehicleRoute
+ VehicleRouteVehicleRoute.Builder.build() + +
+           
+static VehicleRouteVehicleRoute.copyOf(VehicleRoute route) + +
+           
+static VehicleRouteVehicleRoute.emptyRoute() + +
+           
+static VehicleRouteVehicleRoute.newInstance(TourActivities tour, + Driver driver, + Vehicle vehicle) + +
+           
+  +

+ + + + + + + + + +
Methods in basics.route with parameters of type VehicleRoute
+static VehicleRouteVehicleRoute.copyOf(VehicleRoute route) + +
+           
+  +

+ + + + + +
+Uses of VehicleRoute in util
+  +

+ + + + + + + + + + + + + + + + + + + + + +
Method parameters in util with type arguments of type VehicleRoute
+static intRouteUtils.getNuOfActiveRoutes(java.util.Collection<VehicleRoute> routes) + +
+           
+static doubleRouteUtils.getTotalCost(java.util.Collection<VehicleRoute> routes) + +
+           
+static doubleRouteUtils.getTotalFixCost(java.util.Collection<VehicleRoute> routes) + +
+           
+static doubleRouteUtils.getTotalServiceTime(java.util.Collection<VehicleRoute> routes) + +
+           
+  +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/doc/basics/route/class-use/VehicleRouteCostCalculator.html b/doc/basics/route/class-use/VehicleRouteCostCalculator.html new file mode 100644 index 00000000..6ba861a7 --- /dev/null +++ b/doc/basics/route/class-use/VehicleRouteCostCalculator.html @@ -0,0 +1,228 @@ + + + + + + +Uses of Interface basics.route.VehicleRouteCostCalculator + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Interface
basics.route.VehicleRouteCostCalculator

+
+ + + + + + + + + +
+Packages that use VehicleRouteCostCalculator
basics.route  
+  +

+ + + + + +
+Uses of VehicleRouteCostCalculator in basics.route
+  +

+ + + + + + + + + +
Classes in basics.route that implement VehicleRouteCostCalculator
+ classDefaultVehicleRouteCostCalculator + +
+           
+  +

+ + + + + + + + + + + + + + + + + +
Methods in basics.route that return VehicleRouteCostCalculator
+ VehicleRouteCostCalculatorVehicleRouteCostCalculator.duplicate() + +
+           
+ VehicleRouteCostCalculatorDefaultVehicleRouteCostCalculator.duplicate() + +
+           
+ VehicleRouteCostCalculatorVehicleRoute.getVehicleRouteCostCalculator() + +
+           
+  +

+ + + + + + + + + +
Methods in basics.route with parameters of type VehicleRouteCostCalculator
+ voidVehicleRoute.setVehicleRouteCostCalculator(VehicleRouteCostCalculator costAccumulator) + +
+           
+  +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/doc/basics/route/class-use/VehicleType.html b/doc/basics/route/class-use/VehicleType.html new file mode 100644 index 00000000..d27c7a39 --- /dev/null +++ b/doc/basics/route/class-use/VehicleType.html @@ -0,0 +1,287 @@ + + + + + + +Uses of Interface basics.route.VehicleType + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Interface
basics.route.VehicleType

+
+ + + + + + + + + + + + + +
+Packages that use VehicleType
basics  
basics.route  
+  +

+ + + + + +
+Uses of VehicleType in basics
+  +

+ + + + + + + + + +
Methods in basics that return types with arguments of type VehicleType
+ java.util.Collection<VehicleType>VehicleRoutingProblem.getTypes() + +
+          Returns the entire, unmodifiable collection of types.
+  +

+ + + + + + + + + +
Methods in basics with parameters of type VehicleType
+ VehicleRoutingProblem.BuilderVehicleRoutingProblem.Builder.addVehicleType(VehicleType type) + +
+          Adds a vehicleType.
+  +

+ + + + + +
+Uses of VehicleType in basics.route
+  +

+ + + + + + + + + + + + + +
Classes in basics.route that implement VehicleType
+ classPenaltyVehicleType + +
+           
+ classVehicleTypeImpl + +
+           
+  +

+ + + + + + + + + + + + + +
Methods in basics.route that return VehicleType
+ VehicleTypeVehicle.getType() + +
+           
+ VehicleTypeVehicleImpl.getType() + +
+           
+  +

+ + + + + + + + + +
Methods in basics.route with parameters of type VehicleType
+ VehicleImpl.BuilderVehicleImpl.Builder.setType(VehicleType type) + +
+           
+  +

+ + + + + + + + +
Constructors in basics.route with parameters of type VehicleType
PenaltyVehicleType(VehicleType type) + +
+           
+  +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/doc/basics/route/class-use/VehicleTypeImpl.Builder.html b/doc/basics/route/class-use/VehicleTypeImpl.Builder.html new file mode 100644 index 00000000..ec24a4f0 --- /dev/null +++ b/doc/basics/route/class-use/VehicleTypeImpl.Builder.html @@ -0,0 +1,213 @@ + + + + + + +Uses of Class basics.route.VehicleTypeImpl.Builder + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Class
basics.route.VehicleTypeImpl.Builder

+
+ + + + + + + + + +
+Packages that use VehicleTypeImpl.Builder
basics.route  
+  +

+ + + + + +
+Uses of VehicleTypeImpl.Builder in basics.route
+  +

+ + + + + + + + + + + + + + + + + + + + + + + + + +
Methods in basics.route that return VehicleTypeImpl.Builder
+static VehicleTypeImpl.BuilderVehicleTypeImpl.Builder.newInstance(java.lang.String id, + int capacity) + +
+           
+ VehicleTypeImpl.BuilderVehicleTypeImpl.Builder.setCostPerDistance(double perDistance) + +
+           
+ VehicleTypeImpl.BuilderVehicleTypeImpl.Builder.setCostPerTime(double perTime) + +
+           
+ VehicleTypeImpl.BuilderVehicleTypeImpl.Builder.setFixedCost(double fixedCost) + +
+           
+ VehicleTypeImpl.BuilderVehicleTypeImpl.Builder.setMaxVelocity(double inMeterPerSeconds) + +
+           
+  +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/doc/basics/route/class-use/VehicleTypeImpl.VehicleCostParams.html b/doc/basics/route/class-use/VehicleTypeImpl.VehicleCostParams.html new file mode 100644 index 00000000..e25149f7 --- /dev/null +++ b/doc/basics/route/class-use/VehicleTypeImpl.VehicleCostParams.html @@ -0,0 +1,240 @@ + + + + + + +Uses of Class basics.route.VehicleTypeImpl.VehicleCostParams + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Class
basics.route.VehicleTypeImpl.VehicleCostParams

+
+ + + + + + + + + +
+Packages that use VehicleTypeImpl.VehicleCostParams
basics.route  
+  +

+ + + + + +
+Uses of VehicleTypeImpl.VehicleCostParams in basics.route
+  +

+ + + + + + + + + + + + + + + + + + + + + +
Methods in basics.route that return VehicleTypeImpl.VehicleCostParams
+ VehicleTypeImpl.VehicleCostParamsPenaltyVehicleType.getVehicleCostParams() + +
+           
+ VehicleTypeImpl.VehicleCostParamsVehicleType.getVehicleCostParams() + +
+           
+ VehicleTypeImpl.VehicleCostParamsVehicleTypeImpl.getVehicleCostParams() + +
+           
+static VehicleTypeImpl.VehicleCostParamsVehicleTypeImpl.VehicleCostParams.newInstance(double fix, + double perTimeUnit, + double perDistanceUnit) + +
+           
+  +

+ + + + + + + + + +
Methods in basics.route with parameters of type VehicleTypeImpl.VehicleCostParams
+static VehicleTypeImplVehicleTypeImpl.newInstance(java.lang.String typeId, + int capacity, + VehicleTypeImpl.VehicleCostParams para) + +
+           
+  +

+ + + + + + + + +
Constructors in basics.route with parameters of type VehicleTypeImpl.VehicleCostParams
VehicleTypeImpl(java.lang.String typeId, + int capacity, + VehicleTypeImpl.VehicleCostParams vehicleCostParams) + +
+           
+  +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/doc/basics/route/class-use/VehicleTypeImpl.html b/doc/basics/route/class-use/VehicleTypeImpl.html new file mode 100644 index 00000000..03257464 --- /dev/null +++ b/doc/basics/route/class-use/VehicleTypeImpl.html @@ -0,0 +1,190 @@ + + + + + + +Uses of Class basics.route.VehicleTypeImpl + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Class
basics.route.VehicleTypeImpl

+
+ + + + + + + + + +
+Packages that use VehicleTypeImpl
basics.route  
+  +

+ + + + + +
+Uses of VehicleTypeImpl in basics.route
+  +

+ + + + + + + + + + + + + +
Methods in basics.route that return VehicleTypeImpl
+ VehicleTypeImplVehicleTypeImpl.Builder.build() + +
+           
+static VehicleTypeImplVehicleTypeImpl.newInstance(java.lang.String typeId, + int capacity, + VehicleTypeImpl.VehicleCostParams para) + +
+           
+  +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/doc/basics/route/package-frame.html b/doc/basics/route/package-frame.html new file mode 100644 index 00000000..b0edb93e --- /dev/null +++ b/doc/basics/route/package-frame.html @@ -0,0 +1,95 @@ + + + + + + +basics.route + + + + + + + + + + + +basics.route + + + + +
+Interfaces  + +
+Driver +
+TourActivity +
+TourActivity.JobActivity +
+TourActivityFactory +
+Vehicle +
+VehicleRouteCostCalculator +
+VehicleType
+ + + + + + +
+Classes  + +
+DefaultTourActivityFactory +
+DefaultVehicleRouteCostCalculator +
+DeliveryActivity +
+DriverImpl +
+DriverImpl.NoDriver +
+End +
+PenaltyVehicleType +
+PickupActivity +
+ServiceActivity +
+Start +
+TimeWindow +
+TourActivities +
+TourActivities.ReverseActivityIterator +
+VehicleImpl +
+VehicleImpl.Builder +
+VehicleImpl.NoVehicle +
+VehicleRoute +
+VehicleRoute.Builder +
+VehicleTypeImpl +
+VehicleTypeImpl.Builder +
+VehicleTypeImpl.VehicleCostParams
+ + + + diff --git a/doc/basics/route/package-summary.html b/doc/basics/route/package-summary.html new file mode 100644 index 00000000..8022cf77 --- /dev/null +++ b/doc/basics/route/package-summary.html @@ -0,0 +1,275 @@ + + + + + + +basics.route + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+

+Package basics.route +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Interface Summary
Driver 
TourActivity 
TourActivity.JobActivity<T extends Job> 
TourActivityFactory 
Vehicle 
VehicleRouteCostCalculator 
VehicleType 
+  + +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Class Summary
DefaultTourActivityFactory 
DefaultVehicleRouteCostCalculator 
DeliveryActivity 
DriverImpl 
DriverImpl.NoDriver 
End 
PenaltyVehicleType 
PickupActivity 
ServiceActivity 
Start 
TimeWindow 
TourActivities 
TourActivities.ReverseActivityIterator 
VehicleImpl 
VehicleImpl.Builder 
VehicleImpl.NoVehicle 
VehicleRoute 
VehicleRoute.Builder 
VehicleTypeImpl 
VehicleTypeImpl.Builder 
VehicleTypeImpl.VehicleCostParams 
+  + +

+

+
+
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/doc/basics/route/package-tree.html b/doc/basics/route/package-tree.html new file mode 100644 index 00000000..3a9aa6e1 --- /dev/null +++ b/doc/basics/route/package-tree.html @@ -0,0 +1,176 @@ + + + + + + +basics.route Class Hierarchy + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Hierarchy For Package basics.route +

+
+
+
Package Hierarchies:
All Packages
+
+

+Class Hierarchy +

+ +

+Interface Hierarchy +

+ +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/doc/basics/route/package-use.html b/doc/basics/route/package-use.html new file mode 100644 index 00000000..52efbf39 --- /dev/null +++ b/doc/basics/route/package-use.html @@ -0,0 +1,470 @@ + + + + + + +Uses of Package basics.route + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Package
basics.route

+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Packages that use basics.route
algorithms  
basics  
basics.algo  
basics.costs  
basics.io  
basics.route  
util  
+  +

+ + + + + + + + + + + + + + + + + +
+Classes in basics.route used by algorithms
Driver + +
+           
TourActivity + +
+           
Vehicle + +
+           
VehicleRoute + +
+           
+  +

+ + + + + + + + + + + + + + + + + +
+Classes in basics.route used by basics
TimeWindow + +
+           
Vehicle + +
+           
VehicleRoute + +
+           
VehicleType + +
+           
+  +

+ + + + + + + + +
+Classes in basics.route used by basics.algo
VehicleRoute + +
+           
+  +

+ + + + + + + + + + + + + + +
+Classes in basics.route used by basics.costs
Driver + +
+           
TourActivity + +
+           
Vehicle + +
+           
+  +

+ + + + + + + + +
+Classes in basics.route used by basics.io
TourActivityFactory + +
+           
+  +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Classes in basics.route used by basics.route
Driver + +
+           
DriverImpl + +
+           
DriverImpl.NoDriver + +
+           
End + +
+           
ServiceActivity + +
+           
Start + +
+           
TimeWindow + +
+           
TourActivities + +
+           
TourActivity + +
+           
TourActivity.JobActivity + +
+           
TourActivityFactory + +
+           
Vehicle + +
+           
VehicleImpl + +
+           
VehicleImpl.Builder + +
+           
VehicleImpl.NoVehicle + +
+           
VehicleRoute + +
+           
VehicleRoute.Builder + +
+           
VehicleRouteCostCalculator + +
+           
VehicleType + +
+           
VehicleTypeImpl + +
+           
VehicleTypeImpl.Builder + +
+           
VehicleTypeImpl.VehicleCostParams + +
+           
+  +

+ + + + + + + + + + + + + + +
+Classes in basics.route used by util
Driver + +
+           
Vehicle + +
+           
VehicleRoute + +
+           
+  +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/doc/constant-values.html b/doc/constant-values.html new file mode 100644 index 00000000..6a2ecd87 --- /dev/null +++ b/doc/constant-values.html @@ -0,0 +1,201 @@ + + + + + + +Constant Field Values + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Constant Field Values

+
+
+Contents + + + + + + +
+basics.*
+ +

+ + + + + + + + + + + + +
basics.VehicleRoutingAlgorithm
+public static final intNOBREAK2147483647
+ +

+ +

+ + + + + +
+basics.route.*
+ +

+ + + + + + + + + + + + +
basics.route.Start
+public static final java.lang.StringACTIVITY_NAME"start"
+ +

+ +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/doc/deprecated-list.html b/doc/deprecated-list.html new file mode 100644 index 00000000..93ac7285 --- /dev/null +++ b/doc/deprecated-list.html @@ -0,0 +1,166 @@ + + + + + + +Deprecated List + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Deprecated API

+
+
+Contents + + + + + + + + + + + + +
+Deprecated Methods
util.Solutions.getBest(Collection) +
+           
algorithms.VehicleRoutingAlgorithms.readAndCreateAlgorithm(VehicleRoutingProblem, XMLConfiguration) +
+           
+  +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/doc/help-doc.html b/doc/help-doc.html new file mode 100644 index 00000000..e2a7fcc9 --- /dev/null +++ b/doc/help-doc.html @@ -0,0 +1,223 @@ + + + + + + +API Help + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+How This API Document Is Organized

+
+This API (Application Programming Interface) document has pages corresponding to the items in the navigation bar, described as follows.

+Overview

+
+ +

+The Overview page is the front page of this API document and provides a list of all packages with a summary for each. This page can also contain an overall description of the set of packages.

+

+Package

+
+ +

+Each package has a page that contains a list of its classes and interfaces, with a summary for each. This page can contain four categories:

+
+

+Class/Interface

+
+ +

+Each class, interface, nested class and nested interface has its own separate page. Each of these pages has three sections consisting of a class/interface description, summary tables, and detailed member descriptions:

+Each summary entry contains the first sentence from the detailed description for that item. The summary entries are alphabetical, while the detailed descriptions are in the order they appear in the source code. This preserves the logical groupings established by the programmer.
+ +

+Annotation Type

+
+ +

+Each annotation type has its own separate page with the following sections:

+
+ +

+Enum

+
+ +

+Each enum has its own separate page with the following sections:

+
+

+Use

+
+Each documented package, class and interface has its own Use page. This page describes what packages, classes, methods, constructors and fields use any part of the given class or package. Given a class or interface A, its Use page includes subclasses of A, fields declared as A, methods that return A, and methods and constructors with parameters of type A. You can access this page by first going to the package, class or interface, then clicking on the "Use" link in the navigation bar.
+

+Tree (Class Hierarchy)

+
+There is a Class Hierarchy page for all packages, plus a hierarchy for each package. Each hierarchy page contains a list of classes and a list of interfaces. The classes are organized by inheritance structure starting with java.lang.Object. The interfaces do not inherit from java.lang.Object. +
+

+Deprecated API

+
+The Deprecated API page lists all of the API that have been deprecated. A deprecated API is not recommended for use, generally due to improvements, and a replacement API is usually given. Deprecated APIs may be removed in future implementations.
+

+Index

+
+The Index contains an alphabetic list of all classes, interfaces, constructors, methods, and fields.
+

+Prev/Next

+These links take you to the next or previous class, interface, package, or related page.

+Frames/No Frames

+These links show and hide the HTML frames. All pages are available with or without frames. +

+

+Serialized Form

+Each serializable or externalizable class has a description of its serialization fields and methods. This information is of interest to re-implementors, not to developers using the API. While there is no link in the navigation bar, you can get to this information by going to any serialized class and clicking "Serialized Form" in the "See also" section of the class description. +

+

+Constant Field Values

+The Constant Field Values page lists the static final fields and their values. +

+ + +This help file applies to API documentation generated using the standard doclet. + +
+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/doc/index-files/index-1.html b/doc/index-files/index-1.html new file mode 100644 index 00000000..b517ce75 --- /dev/null +++ b/doc/index-files/index-1.html @@ -0,0 +1,325 @@ + + + + + + +A-Index + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +A B C D E F G H I J L M N P R S T U V W
+

+A

+
+
AcceptNewIfBetterThanWorst - Class in algorithms.acceptors
 
AcceptNewIfBetterThanWorst(int) - +Constructor for class algorithms.acceptors.AcceptNewIfBetterThanWorst +
  +
AcceptNewRemoveFirst - Class in algorithms.acceptors
 
AcceptNewRemoveFirst(int) - +Constructor for class algorithms.acceptors.AcceptNewRemoveFirst +
  +
acceptSolution(Collection<VehicleRoutingProblemSolution>, VehicleRoutingProblemSolution) - +Method in class algorithms.acceptors.AcceptNewIfBetterThanWorst +
Accepts every solution if solution memory allows. +
acceptSolution(Collection<VehicleRoutingProblemSolution>, VehicleRoutingProblemSolution) - +Method in class algorithms.acceptors.AcceptNewRemoveFirst +
Accepts every solution if solution memory allows. +
acceptSolution(Collection<VehicleRoutingProblemSolution>, VehicleRoutingProblemSolution) - +Method in class algorithms.acceptors.SchrimpfAcceptance +
  +
acceptSolution(Collection<VehicleRoutingProblemSolution>, VehicleRoutingProblemSolution) - +Method in interface algorithms.acceptors.SolutionAcceptor +
Accepts solution or not, and returns true if a new solution has been accepted. +
ACTIVITY_NAME - +Static variable in class basics.route.Start +
  +
ActivityVisitor - Interface in algorithms
 
add(VehicleRoutingAlgorithmListeners.PrioritizedVRAListener) - +Method in class basics.algo.VehicleRoutingAlgorithmListeners +
  +
addActivity(int, TourActivity) - +Method in class basics.route.TourActivities +
  +
addActivity(TourActivity) - +Method in class basics.route.TourActivities +
  +
addActivity(TourActivity) - +Method in class basics.route.VehicleRoute.Builder +
  +
addActivityCost(double) - +Method in class basics.route.DefaultVehicleRouteCostCalculator +
  +
addActivityCost(double) - +Method in interface basics.route.VehicleRouteCostCalculator +
  +
addActivityVisitor(ReverseActivityVisitor) - +Method in class algorithms.ReverseRouteActivityVisitor +
  +
addActivityVisitor(ActivityVisitor) - +Method in class algorithms.RouteActivityVisitor +
  +
addActivityVisitor(ActivityVisitor) - +Method in class algorithms.StateManagerImpl +
Adds an activityVisitor. +
addActivityVisitor(ReverseActivityVisitor) - +Method in class algorithms.StateManagerImpl +
Adds an reverseActivityVisitor. +
addAll(Collection<VehicleRoutingAlgorithmListeners.PrioritizedVRAListener>) - +Method in class basics.algo.VehicleRoutingAlgorithmListeners +
  +
addAllJobs(Collection<Job>) - +Method in class basics.VehicleRoutingProblem.Builder +
Adds a collection of jobs. +
addAllVehicles(Collection<Vehicle>) - +Method in class basics.VehicleRoutingProblem.Builder +
Adds a collection of vehicles. +
addConstraint(HardActivityLevelConstraint) - +Method in class algorithms.BestInsertionBuilder +
  +
addConstraint(HardRouteLevelConstraint) - +Method in class algorithms.BestInsertionBuilder +
  +
addConstraint(HardActivityLevelConstraint) - +Method in class algorithms.ConstraintManager +
  +
addConstraint(HardRouteLevelConstraint) - +Method in class algorithms.ConstraintManager +
  +
addInitialSolution(VehicleRoutingProblemSolution) - +Method in class basics.VehicleRoutingAlgorithm +
Adds solution to the collection of initial solutions. +
addJob(Job) - +Method in class basics.VehicleRoutingProblem.Builder +
Adds a job which is either a service or a shipment. +
addListener(InsertionListener) - +Method in interface algorithms.InsertionStrategy +
  +
addListener(RuinListener) - +Method in interface algorithms.RuinStrategy +
Adds a ruin-listener. +
addListener(RuinListener) - +Method in class algorithms.StateManagerImpl +
  +
addListener(InsertionListener) - +Method in class algorithms.StateManagerImpl +
  +
addListener(InsertionListener) - +Method in class basics.algo.InsertionListeners +
  +
addListener(RuinListener) - +Method in class basics.algo.RuinListeners +
  +
addListener(VehicleRoutingAlgorithmListener, VehicleRoutingAlgorithmListeners.Priority) - +Method in class basics.algo.VehicleRoutingAlgorithmListeners +
  +
addListener(VehicleRoutingAlgorithmListener) - +Method in class basics.algo.VehicleRoutingAlgorithmListeners +
  +
addLocation(String, Coordinate) - +Method in class basics.VehicleRoutingProblem.Builder +
  +
addModule(SearchStrategyModule) - +Method in class basics.algo.SearchStrategy +
  +
addModuleListener(SearchStrategyModuleListener) - +Method in class algorithms.RuinAndRecreateModule +
  +
addModuleListener(SearchStrategyModuleListener) - +Method in class basics.algo.SearchStrategy +
  +
addModuleListener(SearchStrategyModuleListener) - +Method in interface basics.algo.SearchStrategyModule +
  +
addOtherCost(double) - +Method in class basics.route.DefaultVehicleRouteCostCalculator +
  +
addOtherCost(double) - +Method in interface basics.route.VehicleRouteCostCalculator +
  +
addProblemConstraint(VehicleRoutingProblem.Constraint) - +Method in class basics.VehicleRoutingProblem.Builder +
  +
addRouteVisitor(RouteVisitor) - +Method in class algorithms.StateManagerImpl +
  +
addSearchStrategyListener(SearchStrategyListener) - +Method in class basics.algo.SearchStrategyManager +
  +
addSearchStrategyModuleListener(SearchStrategyModuleListener) - +Method in class basics.algo.SearchStrategyManager +
  +
addService(Service) - +Method in class basics.VehicleRoutingProblem.Builder +
Adds a service to jobList. +
addStrategy(SearchStrategy, double) - +Method in class basics.algo.SearchStrategyManager +
adds a new search strategy. +
addTransportCost(double) - +Method in class basics.route.DefaultVehicleRouteCostCalculator +
  +
addTransportCost(double) - +Method in interface basics.route.VehicleRouteCostCalculator +
  +
addTransportDistance(String, String, double) - +Method in class util.VehicleRoutingTransportCostsMatrix.Builder +
Adds a transport-distance for a particular relation. +
addTransportTime(String, String, double) - +Method in class util.VehicleRoutingTransportCostsMatrix.Builder +
Adds transport-time for a particular relation. +
addVehicle(Vehicle) - +Method in class basics.VehicleRoutingProblem.Builder +
Adds a vehicle. +
addVehicleType(VehicleType) - +Method in class basics.VehicleRoutingProblem.Builder +
Adds a vehicleType. +
AlgorithmConfig - Class in basics.io
 
AlgorithmConfig() - +Constructor for class basics.io.AlgorithmConfig +
  +
AlgorithmConfigXmlReader - Class in basics.io
 
AlgorithmConfigXmlReader(AlgorithmConfig) - +Constructor for class basics.io.AlgorithmConfigXmlReader +
  +
algorithmEnds(VehicleRoutingProblem, Collection<VehicleRoutingProblemSolution>) - +Method in class basics.algo.VehicleRoutingAlgorithmListeners +
  +
AlgorithmEndsListener - Interface in basics.algo
 
algorithmStarts(VehicleRoutingProblem, VehicleRoutingAlgorithm, Collection<VehicleRoutingProblemSolution>) - +Method in class basics.algo.VehicleRoutingAlgorithmListeners +
  +
AlgorithmStartsListener - Interface in basics.algo
 
areNeighbors(String, String) - +Method in interface util.Neighborhood +
  +
areNeighbors(String, String) - +Method in class util.NeighborhoodImpl +
  +
ArrayUtils - Class in util
 
ArrayUtils() - +Constructor for class util.ArrayUtils +
  +
arrTime - +Variable in class basics.route.ServiceActivity +
  +
+
+ + + + + + + + + + + + + + + +
+ +
+ + + +A B C D E F G H I J L M N P R S T U V W
+ + + diff --git a/doc/index-files/index-10.html b/doc/index-files/index-10.html new file mode 100644 index 00000000..a8cf2663 --- /dev/null +++ b/doc/index-files/index-10.html @@ -0,0 +1,148 @@ + + + + + + +J-Index + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +A B C D E F G H I J L M N P R S T U V W
+

+J

+
+
Job - Interface in basics
 
JobDistance - Interface in algorithms
 
jobInserted(Job, VehicleRoute, double, double) - +Method in class basics.algo.InsertionListeners +
  +
JobInsertedListener - Interface in basics.algo
 
jobSize() - +Method in class basics.route.TourActivities +
  +
+
+ + + + + + + + + + + + + + + +
+ +
+ + + +A B C D E F G H I J L M N P R S T U V W
+ + + diff --git a/doc/index-files/index-11.html b/doc/index-files/index-11.html new file mode 100644 index 00000000..00c8cd4c --- /dev/null +++ b/doc/index-files/index-11.html @@ -0,0 +1,148 @@ + + + + + + +L-Index + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +A B C D E F G H I J L M N P R S T U V W
+

+L

+
+
Locations - Interface in util
 
lock(Vehicle) - +Method in interface algorithms.VehicleFleetManager +
  +
log - +Static variable in class basics.VehicleRoutingProblem +
  +
+
+ + + + + + + + + + + + + + + +
+ +
+ + + +A B C D E F G H I J L M N P R S T U V W
+ + + diff --git a/doc/index-files/index-12.html b/doc/index-files/index-12.html new file mode 100644 index 00000000..76a60879 --- /dev/null +++ b/doc/index-files/index-12.html @@ -0,0 +1,148 @@ + + + + + + +M-Index + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +A B C D E F G H I J L M N P R S T U V W
+

+M

+
+
ManhattanCosts - Class in util
 
ManhattanCosts(Locations) - +Constructor for class util.ManhattanCosts +
  +
ManhattanDistanceCalculator - Class in util
 
ManhattanDistanceCalculator() - +Constructor for class util.ManhattanDistanceCalculator +
  +
+
+ + + + + + + + + + + + + + + +
+ +
+ + + +A B C D E F G H I J L M N P R S T U V W
+ + + diff --git a/doc/index-files/index-13.html b/doc/index-files/index-13.html new file mode 100644 index 00000000..65e285a4 --- /dev/null +++ b/doc/index-files/index-13.html @@ -0,0 +1,214 @@ + + + + + + +N-Index + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +A B C D E F G H I J L M N P R S T U V W
+

+N

+
+
name - +Variable in class util.BenchmarkInstance +
  +
Neighborhood - Interface in util
 
NeighborhoodImpl - Class in util
 
NeighborhoodImpl(Collection<Vehicle>, Collection<Service>) - +Constructor for class util.NeighborhoodImpl +
  +
NeighborhoodThresholdInitialiser - Class in algorithms
 
NeighborhoodThresholdInitialiser(NeighborhoodImpl) - +Constructor for class algorithms.NeighborhoodThresholdInitialiser +
  +
newInstance(String, int) - +Static method in class basics.Delivery.Builder +
  +
newInstance(String, int) - +Static method in class basics.Pickup.Builder +
  +
newInstance(String, double, double) - +Static method in class basics.route.End +
  +
newInstance(Service) - +Static method in class basics.route.ServiceActivity +
  +
newInstance(String, double, double) - +Static method in class basics.route.Start +
  +
newInstance(double, double) - +Static method in class basics.route.TimeWindow +
  +
newInstance(String) - +Static method in class basics.route.VehicleImpl.Builder +
  +
newInstance(Start, End) - +Static method in class basics.route.VehicleRoute.Builder +
  +
newInstance(TourActivities, Driver, Vehicle) - +Static method in class basics.route.VehicleRoute +
  +
newInstance(String, int) - +Static method in class basics.route.VehicleTypeImpl.Builder +
  +
newInstance(String, int, VehicleTypeImpl.VehicleCostParams) - +Static method in class basics.route.VehicleTypeImpl +
  +
newInstance(double, double, double) - +Static method in class basics.route.VehicleTypeImpl.VehicleCostParams +
  +
newInstance(String, int) - +Static method in class basics.Service.Builder +
  +
newInstance() - +Static method in class basics.VehicleRoutingProblem.Builder +
Returns a new instance of this builder. +
newInstance(double, double) - +Static method in class util.Coordinate +
  +
newInstance(boolean) - +Static method in class util.VehicleRoutingTransportCostsMatrix.Builder +
Creates a new builder returning the matrix-builder. +
next() - +Method in class basics.route.TourActivities.ReverseActivityIterator +
  +
NO_COST_YET - +Static variable in class basics.VehicleRoutingProblemSolution +
  +
NOBREAK - +Static variable in class basics.VehicleRoutingAlgorithm +
  +
noDriver() - +Static method in class basics.route.DriverImpl +
  +
noVehicle() - +Static method in class basics.route.VehicleImpl +
  +
+
+ + + + + + + + + + + + + + + +
+ +
+ + + +A B C D E F G H I J L M N P R S T U V W
+ + + diff --git a/doc/index-files/index-14.html b/doc/index-files/index-14.html new file mode 100644 index 00000000..4fb220a3 --- /dev/null +++ b/doc/index-files/index-14.html @@ -0,0 +1,175 @@ + + + + + + +P-Index + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +A B C D E F G H I J L M N P R S T U V W
+

+P

+
+
PenaltyVehicleType - Class in basics.route
 
PenaltyVehicleType(VehicleType) - +Constructor for class basics.route.PenaltyVehicleType +
  +
perDistanceUnit - +Variable in class basics.route.VehicleTypeImpl.VehicleCostParams +
  +
perTimeUnit - +Variable in class basics.route.VehicleTypeImpl.VehicleCostParams +
  +
Pickup - Class in basics
 
Pickup.Builder - Class in basics
 
PickupActivity - Class in basics.route
 
PickupActivity(Pickup) - +Constructor for class basics.route.PickupActivity +
  +
PrematureAlgorithmBreaker - Interface in basics.algo
 
price(Vehicle) - +Method in class basics.route.DefaultVehicleRouteCostCalculator +
  +
price(Driver) - +Method in class basics.route.DefaultVehicleRouteCostCalculator +
  +
price(Vehicle) - +Method in interface basics.route.VehicleRouteCostCalculator +
  +
price(Driver) - +Method in interface basics.route.VehicleRouteCostCalculator +
  +
printCounter() - +Method in class util.Counter +
  +
putActivityState(TourActivity, StateManager.StateId, StateManager.State) - +Method in class algorithms.StateManagerImpl +
  +
putRouteState(VehicleRoute, StateManager.StateId, StateManager.State) - +Method in class algorithms.StateManagerImpl +
  +
+
+ + + + + + + + + + + + + + + +
+ +
+ + + +A B C D E F G H I J L M N P R S T U V W
+ + + diff --git a/doc/index-files/index-15.html b/doc/index-files/index-15.html new file mode 100644 index 00000000..6536bb21 --- /dev/null +++ b/doc/index-files/index-15.html @@ -0,0 +1,292 @@ + + + + + + +R-Index + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +A B C D E F G H I J L M N P R S T U V W
+

+R

+
+
RadialRuinStrategyFactory - Class in algorithms
 
RadialRuinStrategyFactory(double, JobDistance) - +Constructor for class algorithms.RadialRuinStrategyFactory +
  +
RandomNumberGeneration - Class in util
 
RandomNumberGeneration() - +Constructor for class util.RandomNumberGeneration +
  +
RandomRuinStrategyFactory - Class in algorithms
 
RandomRuinStrategyFactory(double) - +Constructor for class algorithms.RandomRuinStrategyFactory +
  +
read(URL) - +Method in class basics.io.AlgorithmConfigXmlReader +
  +
read(String) - +Method in class basics.io.AlgorithmConfigXmlReader +
  +
read(String) - +Method in class basics.io.VrpXMLReader +
  +
readAndCreateAlgorithm(VehicleRoutingProblem, XMLConfiguration) - +Static method in class algorithms.VehicleRoutingAlgorithms +
Deprecated.  +
readAndCreateAlgorithm(VehicleRoutingProblem, URL) - +Static method in class algorithms.VehicleRoutingAlgorithms +
Read and creates a VehicleRoutingAlgorithm from an url. +
readAndCreateAlgorithm(VehicleRoutingProblem, String) - +Static method in class algorithms.VehicleRoutingAlgorithms +
Read and creates VehicleRoutingAlgorithm from config-file. +
remove(VehicleRoutingAlgorithmListeners.PrioritizedVRAListener) - +Method in class basics.algo.VehicleRoutingAlgorithmListeners +
  +
remove() - +Method in class basics.route.TourActivities.ReverseActivityIterator +
  +
removed(Job, VehicleRoute) - +Method in class algorithms.StateManagerImpl +
  +
removed(Job, VehicleRoute) - +Method in class algorithms.StateUpdates.UpdateStates +
  +
removed(Job, VehicleRoute) - +Method in interface basics.algo.RuinListener +
informs if a Job has been removed from a VehicleRoute. +
removed(Job, VehicleRoute) - +Method in class basics.algo.RuinListeners +
  +
RemoveEmptyVehicles - Class in algorithms
 
RemoveEmptyVehicles(VehicleFleetManager) - +Constructor for class algorithms.RemoveEmptyVehicles +
  +
removeJob(Job) - +Method in class basics.route.TourActivities +
Removes job AND belonging activity from tour and returns true if job has been removed, otherwise false. +
removeListener(InsertionListener) - +Method in interface algorithms.InsertionStrategy +
  +
removeListener(RuinListener) - +Method in interface algorithms.RuinStrategy +
  +
removeListener(RuinListener) - +Method in class algorithms.StateManagerImpl +
  +
removeListener(InsertionListener) - +Method in class algorithms.StateManagerImpl +
  +
removeListener(InsertionListener) - +Method in class basics.algo.InsertionListeners +
  +
removeListener(RuinListener) - +Method in class basics.algo.RuinListeners +
  +
reset() - +Method in class basics.route.DefaultVehicleRouteCostCalculator +
  +
reset() - +Method in class basics.route.TourActivities.ReverseActivityIterator +
  +
reset() - +Method in interface basics.route.VehicleRouteCostCalculator +
  +
reset() - +Method in class util.Counter +
  +
reset() - +Static method in class util.RandomNumberGeneration +
  +
reset() - +Method in class util.StopWatch +
  +
Resource - Class in util
This is a copy of MatsimResource.java (see matsim.org).
Resource() - +Constructor for class util.Resource +
  +
reverseActivityIterator() - +Method in class basics.route.TourActivities +
  +
ReverseActivityVisitor - Interface in algorithms
 
ReverseRouteActivityVisitor - Class in algorithms
 
ReverseRouteActivityVisitor() - +Constructor for class algorithms.ReverseRouteActivityVisitor +
  +
RouteActivityVisitor - Class in algorithms
 
RouteActivityVisitor() - +Constructor for class algorithms.RouteActivityVisitor +
  +
RouteUtils - Class in util
 
RouteUtils() - +Constructor for class util.RouteUtils +
  +
RouteVisitor - Interface in algorithms
 
ruin(Collection<VehicleRoute>) - +Method in interface algorithms.RuinStrategy +
Ruins a current solution, i.e. +
ruin(Collection<VehicleRoute>, Job, int) - +Method in interface algorithms.RuinStrategy +
Removes targetJob as well as its neighbors with a size of (nOfJobs2BeRemoved-1). +
RuinAndRecreateModule - Class in algorithms
 
RuinAndRecreateModule(String, InsertionStrategy, RuinStrategy) - +Constructor for class algorithms.RuinAndRecreateModule +
  +
ruinEnds(Collection<VehicleRoute>, Collection<Job>) - +Method in class algorithms.StateManagerImpl +
  +
ruinEnds(Collection<VehicleRoute>, Collection<Job>) - +Method in class algorithms.StateUpdates.UpdateStates +
  +
ruinEnds(Collection<VehicleRoute>, Collection<Job>) - +Method in interface basics.algo.RuinListener +
informs about ruin-end. +
ruinEnds(Collection<VehicleRoute>, Collection<Job>) - +Method in class basics.algo.RuinListeners +
  +
RuinListener - Interface in basics.algo
Listener that listens to the ruin-process.
RuinListeners - Class in basics.algo
 
RuinListeners() - +Constructor for class basics.algo.RuinListeners +
  +
ruinStarts(Collection<VehicleRoute>) - +Method in class algorithms.StateManagerImpl +
  +
ruinStarts(Collection<VehicleRoute>) - +Method in class algorithms.StateUpdates.UpdateStates +
  +
ruinStarts(Collection<VehicleRoute>) - +Method in interface basics.algo.RuinListener +
informs about ruin-start. +
ruinStarts(Collection<VehicleRoute>) - +Method in class basics.algo.RuinListeners +
  +
RuinStrategy - Interface in algorithms
 
RuinStrategyFactory - Interface in algorithms
 
run(VehicleRoutingProblem, Collection<VehicleRoutingProblemSolution>) - +Method in class basics.algo.SearchStrategy +
Runs the search-strategy and its according modules, and returns DiscoveredSolution. +
runAndGetSolution(VehicleRoutingProblemSolution) - +Method in class algorithms.RuinAndRecreateModule +
  +
runAndGetSolution(VehicleRoutingProblemSolution) - +Method in interface basics.algo.SearchStrategyModule +
  +
runs - +Variable in class util.BenchmarkResult +
  +
+
+ + + + + + + + + + + + + + + +
+ +
+ + + +A B C D E F G H I J L M N P R S T U V W
+ + + diff --git a/doc/index-files/index-16.html b/doc/index-files/index-16.html new file mode 100644 index 00000000..ff769c19 --- /dev/null +++ b/doc/index-files/index-16.html @@ -0,0 +1,409 @@ + + + + + + +S-Index + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +A B C D E F G H I J L M N P R S T U V W
+

+S

+
+
SchrimpfAcceptance - Class in algorithms.acceptors
 
SchrimpfAcceptance(int, double, int) - +Constructor for class algorithms.acceptors.SchrimpfAcceptance +
  +
SchrimpfFactory - Class in algorithms
Factory that creates the VehicleRoutingAlgorithm as proposed by Schrimpf et al., 2000 with the following parameters:
SchrimpfFactory() - +Constructor for class algorithms.SchrimpfFactory +
  +
searchSolutions() - +Method in class basics.VehicleRoutingAlgorithm +
Runs the vehicle routing algorithm and returns a number of generated solutions. +
SearchStrategy - Class in basics.algo
 
SearchStrategy(SolutionSelector, SolutionAcceptor) - +Constructor for class basics.algo.SearchStrategy +
  +
SearchStrategy.DiscoveredSolution - Class in basics.algo
 
SearchStrategy.DiscoveredSolution(VehicleRoutingProblemSolution, boolean, String) - +Constructor for class basics.algo.SearchStrategy.DiscoveredSolution +
  +
SearchStrategyListener - Interface in basics.algo
 
SearchStrategyManager - Class in basics.algo
 
SearchStrategyManager() - +Constructor for class basics.algo.SearchStrategyManager +
  +
SearchStrategyModule - Interface in basics.algo
 
SearchStrategyModuleListener - Interface in basics.algo
 
SelectBest - Class in algorithms.selectors
 
SelectBest() - +Constructor for class algorithms.selectors.SelectBest +
  +
selectedStrategy(String, VehicleRoutingProblem, Collection<VehicleRoutingProblemSolution>) - +Method in class basics.algo.VehicleRoutingAlgorithmListeners +
  +
SelectRandomly - Class in algorithms.selectors
 
SelectRandomly() - +Constructor for class algorithms.selectors.SelectRandomly +
  +
selectSolution(Collection<VehicleRoutingProblemSolution>) - +Method in class algorithms.selectors.SelectBest +
  +
selectSolution(Collection<VehicleRoutingProblemSolution>) - +Method in class algorithms.selectors.SelectRandomly +
  +
selectSolution(Collection<VehicleRoutingProblemSolution>) - +Method in interface algorithms.selectors.SolutionSelector +
  +
servesJob(Job) - +Method in class basics.route.TourActivities +
  +
Service - Class in basics
 
Service.Builder - Class in basics
 
ServiceActivity - Class in basics.route
 
setActivityCosts(VehicleRoutingActivityCosts) - +Method in class basics.VehicleRoutingProblem.Builder +
Sets the activityCostFunction that considers also activities on a vehicle-route. +
setArrTime(double) - +Method in class basics.route.DeliveryActivity +
  +
setArrTime(double) - +Method in class basics.route.End +
  +
setArrTime(double) - +Method in class basics.route.PickupActivity +
  +
setArrTime(double) - +Method in class basics.route.ServiceActivity +
  +
setArrTime(double) - +Method in class basics.route.Start +
  +
setArrTime(double) - +Method in interface basics.route.TourActivity +
  +
setCoord(Coordinate) - +Method in class basics.Service.Builder +
  +
setCoordinate(Coordinate) - +Method in class basics.route.End +
  +
setCoordinate(Coordinate) - +Method in class basics.route.Start +
  +
setCost(double) - +Method in class basics.VehicleRoutingProblemSolution +
  +
setCostPerDistance(double) - +Method in class basics.route.VehicleTypeImpl.Builder +
  +
setCostPerTime(double) - +Method in class basics.route.VehicleTypeImpl.Builder +
  +
setCrowFlySpeed(int) - +Method in class algorithms.NeighborhoodThresholdInitialiser +
  +
setDepartureTime(double) - +Method in class basics.route.VehicleRoute +
  +
setDriver(Driver) - +Method in class basics.route.VehicleRoute.Builder +
  +
setEarliestStart(double) - +Method in class basics.route.DriverImpl +
  +
setEarliestStart(double) - +Method in class basics.route.VehicleImpl.Builder +
  +
setEndTime(double) - +Method in class basics.route.DeliveryActivity +
  +
setEndTime(double) - +Method in class basics.route.End +
  +
setEndTime(double) - +Method in class basics.route.PickupActivity +
  +
setEndTime(double) - +Method in class basics.route.ServiceActivity +
  +
setEndTime(double) - +Method in class basics.route.Start +
  +
setEndTime(double) - +Method in interface basics.route.TourActivity +
  +
setFixedCost(double) - +Method in class basics.route.VehicleTypeImpl.Builder +
  +
setFleetComposition(VehicleRoutingProblem.FleetComposition) - +Method in class basics.VehicleRoutingProblem.Builder +
Sets the fleetComposition. +
setFleetManager(VehicleFleetManager) - +Method in class algorithms.BestInsertionBuilder +
  +
setFleetSize(VehicleRoutingProblem.FleetSize) - +Method in class basics.VehicleRoutingProblem.Builder +
Sets the type of fleetSize. +
setGenerateAsMuchAsRoutesAsVehiclesExist(boolean) - +Method in class algorithms.BestInsertionInitialSolutionFactory +
  +
setHomeLocation(String) - +Method in class basics.route.DriverImpl +
  +
setLatestArrival(double) - +Method in class basics.route.VehicleImpl.Builder +
  +
setLatestEnd(double) - +Method in class basics.route.DriverImpl +
  +
setLocalLevel() - +Method in class algorithms.BestInsertionBuilder +
  +
setLocationCoord(Coordinate) - +Method in class basics.route.VehicleImpl.Builder +
  +
setLocationId(String) - +Method in class basics.route.End +
  +
setLocationId(String) - +Method in class basics.route.Start +
  +
setLocationId(String) - +Method in class basics.route.VehicleImpl.Builder +
  +
setLocationId(String) - +Method in class basics.Service.Builder +
  +
setMaxVelocity(double) - +Method in class basics.route.VehicleTypeImpl.Builder +
  +
setName(String) - +Method in class basics.algo.SearchStrategy +
  +
setNeighborhood(Neighborhood) - +Method in class basics.VehicleRoutingProblem.Builder +
Sets the neighborhood. +
setNuOfIterations(int) - +Method in class basics.VehicleRoutingAlgorithm +
  +
setPrematureAlgorithmBreaker(PrematureAlgorithmBreaker) - +Method in class basics.VehicleRoutingAlgorithm +
  +
setPrematureBreak(int) - +Method in class basics.VehicleRoutingAlgorithm +
Sets premature break. +
setRandom(Random) - +Method in class algorithms.selectors.SelectRandomly +
  +
setRandom(Random) - +Method in class basics.algo.SearchStrategyManager +
  +
setRoutingAlgorithmFactory(VehicleRoutingAlgorithmFactory) - +Method in class algorithms.NeighborhoodThresholdInitialiser +
  +
setRoutingCost(VehicleRoutingTransportCosts) - +Method in class basics.VehicleRoutingProblem.Builder +
Sets routing costs. +
setSchemaValidation(boolean) - +Method in class basics.io.AlgorithmConfigXmlReader +
  +
setSchemaValidation(boolean) - +Method in class basics.io.VrpXMLReader +
  +
setSeed(long) - +Static method in class util.RandomNumberGeneration +
  +
setServiceBuilderFactory(VrpXMLReader.ServiceBuilderFactory) - +Method in class basics.io.VrpXMLReader +
  +
setServiceTime(double) - +Method in class basics.Service.Builder +
  +
setTheoreticalEarliestOperationStartTime(double) - +Method in class basics.route.End +
  +
setTheoreticalEarliestOperationStartTime(double) - +Method in class basics.route.Start +
  +
setTheoreticalLatestOperationStartTime(double) - +Method in class basics.route.End +
  +
setTheoreticalLatestOperationStartTime(double) - +Method in class basics.route.Start +
  +
setThreshold(double) - +Method in class util.NeighborhoodImpl +
  +
setTimeWindow(TimeWindow) - +Method in class basics.Service.Builder +
  +
setTourActivityFactory(TourActivityFactory) - +Method in class basics.io.VrpXMLReader +
  +
setType(VehicleType) - +Method in class basics.route.VehicleImpl.Builder +
  +
setVehicle(Vehicle) - +Method in class basics.route.VehicleRoute.Builder +
  +
setVehicle(Vehicle, double) - +Method in class basics.route.VehicleRoute +
  +
setVehicleRouteCostCalculator(VehicleRouteCostCalculator) - +Method in class basics.route.VehicleRoute +
  +
SolutionAcceptor - Interface in algorithms.acceptors
Acceptor that decides whether the newSolution is accepted or not.
Solutions - Class in util
 
Solutions() - +Constructor for class util.Solutions +
  +
SolutionSelector - Interface in algorithms.selectors
 
speed - +Variable in class util.CrowFlyCosts +
  +
speed - +Variable in class util.ManhattanCosts +
  +
Start - Class in basics.route
 
Start(String, double, double) - +Constructor for class basics.route.Start +
  +
start() - +Method in class util.StopWatch +
  +
StateIdFactory - Class in algorithms
 
StateIdFactory() - +Constructor for class algorithms.StateIdFactory +
  +
StateManager - Interface in algorithms
 
StateManager.State - Interface in algorithms
 
StateManager.StateId - Interface in algorithms
 
StateManagerImpl - Class in algorithms
 
StateManagerImpl() - +Constructor for class algorithms.StateManagerImpl +
  +
StateManagerImpl.StateImpl - Class in algorithms
 
StateManagerImpl.StateImpl(double) - +Constructor for class algorithms.StateManagerImpl.StateImpl +
  +
StateUpdates - Class in algorithms
 
StateUpdates() - +Constructor for class algorithms.StateUpdates +
  +
StateUpdates.UpdateStates - Class in algorithms
 
StateUpdates.UpdateStates(StateManagerImpl, VehicleRoutingTransportCosts, VehicleRoutingActivityCosts) - +Constructor for class algorithms.StateUpdates.UpdateStates +
  +
stop() - +Method in class util.StopWatch +
  +
StopWatch - Class in util
 
StopWatch() - +Constructor for class util.StopWatch +
  +
StrategySelectedListener - Interface in basics.algo
 
+
+ + + + + + + + + + + + + + + +
+ +
+ + + +A B C D E F G H I J L M N P R S T U V W
+ + + diff --git a/doc/index-files/index-17.html b/doc/index-files/index-17.html new file mode 100644 index 00000000..430524a8 --- /dev/null +++ b/doc/index-files/index-17.html @@ -0,0 +1,241 @@ + + + + + + +T-Index + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +A B C D E F G H I J L M N P R S T U V W
+

+T

+
+
TimeBreaker - Class in basics.algo
 
TimeBreaker(double) - +Constructor for class basics.algo.TimeBreaker +
  +
TimeWindow - Class in basics.route
 
TimeWindow(double, double) - +Constructor for class basics.route.TimeWindow +
  +
toDouble() - +Method in interface algorithms.StateManager.State +
  +
toDouble() - +Method in class algorithms.StateManagerImpl.StateImpl +
  +
toPrimitiveArray(List<Double>) - +Static method in class util.ArrayUtils +
  +
toString() - +Method in class algorithms.acceptors.AcceptNewIfBetterThanWorst +
  +
toString() - +Method in class algorithms.acceptors.AcceptNewRemoveFirst +
  +
toString() - +Method in class algorithms.acceptors.SchrimpfAcceptance +
  +
toString() - +Method in class algorithms.RemoveEmptyVehicles +
  +
toString() - +Method in class algorithms.selectors.SelectBest +
  +
toString() - +Method in class basics.algo.IterationWithoutImprovementBreaker +
  +
toString() - +Method in class basics.algo.SearchStrategy +
  +
toString() - +Method in class basics.algo.TimeBreaker +
  +
toString() - +Method in class basics.algo.VariationCoefficientBreaker +
  +
toString() - +Method in class basics.costs.DefaultVehicleRoutingActivityCosts +
  +
toString() - +Method in class basics.route.End +
  +
toString() - +Method in class basics.route.ServiceActivity +
  +
toString() - +Method in class basics.route.Start +
  +
toString() - +Method in class basics.route.TimeWindow +
  +
toString() - +Method in class basics.route.TourActivities +
  +
toString() - +Method in class basics.route.VehicleImpl +
  +
toString() - +Method in class basics.route.VehicleTypeImpl +
  +
toString() - +Method in class basics.route.VehicleTypeImpl.VehicleCostParams +
  +
toString() - +Method in class basics.Service +
  +
toString() - +Method in class basics.VehicleRoutingProblem +
  +
toString() - +Method in class util.Coordinate +
  +
toString() - +Method in class util.CrowFlyCosts +
  +
toString() - +Method in class util.NeighborhoodImpl +
  +
toString() - +Method in class util.StopWatch +
  +
TourActivities - Class in basics.route
 
TourActivities() - +Constructor for class basics.route.TourActivities +
  +
TourActivities.ReverseActivityIterator - Class in basics.route
 
TourActivities.ReverseActivityIterator(List<TourActivity>) - +Constructor for class basics.route.TourActivities.ReverseActivityIterator +
  +
TourActivity - Interface in basics.route
 
TourActivity.JobActivity<T extends Job> - Interface in basics.route
 
TourActivityFactory - Interface in basics.route
 
TOUREND - +Static variable in class basics.costs.VehicleRoutingActivityCosts.Time +
  +
TOURSTART - +Static variable in class basics.costs.VehicleRoutingActivityCosts.Time +
  +
TransportCost - Interface in basics.costs
 
TransportTime - Interface in basics.costs
 
+
+ + + + + + + + + + + + + + + +
+ +
+ + + +A B C D E F G H I J L M N P R S T U V W
+ + + diff --git a/doc/index-files/index-18.html b/doc/index-files/index-18.html new file mode 100644 index 00000000..722ea978 --- /dev/null +++ b/doc/index-files/index-18.html @@ -0,0 +1,187 @@ + + + + + + +U-Index + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +A B C D E F G H I J L M N P R S T U V W
+

+U

+
+
UNDEFINED - +Static variable in class basics.costs.VehicleRoutingActivityCosts.Time +
  +
unlock(Vehicle) - +Method in interface algorithms.VehicleFleetManager +
  +
unlockAll() - +Method in interface algorithms.VehicleFleetManager +
  +
update(VehicleRoute) - +Method in class algorithms.StateUpdates.UpdateStates +
  +
UpdateActivityTimes - Class in algorithms
Updates arrival and end times of activities.
UpdateActivityTimes(ForwardTransportTime) - +Constructor for class algorithms.UpdateActivityTimes +
Updates arrival and end times of activities. +
UpdateCostsAtAllLevels - Class in algorithms
Updates total costs (i.e.
UpdateCostsAtAllLevels(VehicleRoutingActivityCosts, VehicleRoutingTransportCosts, StateManagerImpl) - +Constructor for class algorithms.UpdateCostsAtAllLevels +
Updates total costs (i.e. +
UpdateCostsAtRouteLevel - Class in algorithms
 
UpdateCostsAtRouteLevel(StateManagerImpl, VehicleRoutingTransportCosts, VehicleRoutingActivityCosts) - +Constructor for class algorithms.UpdateCostsAtRouteLevel +
  +
UpdateEarliestStartTimeWindowAtActLocations - Class in algorithms
 
UpdateEarliestStartTimeWindowAtActLocations(StateManagerImpl, VehicleRoutingTransportCosts) - +Constructor for class algorithms.UpdateEarliestStartTimeWindowAtActLocations +
  +
UpdateFuturePickupsAtActivityLevel - Class in algorithms
 
UpdateFuturePickupsAtActivityLevel(StateManagerImpl) - +Constructor for class algorithms.UpdateFuturePickupsAtActivityLevel +
  +
UpdateLatestOperationStartTimeAtActLocations - Class in algorithms
 
UpdateLatestOperationStartTimeAtActLocations(StateManagerImpl, VehicleRoutingTransportCosts) - +Constructor for class algorithms.UpdateLatestOperationStartTimeAtActLocations +
  +
UpdateLoadAtActivityLevel - Class in algorithms
Updates load at activity level.
UpdateLoadAtActivityLevel(StateManagerImpl) - +Constructor for class algorithms.UpdateLoadAtActivityLevel +
Updates load at activity level. +
UpdateLoadAtAllLevels - Class in algorithms
 
UpdateLoadAtAllLevels(StateManagerImpl) - +Constructor for class algorithms.UpdateLoadAtAllLevels +
  +
UpdateLoadAtRouteLevel - Class in algorithms
Updates load at route level, i.e.
UpdateLoadAtRouteLevel(StateManagerImpl) - +Constructor for class algorithms.UpdateLoadAtRouteLevel +
Updates load at route level, i.e. +
UpdateLoadsAtStartAndEndOfRouteWhenJobHasBeenInserted - Class in algorithms
Updates loads at start and end of a route if a job has been inserted in that route.
UpdateLoadsAtStartAndEndOfRouteWhenJobHasBeenInserted(StateManagerImpl) - +Constructor for class algorithms.UpdateLoadsAtStartAndEndOfRouteWhenJobHasBeenInserted +
Updates loads at start and end of a route if a job has been inserted in that route. +
UpdateOccuredDeliveriesAtActivityLevel - Class in algorithms
 
UpdateOccuredDeliveriesAtActivityLevel(StateManagerImpl) - +Constructor for class algorithms.UpdateOccuredDeliveriesAtActivityLevel +
  +
util - package util
 
+
+ + + + + + + + + + + + + + + +
+ +
+ + + +A B C D E F G H I J L M N P R S T U V W
+ + + diff --git a/doc/index-files/index-19.html b/doc/index-files/index-19.html new file mode 100644 index 00000000..6904fbe6 --- /dev/null +++ b/doc/index-files/index-19.html @@ -0,0 +1,264 @@ + + + + + + +V-Index + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +A B C D E F G H I J L M N P R S T U V W
+

+V

+
+
valueOf(String) - +Static method in enum basics.algo.VehicleRoutingAlgorithmListeners.Priority +
Returns the enum constant of this type with the specified name. +
valueOf(String) - +Static method in enum basics.VehicleRoutingProblem.Constraint +
Returns the enum constant of this type with the specified name. +
valueOf(String) - +Static method in enum basics.VehicleRoutingProblem.FleetComposition +
Returns the enum constant of this type with the specified name. +
valueOf(String) - +Static method in enum basics.VehicleRoutingProblem.FleetSize +
Returns the enum constant of this type with the specified name. +
values() - +Static method in enum basics.algo.VehicleRoutingAlgorithmListeners.Priority +
Returns an array containing the constants of this enum type, in +the order they are declared. +
values() - +Static method in enum basics.VehicleRoutingProblem.Constraint +
Returns an array containing the constants of this enum type, in +the order they are declared. +
values() - +Static method in enum basics.VehicleRoutingProblem.FleetComposition +
Returns an array containing the constants of this enum type, in +the order they are declared. +
values() - +Static method in enum basics.VehicleRoutingProblem.FleetSize +
Returns an array containing the constants of this enum type, in +the order they are declared. +
VariationCoefficientBreaker - Class in basics.algo
 
VariationCoefficientBreaker(int, double) - +Constructor for class basics.algo.VariationCoefficientBreaker +
  +
Vehicle - Interface in basics.route
 
VehicleFleetManager - Interface in algorithms
 
VehicleFleetManagerFactory - Interface in algorithms
 
VehicleImpl - Class in basics.route
 
VehicleImpl.Builder - Class in basics.route
 
VehicleImpl.NoVehicle - Class in basics.route
 
VehicleImpl.NoVehicle() - +Constructor for class basics.route.VehicleImpl.NoVehicle +
  +
VehicleRoute - Class in basics.route
 
VehicleRoute.Builder - Class in basics.route
 
VehicleRouteCostCalculator - Interface in basics.route
 
VehicleRoutingActivityCosts - Interface in basics.costs
Interface for overall routing and operation costs.
VehicleRoutingActivityCosts.Parameter - Interface in basics.costs
 
VehicleRoutingActivityCosts.Time - Class in basics.costs
 
VehicleRoutingActivityCosts.Time() - +Constructor for class basics.costs.VehicleRoutingActivityCosts.Time +
  +
VehicleRoutingAlgorithm - Class in basics
Algorithm that solves a VehicleRoutingProblem.
VehicleRoutingAlgorithm(VehicleRoutingProblem, SearchStrategyManager) - +Constructor for class basics.VehicleRoutingAlgorithm +
  +
VehicleRoutingAlgorithm(VehicleRoutingProblem, Collection<VehicleRoutingProblemSolution>, SearchStrategyManager) - +Constructor for class basics.VehicleRoutingAlgorithm +
  +
VehicleRoutingAlgorithmFactory - Interface in basics.algo
 
VehicleRoutingAlgorithmListener - Interface in basics.algo
 
VehicleRoutingAlgorithmListeners - Class in basics.algo
 
VehicleRoutingAlgorithmListeners() - +Constructor for class basics.algo.VehicleRoutingAlgorithmListeners +
  +
VehicleRoutingAlgorithmListeners.PrioritizedVRAListener - Class in basics.algo
 
VehicleRoutingAlgorithmListeners.PrioritizedVRAListener(VehicleRoutingAlgorithmListeners.Priority, VehicleRoutingAlgorithmListener) - +Constructor for class basics.algo.VehicleRoutingAlgorithmListeners.PrioritizedVRAListener +
  +
VehicleRoutingAlgorithmListeners.Priority - Enum in basics.algo
 
VehicleRoutingAlgorithms - Class in algorithms
 
VehicleRoutingProblem - Class in basics
Contains and describes the vehicle routing problem.
VehicleRoutingProblem.Builder - Class in basics
Builder to build the routing-problem.
VehicleRoutingProblem.Builder() - +Constructor for class basics.VehicleRoutingProblem.Builder +
  +
VehicleRoutingProblem.Constraint - Enum in basics
Overall problem constraints.
VehicleRoutingProblem.FleetComposition - Enum in basics
Enum that characterizes fleet-compostion.
VehicleRoutingProblem.FleetSize - Enum in basics
Enum that characterizes the fleet-size.
VehicleRoutingProblemSolution - Class in basics
Contains the solution of a vehicle routing problem and its corresponding costs.
VehicleRoutingProblemSolution(Collection<VehicleRoute>, double) - +Constructor for class basics.VehicleRoutingProblemSolution +
Constructs a solution with a number of VehicleRoutes and their corresponding aggregate cost value. +
VehicleRoutingTransportCosts - Interface in basics.costs
Interface for transportCost and transportTime.
VehicleRoutingTransportCostsMatrix - Class in util
CostMatrix that allows pre-compiled time and distance-matrices to be considered as VehicleRoutingRoutingCosts + in the VehicleRoutingProblem.
VehicleRoutingTransportCostsMatrix.Builder - Class in util
Builder that builds the matrix.
VehicleType - Interface in basics.route
 
VehicleTypeImpl - Class in basics.route
 
VehicleTypeImpl(String, int, VehicleTypeImpl.VehicleCostParams) - +Constructor for class basics.route.VehicleTypeImpl +
  +
VehicleTypeImpl.Builder - Class in basics.route
 
VehicleTypeImpl.Builder(String, int) - +Constructor for class basics.route.VehicleTypeImpl.Builder +
  +
VehicleTypeImpl.VehicleCostParams - Class in basics.route
 
verify(VehicleRoutingProblem, VehicleRoutingAlgorithm) - +Method in class util.VrpVerifier +
  +
visit(TourActivity) - +Method in interface algorithms.ActivityVisitor +
  +
visit(TourActivity) - +Method in interface algorithms.ReverseActivityVisitor +
  +
visit(VehicleRoute) - +Method in class algorithms.ReverseRouteActivityVisitor +
  +
visit(VehicleRoute) - +Method in class algorithms.RouteActivityVisitor +
  +
visit(VehicleRoute) - +Method in interface algorithms.RouteVisitor +
  +
visit(TourActivity) - +Method in class algorithms.UpdateActivityTimes +
  +
visit(TourActivity) - +Method in class algorithms.UpdateCostsAtAllLevels +
  +
visit(TourActivity) - +Method in class algorithms.UpdateEarliestStartTimeWindowAtActLocations +
  +
visit(TourActivity) - +Method in class algorithms.UpdateFuturePickupsAtActivityLevel +
  +
visit(TourActivity) - +Method in class algorithms.UpdateLatestOperationStartTimeAtActLocations +
  +
visit(TourActivity) - +Method in class algorithms.UpdateLoadAtActivityLevel +
  +
visit(TourActivity) - +Method in class algorithms.UpdateLoadAtAllLevels +
  +
visit(TourActivity) - +Method in class algorithms.UpdateOccuredDeliveriesAtActivityLevel +
  +
vrp - +Variable in class util.BenchmarkInstance +
  +
VrpVerifier - Class in util
 
VrpVerifier() - +Constructor for class util.VrpVerifier +
  +
VrpXMLReader - Class in basics.io
 
VrpXMLReader(VehicleRoutingProblem.Builder, Collection<VehicleRoutingProblemSolution>) - +Constructor for class basics.io.VrpXMLReader +
  +
VrpXMLReader(VehicleRoutingProblem.Builder) - +Constructor for class basics.io.VrpXMLReader +
  +
VrpXMLReader.ServiceBuilderFactory - Interface in basics.io
 
VrpXMLWriter - Class in basics.io
 
VrpXMLWriter(VehicleRoutingProblem, Collection<VehicleRoutingProblemSolution>) - +Constructor for class basics.io.VrpXMLWriter +
  +
VrpXMLWriter(VehicleRoutingProblem) - +Constructor for class basics.io.VrpXMLWriter +
  +
+
+ + + + + + + + + + + + + + + +
+ +
+ + + +A B C D E F G H I J L M N P R S T U V W
+ + + diff --git a/doc/index-files/index-2.html b/doc/index-files/index-2.html new file mode 100644 index 00000000..0d2aaa39 --- /dev/null +++ b/doc/index-files/index-2.html @@ -0,0 +1,223 @@ + + + + + + +B-Index + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +A B C D E F G H I J L M N P R S T U V W
+

+B

+
+
BackwardTransportCost - Interface in basics.costs
 
BackwardTransportTime - Interface in basics.costs
 
basics.costs - package basics.costs
 
begin(VehicleRoute) - +Method in interface algorithms.ActivityVisitor +
  +
begin(VehicleRoute) - +Method in interface algorithms.ReverseActivityVisitor +
  +
begin(VehicleRoute) - +Method in class algorithms.UpdateActivityTimes +
  +
begin(VehicleRoute) - +Method in class algorithms.UpdateCostsAtAllLevels +
  +
begin(VehicleRoute) - +Method in class algorithms.UpdateEarliestStartTimeWindowAtActLocations +
  +
begin(VehicleRoute) - +Method in class algorithms.UpdateFuturePickupsAtActivityLevel +
  +
begin(VehicleRoute) - +Method in class algorithms.UpdateLatestOperationStartTimeAtActLocations +
  +
begin(VehicleRoute) - +Method in class algorithms.UpdateLoadAtActivityLevel +
  +
begin(VehicleRoute) - +Method in class algorithms.UpdateLoadAtAllLevels +
  +
begin(VehicleRoute) - +Method in class algorithms.UpdateOccuredDeliveriesAtActivityLevel +
  +
BenchmarkInstance - Class in util
 
BenchmarkInstance(String, VehicleRoutingProblem, Double, Double) - +Constructor for class util.BenchmarkInstance +
  +
BenchmarkResult - Class in util
 
BenchmarkResult(BenchmarkInstance, int, double[], double[], double[]) - +Constructor for class util.BenchmarkResult +
  +
BestInsertionBuilder - Class in algorithms
 
BestInsertionBuilder(VehicleRoutingProblem, StateManager) - +Constructor for class algorithms.BestInsertionBuilder +
  +
BestInsertionInitialSolutionFactory - Class in algorithms
 
BestInsertionInitialSolutionFactory(InsertionStrategy) - +Constructor for class algorithms.BestInsertionInitialSolutionFactory +
  +
bestKnownResult - +Variable in class util.BenchmarkInstance +
  +
bestKnownVehicles - +Variable in class util.BenchmarkInstance +
  +
bestOf(Collection<VehicleRoutingProblemSolution>) - +Static method in class util.Solutions +
  +
build() - +Method in class algorithms.BestInsertionBuilder +
  +
build() - +Method in interface algorithms.InsertionStrategyBuilder +
  +
build() - +Method in class basics.Delivery.Builder +
  +
build() - +Method in class basics.Pickup.Builder +
  +
build() - +Method in class basics.route.VehicleImpl.Builder +
  +
build() - +Method in class basics.route.VehicleRoute.Builder +
  +
build() - +Method in class basics.route.VehicleTypeImpl.Builder +
  +
build() - +Method in class basics.Service.Builder +
  +
build() - +Method in class basics.VehicleRoutingProblem.Builder +
Builds the VehicleRoutingProblem. +
build() - +Method in class util.VehicleRoutingTransportCostsMatrix.Builder +
Builds the matrix. +
+
+ + + + + + + + + + + + + + + +
+ +
+ + + +A B C D E F G H I J L M N P R S T U V W
+ + + diff --git a/doc/index-files/index-20.html b/doc/index-files/index-20.html new file mode 100644 index 00000000..087aa8f4 --- /dev/null +++ b/doc/index-files/index-20.html @@ -0,0 +1,145 @@ + + + + + + +W-Index + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +A B C D E F G H I J L M N P R S T U V W
+

+W

+
+
write(String) - +Method in class basics.io.VrpXMLWriter +
  +
+
+ + + + + + + + + + + + + + + +
+ +
+ + + +A B C D E F G H I J L M N P R S T U V W
+ + + diff --git a/doc/index-files/index-3.html b/doc/index-files/index-3.html new file mode 100644 index 00000000..777b0788 --- /dev/null +++ b/doc/index-files/index-3.html @@ -0,0 +1,250 @@ + + + + + + +C-Index + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +A B C D E F G H I J L M N P R S T U V W
+

+C

+
+
calculateDistance(Coordinate, Coordinate) - +Static method in class util.EuclideanDistanceCalculator +
  +
calculateDistance(Coordinate, Coordinate) - +Static method in class util.ManhattanDistanceCalculator +
  +
CalculationUtils - Class in algorithms
 
CalculationUtils() - +Constructor for class algorithms.CalculationUtils +
  +
capacityDemand - +Variable in class basics.route.ServiceActivity +
  +
clear() - +Method in class algorithms.StateManagerImpl +
  +
ConstraintManager - Class in algorithms
 
ConstraintManager() - +Constructor for class algorithms.ConstraintManager +
  +
Coordinate - Class in util
 
Coordinate(double, double) - +Constructor for class util.Coordinate +
  +
copyOf(End) - +Static method in class basics.route.End +
  +
copyOf(ServiceActivity) - +Static method in class basics.route.ServiceActivity +
  +
copyOf(Start) - +Static method in class basics.route.Start +
  +
copyOf(TourActivities) - +Static method in class basics.route.TourActivities +
  +
copyOf(VehicleRoute) - +Static method in class basics.route.VehicleRoute +
  +
copyOf(VehicleRoutingProblemSolution) - +Static method in class basics.VehicleRoutingProblemSolution +
Makes a deep copy of the solution to be copied. +
counter - +Static variable in class basics.route.ServiceActivity +
  +
Counter - Class in util
Counter which is a copy of Counter.java at package org.matsim.core.utils.misc (www.matsim.org);
Counter(String) - +Constructor for class util.Counter +
  +
createActivity(Service) - +Method in class basics.route.DefaultTourActivityFactory +
  +
createActivity(Service) - +Method in interface basics.route.TourActivityFactory +
  +
createAlgorithm(VehicleRoutingProblem) - +Method in class algorithms.GreedySchrimpfFactory +
Creates the VehicleRoutingAlgorithm. +
createAlgorithm(VehicleRoutingProblem) - +Method in class algorithms.SchrimpfFactory +
Creates the VehicleRoutingAlgorithm. +
createAlgorithm(VehicleRoutingProblem, AlgorithmConfig) - +Static method in class algorithms.VehicleRoutingAlgorithms +
Creates a VehicleRoutingAlgorithm from a AlgorithConfig based on the input vrp. +
createAlgorithm(VehicleRoutingProblem) - +Method in interface basics.algo.VehicleRoutingAlgorithmFactory +
  +
createBuilder(String, String, int) - +Method in interface basics.io.VrpXMLReader.ServiceBuilderFactory +
  +
createFleetManager() - +Method in class algorithms.FiniteFleetManagerFactory +
  +
createFleetManager() - +Method in class algorithms.InfiniteFleetManagerFactory +
  +
createFleetManager() - +Method in interface algorithms.VehicleFleetManagerFactory +
  +
createId(String) - +Static method in class algorithms.StateIdFactory +
  +
createLocation(double, double) - +Method in class basics.VehicleRoutingProblem.Builder +
Create a location (i.e. +
createNoVehicle() - +Static method in class basics.route.VehicleImpl +
  +
createSolution(VehicleRoutingProblem) - +Method in class algorithms.BestInsertionInitialSolutionFactory +
  +
createSolution(VehicleRoutingProblem) - +Method in interface algorithms.InitialSolutionFactory +
  +
createStrategy(VehicleRoutingProblem) - +Method in class algorithms.RadialRuinStrategyFactory +
  +
createStrategy(VehicleRoutingProblem) - +Method in class algorithms.RandomRuinStrategyFactory +
  +
createStrategy(VehicleRoutingProblem) - +Method in interface algorithms.RuinStrategyFactory +
  +
creation - +Static variable in class basics.route.End +
  +
creation - +Static variable in class basics.route.Start +
  +
CrowFlyCosts - Class in util
 
CrowFlyCosts(Locations) - +Constructor for class util.CrowFlyCosts +
  +
+
+ + + + + + + + + + + + + + + +
+ +
+ + + +A B C D E F G H I J L M N P R S T U V W
+ + + diff --git a/doc/index-files/index-4.html b/doc/index-files/index-4.html new file mode 100644 index 00000000..4f674b26 --- /dev/null +++ b/doc/index-files/index-4.html @@ -0,0 +1,184 @@ + + + + + + +D-Index + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +A B C D E F G H I J L M N P R S T U V W
+

+D

+
+
DefaultTourActivityFactory - Class in basics.route
 
DefaultTourActivityFactory() - +Constructor for class basics.route.DefaultTourActivityFactory +
  +
DefaultVehicleRouteCostCalculator - Class in basics.route
 
DefaultVehicleRouteCostCalculator() - +Constructor for class basics.route.DefaultVehicleRouteCostCalculator +
  +
DefaultVehicleRoutingActivityCosts - Class in basics.costs
Function that basically does not allow soft time-windows.
DefaultVehicleRoutingActivityCosts() - +Constructor for class basics.costs.DefaultVehicleRoutingActivityCosts +
  +
Delivery - Class in basics
 
Delivery.Builder - Class in basics
 
DeliveryActivity - Class in basics.route
 
DeliveryActivity(Delivery) - +Constructor for class basics.route.DeliveryActivity +
  +
detourFactor - +Variable in class util.CrowFlyCosts +
  +
Driver - Interface in basics.route
 
DriverImpl - Class in basics.route
 
DriverImpl.NoDriver - Class in basics.route
 
DriverImpl.NoDriver() - +Constructor for class basics.route.DriverImpl.NoDriver +
  +
duplicate() - +Method in class basics.route.DefaultVehicleRouteCostCalculator +
  +
duplicate() - +Method in class basics.route.DeliveryActivity +
  +
duplicate() - +Method in class basics.route.End +
  +
duplicate() - +Method in class basics.route.PickupActivity +
  +
duplicate() - +Method in class basics.route.ServiceActivity +
  +
duplicate() - +Method in class basics.route.Start +
  +
duplicate() - +Method in interface basics.route.TourActivity +
  +
duplicate() - +Method in interface basics.route.VehicleRouteCostCalculator +
  +
+
+ + + + + + + + + + + + + + + +
+ +
+ + + +A B C D E F G H I J L M N P R S T U V W
+ + + diff --git a/doc/index-files/index-5.html b/doc/index-files/index-5.html new file mode 100644 index 00000000..c46bd780 --- /dev/null +++ b/doc/index-files/index-5.html @@ -0,0 +1,175 @@ + + + + + + +E-Index + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +A B C D E F G H I J L M N P R S T U V W
+

+E

+
+
emptyRoute() - +Static method in class basics.route.VehicleRoute +
  +
emptyTour() - +Static method in class basics.route.TourActivities +
  +
End - Class in basics.route
 
End(String, double, double) - +Constructor for class basics.route.End +
  +
End(End) - +Constructor for class basics.route.End +
  +
endTime - +Variable in class basics.route.ServiceActivity +
  +
equals(Object) - +Method in class basics.route.ServiceActivity +
  +
equals(Object) - +Method in class basics.route.TimeWindow +
  +
equals(Object) - +Method in class basics.route.VehicleTypeImpl +
  +
equals(Object) - +Method in class basics.Service +
  +
equals(Object) - +Method in class util.Coordinate +
  +
EuclideanDistanceCalculator - Class in util
 
EuclideanDistanceCalculator() - +Constructor for class util.EuclideanDistanceCalculator +
  +
+
+ + + + + + + + + + + + + + + +
+ +
+ + + +A B C D E F G H I J L M N P R S T U V W
+ + + diff --git a/doc/index-files/index-6.html b/doc/index-files/index-6.html new file mode 100644 index 00000000..95bc1de5 --- /dev/null +++ b/doc/index-files/index-6.html @@ -0,0 +1,211 @@ + + + + + + +F-Index + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +A B C D E F G H I J L M N P R S T U V W
+

+F

+
+
finish() - +Method in interface algorithms.ActivityVisitor +
  +
finish() - +Method in interface algorithms.ReverseActivityVisitor +
  +
finish() - +Method in class algorithms.UpdateActivityTimes +
  +
finish() - +Method in class algorithms.UpdateCostsAtAllLevels +
  +
finish() - +Method in class algorithms.UpdateEarliestStartTimeWindowAtActLocations +
  +
finish() - +Method in class algorithms.UpdateFuturePickupsAtActivityLevel +
  +
finish() - +Method in class algorithms.UpdateLatestOperationStartTimeAtActLocations +
  +
finish() - +Method in class algorithms.UpdateLoadAtActivityLevel +
  +
finish() - +Method in class algorithms.UpdateLoadAtAllLevels +
  +
finish() - +Method in class algorithms.UpdateOccuredDeliveriesAtActivityLevel +
  +
finish() - +Method in class basics.route.DefaultVehicleRouteCostCalculator +
  +
finish() - +Method in interface basics.route.VehicleRouteCostCalculator +
  +
FiniteFleetManagerFactory - Class in algorithms
 
FiniteFleetManagerFactory(Collection<Vehicle>) - +Constructor for class algorithms.FiniteFleetManagerFactory +
  +
fix - +Variable in class basics.route.VehicleTypeImpl.VehicleCostParams +
  +
ForwardTransportCost - Interface in basics.costs
 
ForwardTransportTime - Interface in basics.costs
 
fulfilled(InsertionContext) - +Method in class algorithms.ConstraintManager +
  +
fulfilled(InsertionContext, TourActivity, TourActivity, TourActivity, double) - +Method in class algorithms.ConstraintManager +
  +
fulfilled(InsertionContext, TourActivity, TourActivity, TourActivity, double) - +Method in interface algorithms.HardActivityLevelConstraint +
  +
fulfilled(InsertionContext) - +Method in class algorithms.HardLoadConstraint +
  +
fulfilled(InsertionContext, TourActivity, TourActivity, TourActivity, double) - +Method in class algorithms.HardPickupAndDeliveryActivityLevelConstraint +
  +
fulfilled(InsertionContext, TourActivity, TourActivity, TourActivity, double) - +Method in class algorithms.HardPickupAndDeliveryBackhaulActivityLevelConstraint +
  +
fulfilled(InsertionContext) - +Method in class algorithms.HardPickupAndDeliveryLoadConstraint +
  +
fulfilled(InsertionContext) - +Method in interface algorithms.HardRouteLevelConstraint +
  +
fulfilled(InsertionContext, TourActivity, TourActivity, TourActivity, double) - +Method in class algorithms.HardTimeWindowActivityLevelConstraint +
  +
+
+ + + + + + + + + + + + + + + +
+ +
+ + + +A B C D E F G H I J L M N P R S T U V W
+ + + diff --git a/doc/index-files/index-7.html b/doc/index-files/index-7.html new file mode 100644 index 00000000..2c49ede6 --- /dev/null +++ b/doc/index-files/index-7.html @@ -0,0 +1,757 @@ + + + + + + +G-Index + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +A B C D E F G H I J L M N P R S T U V W
+

+G

+
+
getActCosts() - +Method in class basics.route.DefaultVehicleRouteCostCalculator +
  +
getActivities() - +Method in class basics.route.TourActivities +
  +
getActivityCost(TourActivity, double, Driver, Vehicle) - +Method in class basics.costs.DefaultVehicleRoutingActivityCosts +
  +
getActivityCost(TourActivity, double, Driver, Vehicle) - +Method in interface basics.costs.VehicleRoutingActivityCosts +
Calculates and returns the activity cost at tourAct. +
getActivityCosts() - +Method in class basics.VehicleRoutingProblem +
Returns activityCosts. +
getActivityEndTime(double, TourActivity) - +Static method in class algorithms.CalculationUtils +
Calculates actEndTime assuming that activity can at earliest start at act.getTheoreticalEarliestOperationStartTime(). +
getActivityState(TourActivity, StateManager.StateId) - +Method in interface algorithms.StateManager +
  +
getActivityState(TourActivity, StateManager.StateId) - +Method in class algorithms.StateManagerImpl +
  +
getAddedServices() - +Method in class basics.VehicleRoutingProblem.Builder +
Gets an unmodifiable collection of already added services. +
getAddedVehicles() - +Method in class basics.VehicleRoutingProblem.Builder +
Gets an unmodifiable collection of already added vehicles. +
getAlgorithmListeners() - +Method in class basics.algo.VehicleRoutingAlgorithmListeners +
  +
getAlgorithmListeners() - +Method in class basics.VehicleRoutingAlgorithm +
  +
getArrTime() - +Method in class basics.route.DeliveryActivity +
  +
getArrTime() - +Method in class basics.route.End +
  +
getArrTime() - +Method in class basics.route.PickupActivity +
  +
getArrTime() - +Method in class basics.route.ServiceActivity +
  +
getArrTime() - +Method in class basics.route.Start +
  +
getArrTime() - +Method in interface basics.route.TourActivity +
  +
getAsInputStream(String) - +Static method in class util.Resource +
  +
getAsURL(String) - +Static method in class util.Resource +
Returns URL from the relative path of a resource. +
getAvailableVehicles() - +Method in interface algorithms.VehicleFleetManager +
  +
getAvailableVehicles(String, String) - +Method in interface algorithms.VehicleFleetManager +
  +
getBackwardTransportCost(String, String, double, Driver, Vehicle) - +Method in interface basics.costs.BackwardTransportCost +
  +
getBackwardTransportCost(String, String, double, Driver, Vehicle) - +Method in class util.CrowFlyCosts +
  +
getBackwardTransportCost(String, String, double, Driver, Vehicle) - +Method in class util.ManhattanCosts +
  +
getBackwardTransportCost(String, String, double, Driver, Vehicle) - +Method in class util.VehicleRoutingTransportCostsMatrix +
  +
getBackwardTransportTime(String, String, double, Driver, Vehicle) - +Method in interface basics.costs.BackwardTransportTime +
  +
getBackwardTransportTime(String, String, double, Driver, Vehicle) - +Method in class util.CrowFlyCosts +
  +
getBackwardTransportTime(String, String, double, Driver, Vehicle) - +Method in class util.ManhattanCosts +
  +
getBackwardTransportTime(String, String, double, Driver, Vehicle) - +Method in class util.VehicleRoutingTransportCostsMatrix +
  +
getBest(Collection<VehicleRoutingProblemSolution>) - +Static method in class util.Solutions +
Deprecated.  +
getCapacity() - +Method in class basics.route.PenaltyVehicleType +
  +
getCapacity() - +Method in interface basics.route.Vehicle +
  +
getCapacity() - +Method in class basics.route.VehicleImpl +
  +
getCapacity() - +Method in class basics.route.VehicleImpl.NoVehicle +
  +
getCapacity() - +Method in interface basics.route.VehicleType +
  +
getCapacity() - +Method in class basics.route.VehicleTypeImpl +
  +
getCapacityDemand() - +Method in interface basics.Job +
  +
getCapacityDemand() - +Method in class basics.route.DeliveryActivity +
  +
getCapacityDemand() - +Method in class basics.route.End +
  +
getCapacityDemand() - +Method in class basics.route.PickupActivity +
  +
getCapacityDemand() - +Method in class basics.route.ServiceActivity +
  +
getCapacityDemand() - +Method in class basics.route.Start +
  +
getCapacityDemand() - +Method in interface basics.route.TourActivity +
  +
getCapacityDemand() - +Method in class basics.Service +
  +
getCompTimeInSeconds() - +Method in class util.StopWatch +
  +
getCompTimes() - +Method in class util.BenchmarkResult +
  +
getCoord() - +Method in interface basics.route.Vehicle +
  +
getCoord() - +Method in class basics.route.VehicleImpl +
  +
getCoord() - +Method in class basics.Service +
  +
getCoord(String) - +Method in interface util.Locations +
  +
getCoordinate() - +Method in class basics.route.End +
  +
getCoordinate() - +Method in class basics.route.Start +
  +
getCost() - +Method in class basics.route.VehicleRoute +
  +
getCost() - +Method in class basics.VehicleRoutingProblemSolution +
  +
getCosts() - +Method in class basics.route.DefaultVehicleRouteCostCalculator +
  +
getCosts() - +Method in interface basics.route.VehicleRouteCostCalculator +
  +
getCounter() - +Method in class util.Counter +
  +
getCurrTimeInSeconds() - +Method in class util.StopWatch +
  +
getDepartureTime() - +Method in class basics.route.VehicleRoute +
  +
getDistance(Job, Job) - +Method in interface algorithms.JobDistance +
  +
getDriver() - +Method in class basics.route.VehicleRoute +
  +
getDriverCosts() - +Method in class basics.route.DefaultVehicleRouteCostCalculator +
  +
getEarliestDeparture() - +Method in interface basics.route.Vehicle +
  +
getEarliestDeparture() - +Method in class basics.route.VehicleImpl +
  +
getEarliestStart() - +Method in class basics.route.DriverImpl +
  +
getEnd() - +Method in class basics.route.TimeWindow +
  +
getEnd() - +Method in class basics.route.VehicleRoute +
  +
getEndTime() - +Method in class basics.route.DeliveryActivity +
  +
getEndTime() - +Method in class basics.route.End +
  +
getEndTime() - +Method in class basics.route.PickupActivity +
  +
getEndTime() - +Method in class basics.route.ServiceActivity +
  +
getEndTime() - +Method in class basics.route.Start +
  +
getEndTime() - +Method in interface basics.route.TourActivity +
  +
getFleetComposition() - +Method in class basics.VehicleRoutingProblem +
Returns fleet-composition. +
getFleetSize() - +Method in class basics.VehicleRoutingProblem +
Returns type of fleetSize, either INFINITE or FINITE. +
getHomeLocation() - +Method in class basics.route.DriverImpl +
  +
getId() - +Method in interface basics.Job +
  +
getId() - +Method in interface basics.route.Driver +
  +
getId() - +Method in class basics.route.DriverImpl +
  +
getId() - +Method in interface basics.route.Vehicle +
  +
getId() - +Method in class basics.route.VehicleImpl +
  +
getId() - +Method in class basics.Service +
  +
getInstance() - +Static method in class algorithms.selectors.SelectBest +
  +
getInstance() - +Static method in class algorithms.selectors.SelectRandomly +
  +
getJob() - +Method in class algorithms.InsertionContext +
  +
getJob() - +Method in class basics.route.DeliveryActivity +
  +
getJob() - +Method in class basics.route.PickupActivity +
  +
getJob() - +Method in class basics.route.ServiceActivity +
  +
getJob() - +Method in interface basics.route.TourActivity.JobActivity +
  +
getJobs() - +Method in class basics.route.TourActivities +
  +
getJobs() - +Method in class basics.VehicleRoutingProblem +
Returns the unmodifiable job map. +
getLatestArrival() - +Method in interface basics.route.Vehicle +
  +
getLatestArrival() - +Method in class basics.route.VehicleImpl +
  +
getLatestEnd() - +Method in class basics.route.DriverImpl +
  +
getListener() - +Method in class basics.algo.VehicleRoutingAlgorithmListeners.PrioritizedVRAListener +
  +
getListeners() - +Method in interface algorithms.InsertionStrategy +
  +
getListeners() - +Method in interface algorithms.RuinStrategy +
  +
getListeners() - +Method in class basics.algo.RuinListeners +
  +
getLocationId() - +Method in class basics.route.DeliveryActivity +
  +
getLocationId() - +Method in class basics.route.End +
  +
getLocationId() - +Method in class basics.route.PickupActivity +
  +
getLocationId() - +Method in class basics.route.ServiceActivity +
  +
getLocationId() - +Method in class basics.route.Start +
  +
getLocationId() - +Method in interface basics.route.TourActivity +
  +
getLocationId() - +Method in interface basics.route.Vehicle +
  +
getLocationId() - +Method in class basics.route.VehicleImpl +
  +
getLocationId() - +Method in class basics.Service +
  +
getLocationMap() - +Method in class basics.VehicleRoutingProblem.Builder +
Returns the unmodifiable map of locations (mapped by their id). +
getLocations() - +Method in class basics.VehicleRoutingProblem.Builder +
Returns the locations collected by this builder. +
getMaxVelocity() - +Method in class basics.route.PenaltyVehicleType +
  +
getMaxVelocity() - +Method in interface basics.route.VehicleType +
  +
getMaxVelocity() - +Method in class basics.route.VehicleTypeImpl +
  +
getName() - +Method in class algorithms.RuinAndRecreateModule +
  +
getName() - +Method in class basics.algo.SearchStrategy +
  +
getName() - +Method in interface basics.algo.SearchStrategyModule +
  +
getName() - +Method in class basics.route.DeliveryActivity +
  +
getName() - +Method in class basics.route.End +
  +
getName() - +Method in class basics.route.PickupActivity +
  +
getName() - +Method in class basics.route.ServiceActivity +
  +
getName() - +Method in class basics.route.Start +
  +
getName() - +Method in interface basics.route.TourActivity +
  +
getNeighborhood() - +Method in class basics.VehicleRoutingProblem +
  +
getNewDepTime() - +Method in class algorithms.InsertionContext +
  +
getNewDriver() - +Method in class algorithms.InsertionContext +
  +
getNewVehicle() - +Method in class algorithms.InsertionContext +
  +
getNuOfActiveRoutes(Collection<VehicleRoute>) - +Static method in class util.RouteUtils +
  +
getNuOfIterations() - +Method in class basics.VehicleRoutingAlgorithm +
Returns the number of iterations. +
getOperationTime() - +Method in class basics.route.DeliveryActivity +
  +
getOperationTime() - +Method in class basics.route.End +
  +
getOperationTime() - +Method in class basics.route.PickupActivity +
  +
getOperationTime() - +Method in class basics.route.ServiceActivity +
  +
getOperationTime() - +Method in class basics.route.Start +
  +
getOperationTime() - +Method in interface basics.route.TourActivity +
  +
getOther() - +Method in class basics.route.DefaultVehicleRouteCostCalculator +
  +
getPenaltyForMissedTimeWindow() - +Method in interface basics.costs.VehicleRoutingActivityCosts.Parameter +
  +
getPriority() - +Method in class basics.algo.VehicleRoutingAlgorithmListeners.PrioritizedVRAListener +
  +
getProbabilities() - +Method in class basics.algo.SearchStrategyManager +
  +
getProblemConstraints() - +Method in class basics.VehicleRoutingProblem +
Returns unmodifiable collection of problem-constraints. +
getRandom() - +Static method in class util.RandomNumberGeneration +
  +
getRandomStrategy() - +Method in class basics.algo.SearchStrategyManager +
  +
getResults() - +Method in class util.BenchmarkResult +
  +
getResultStats() - +Method in class util.BenchmarkResult +
  +
getRoute() - +Method in class algorithms.InsertionContext +
  +
getRoutes() - +Method in class basics.VehicleRoutingProblemSolution +
  +
getRouteState(VehicleRoute, StateManager.StateId) - +Method in interface algorithms.StateManager +
  +
getRouteState(VehicleRoute, StateManager.StateId) - +Method in class algorithms.StateManagerImpl +
  +
getSearchStrategyManager() - +Method in class basics.VehicleRoutingAlgorithm +
Gets the SearchStrategyManager. +
getSearchStrategyModules() - +Method in class basics.algo.SearchStrategy +
  +
getServiceDuration() - +Method in class basics.Service +
  +
getSolution() - +Method in class basics.algo.SearchStrategy.DiscoveredSolution +
  +
getSolutionAcceptor() - +Method in class basics.algo.SearchStrategy +
  +
getSolutionSelector() - +Method in class basics.algo.SearchStrategy +
  +
getStart() - +Method in class basics.route.TimeWindow +
  +
getStart() - +Method in class basics.route.VehicleRoute +
  +
getStrategies() - +Method in class basics.algo.SearchStrategyManager +
  +
getStrategyName() - +Method in class basics.algo.SearchStrategy.DiscoveredSolution +
  +
getTheoreticalEarliestOperationStartTime() - +Method in class basics.route.DeliveryActivity +
  +
getTheoreticalEarliestOperationStartTime() - +Method in class basics.route.End +
  +
getTheoreticalEarliestOperationStartTime() - +Method in class basics.route.PickupActivity +
  +
getTheoreticalEarliestOperationStartTime() - +Method in class basics.route.ServiceActivity +
  +
getTheoreticalEarliestOperationStartTime() - +Method in class basics.route.Start +
  +
getTheoreticalEarliestOperationStartTime() - +Method in interface basics.route.TourActivity +
  +
getTheoreticalLatestOperationStartTime() - +Method in class basics.route.DeliveryActivity +
  +
getTheoreticalLatestOperationStartTime() - +Method in class basics.route.End +
  +
getTheoreticalLatestOperationStartTime() - +Method in class basics.route.PickupActivity +
  +
getTheoreticalLatestOperationStartTime() - +Method in class basics.route.ServiceActivity +
  +
getTheoreticalLatestOperationStartTime() - +Method in class basics.route.Start +
  +
getTheoreticalLatestOperationStartTime() - +Method in interface basics.route.TourActivity +
  +
getTimesStats() - +Method in class util.BenchmarkResult +
  +
getTimeWindow() - +Method in class basics.Service +
  +
getTotalCost(Collection<VehicleRoute>) - +Static method in class util.RouteUtils +
  +
getTotalFixCost(Collection<VehicleRoute>) - +Static method in class util.RouteUtils +
  +
getTotalServiceTime(Collection<VehicleRoute>) - +Static method in class util.RouteUtils +
  +
getTourActivities() - +Method in class basics.route.VehicleRoute +
  +
getTpCosts() - +Method in class basics.route.DefaultVehicleRouteCostCalculator +
  +
getTransportCost(String, String, double, Driver, Vehicle) - +Method in interface basics.costs.ForwardTransportCost +
  +
getTransportCost(String, String, double, Driver, Vehicle) - +Method in class util.CrowFlyCosts +
  +
getTransportCost(String, String, double, Driver, Vehicle) - +Method in class util.ManhattanCosts +
  +
getTransportCost(String, String, double, Driver, Vehicle) - +Method in class util.VehicleRoutingTransportCostsMatrix +
  +
getTransportCosts() - +Method in class basics.VehicleRoutingProblem +
Returns routing costs. +
getTransportTime(String, String, double, Driver, Vehicle) - +Method in interface basics.costs.ForwardTransportTime +
  +
getTransportTime(String, String, double, Driver, Vehicle) - +Method in class util.CrowFlyCosts +
  +
getTransportTime(String, String, double, Driver, Vehicle) - +Method in class util.ManhattanCosts +
  +
getTransportTime(String, String, double, Driver, Vehicle) - +Method in class util.VehicleRoutingTransportCostsMatrix +
  +
getType() - +Method in interface basics.route.Vehicle +
  +
getType() - +Method in class basics.route.VehicleImpl +
  +
getType() - +Method in class basics.Service +
  +
getTypeId() - +Method in class basics.route.PenaltyVehicleType +
  +
getTypeId() - +Method in interface basics.route.VehicleType +
  +
getTypeId() - +Method in class basics.route.VehicleTypeImpl +
  +
getTypes() - +Method in class basics.VehicleRoutingProblem +
Returns the entire, unmodifiable collection of types. +
getVehicle() - +Method in class basics.route.VehicleRoute +
  +
getVehicleCostParams() - +Method in class basics.route.PenaltyVehicleType +
  +
getVehicleCostParams() - +Method in interface basics.route.VehicleType +
  +
getVehicleCostParams() - +Method in class basics.route.VehicleTypeImpl +
  +
getVehicleCosts() - +Method in class basics.route.DefaultVehicleRouteCostCalculator +
  +
getVehicleRouteCostCalculator() - +Method in class basics.route.VehicleRoute +
  +
getVehicles() - +Method in class basics.VehicleRoutingProblem +
Returns the entire, unmodifiable collection of vehicles. +
getVehicles() - +Method in class util.BenchmarkResult +
  +
getVehicleStats() - +Method in class util.BenchmarkResult +
  +
getX() - +Method in class util.Coordinate +
  +
getXMLConfiguration() - +Method in class basics.io.AlgorithmConfig +
  +
getY() - +Method in class util.Coordinate +
  +
GreedySchrimpfFactory - Class in algorithms
Factory that creates the VehicleRoutingAlgorithm as proposed by Schrimpf et al., 2000 with the following parameters:
GreedySchrimpfFactory() - +Constructor for class algorithms.GreedySchrimpfFactory +
  +
+
+ + + + + + + + + + + + + + + +
+ +
+ + + +A B C D E F G H I J L M N P R S T U V W
+ + + diff --git a/doc/index-files/index-8.html b/doc/index-files/index-8.html new file mode 100644 index 00000000..cfef842e --- /dev/null +++ b/doc/index-files/index-8.html @@ -0,0 +1,175 @@ + + + + + + +H-Index + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +A B C D E F G H I J L M N P R S T U V W
+

+H

+
+
HardActivityLevelConstraint - Interface in algorithms
 
HardLoadConstraint - Class in algorithms
 
HardLoadConstraint(StateManager) - +Constructor for class algorithms.HardLoadConstraint +
  +
HardPickupAndDeliveryActivityLevelConstraint - Class in algorithms
 
HardPickupAndDeliveryActivityLevelConstraint(StateManager) - +Constructor for class algorithms.HardPickupAndDeliveryActivityLevelConstraint +
  +
HardPickupAndDeliveryBackhaulActivityLevelConstraint - Class in algorithms
 
HardPickupAndDeliveryBackhaulActivityLevelConstraint(StateManager) - +Constructor for class algorithms.HardPickupAndDeliveryBackhaulActivityLevelConstraint +
  +
HardPickupAndDeliveryLoadConstraint - Class in algorithms
lsjdfjsdlfjsa
HardPickupAndDeliveryLoadConstraint(StateManager) - +Constructor for class algorithms.HardPickupAndDeliveryLoadConstraint +
  +
HardRouteLevelConstraint - Interface in algorithms
 
HardTimeWindowActivityLevelConstraint - Class in algorithms
ljsljslfjs
HardTimeWindowActivityLevelConstraint(StateManager, VehicleRoutingTransportCosts) - +Constructor for class algorithms.HardTimeWindowActivityLevelConstraint +
  +
hashCode() - +Method in class basics.route.ServiceActivity +
  +
hashCode() - +Method in class basics.route.TimeWindow +
  +
hashCode() - +Method in class basics.route.VehicleTypeImpl +
  +
hashCode() - +Method in class basics.Service +
  +
hashCode() - +Method in class util.Coordinate +
  +
hasNext() - +Method in class basics.route.TourActivities.ReverseActivityIterator +
  +
+
+ + + + + + + + + + + + + + + +
+ +
+ + + +A B C D E F G H I J L M N P R S T U V W
+ + + diff --git a/doc/index-files/index-9.html b/doc/index-files/index-9.html new file mode 100644 index 00000000..4bf1a029 --- /dev/null +++ b/doc/index-files/index-9.html @@ -0,0 +1,298 @@ + + + + + + +I-Index + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +A B C D E F G H I J L M N P R S T U V W
+

+I

+
+
incCounter() - +Method in class util.Counter +
  +
InfiniteFleetManagerFactory - Class in algorithms
 
InfiniteFleetManagerFactory(Collection<Vehicle>) - +Constructor for class algorithms.InfiniteFleetManagerFactory +
  +
informAlgorithmEnds(VehicleRoutingProblem, Collection<VehicleRoutingProblemSolution>) - +Method in interface basics.algo.AlgorithmEndsListener +
  +
informAlgorithmStarts(VehicleRoutingProblem, VehicleRoutingAlgorithm, Collection<VehicleRoutingProblemSolution>) - +Method in class algorithms.acceptors.SchrimpfAcceptance +
  +
informAlgorithmStarts(VehicleRoutingProblem, VehicleRoutingAlgorithm, Collection<VehicleRoutingProblemSolution>) - +Method in class algorithms.NeighborhoodThresholdInitialiser +
  +
informAlgorithmStarts(VehicleRoutingProblem, VehicleRoutingAlgorithm, Collection<VehicleRoutingProblemSolution>) - +Method in interface basics.algo.AlgorithmStartsListener +
  +
informAlgorithmStarts(VehicleRoutingProblem, VehicleRoutingAlgorithm, Collection<VehicleRoutingProblemSolution>) - +Method in class basics.algo.TimeBreaker +
  +
informAlgorithmStarts(VehicleRoutingProblem, VehicleRoutingAlgorithm, Collection<VehicleRoutingProblemSolution>) - +Method in class basics.algo.VariationCoefficientBreaker +
  +
informAlgorithmStarts(VehicleRoutingProblem, VehicleRoutingAlgorithm, Collection<VehicleRoutingProblemSolution>) - +Method in class util.VrpVerifier +
  +
informInsertionEnds(Collection<VehicleRoute>) - +Method in class algorithms.RemoveEmptyVehicles +
  +
informInsertionEnds(Collection<VehicleRoute>) - +Method in class algorithms.StateManagerImpl +
  +
informInsertionEnds(Collection<VehicleRoute>) - +Method in class algorithms.UpdateCostsAtRouteLevel +
  +
informInsertionEnds(Collection<VehicleRoute>) - +Method in interface basics.algo.InsertionEndsListener +
  +
informInsertionStarts(Collection<VehicleRoute>, Collection<Job>) - +Method in class algorithms.InitializeLoadsAtStartAndEndOfRouteWhenInsertionStarts +
  +
informInsertionStarts(Collection<VehicleRoute>, Collection<Job>) - +Method in class algorithms.StateManagerImpl +
  +
informInsertionStarts(Collection<VehicleRoute>, Collection<Job>) - +Method in class algorithms.UpdateCostsAtRouteLevel +
  +
informInsertionStarts(Collection<VehicleRoute>, Collection<Job>) - +Method in class algorithms.UpdateLoadAtRouteLevel +
  +
informInsertionStarts(Collection<VehicleRoute>, Collection<Job>) - +Method in interface basics.algo.InsertionStartsListener +
  +
informIterationEnds(int, VehicleRoutingProblem, Collection<VehicleRoutingProblemSolution>) - +Method in interface basics.algo.IterationEndsListener +
  +
informIterationEnds(int, VehicleRoutingProblem, Collection<VehicleRoutingProblemSolution>) - +Method in class basics.algo.VariationCoefficientBreaker +
  +
informIterationStarts(int, VehicleRoutingProblem, Collection<VehicleRoutingProblemSolution>) - +Method in class algorithms.acceptors.SchrimpfAcceptance +
  +
informIterationStarts(int, VehicleRoutingProblem, Collection<VehicleRoutingProblemSolution>) - +Method in class algorithms.StateManagerImpl +
  +
informIterationStarts(int, VehicleRoutingProblem, Collection<VehicleRoutingProblemSolution>) - +Method in interface basics.algo.IterationStartsListener +
  +
informIterationStarts(int, VehicleRoutingProblem, Collection<VehicleRoutingProblemSolution>) - +Method in class basics.algo.VariationCoefficientBreaker +
  +
informJobInserted(Job, VehicleRoute, double, double) - +Method in class algorithms.StateManagerImpl +
  +
informJobInserted(Job, VehicleRoute, double, double) - +Method in class algorithms.StateUpdates.UpdateStates +
  +
informJobInserted(Job, VehicleRoute, double, double) - +Method in class algorithms.UpdateCostsAtRouteLevel +
  +
informJobInserted(Job, VehicleRoute, double, double) - +Method in class algorithms.UpdateLoadAtRouteLevel +
  +
informJobInserted(Job, VehicleRoute, double, double) - +Method in class algorithms.UpdateLoadsAtStartAndEndOfRouteWhenJobHasBeenInserted +
  +
informJobInserted(Job, VehicleRoute, double, double) - +Method in interface basics.algo.JobInsertedListener +
  +
informSelectedStrategy(String, VehicleRoutingProblem, Collection<VehicleRoutingProblemSolution>) - +Method in interface basics.algo.StrategySelectedListener +
  +
initialise(VehicleRoutingProblem) - +Method in class algorithms.NeighborhoodThresholdInitialiser +
  +
initialise() - +Method in class util.NeighborhoodImpl +
  +
InitializeLoadsAtStartAndEndOfRouteWhenInsertionStarts - Class in algorithms
Initializes the load of each route/vehicle at start- and end-location before insertion starts.
InitializeLoadsAtStartAndEndOfRouteWhenInsertionStarts(StateManagerImpl) - +Constructor for class algorithms.InitializeLoadsAtStartAndEndOfRouteWhenInsertionStarts +
Initializes the load of each route/vehicle at start- and end-location before insertion starts. +
InitialSolutionFactory - Interface in algorithms
 
InsertionContext - Class in algorithms
 
InsertionContext(VehicleRoute, Job, Vehicle, Driver, double) - +Constructor for class algorithms.InsertionContext +
  +
insertionEnds(Collection<VehicleRoute>) - +Method in class basics.algo.InsertionListeners +
  +
InsertionEndsListener - Interface in basics.algo
 
InsertionListener - Interface in basics.algo
 
InsertionListeners - Class in basics.algo
 
InsertionListeners() - +Constructor for class basics.algo.InsertionListeners +
  +
insertionStarts(Collection<VehicleRoute>, Collection<Job>) - +Method in class basics.algo.InsertionListeners +
  +
InsertionStartsListener - Interface in basics.algo
 
InsertionStrategy - Interface in algorithms
 
InsertionStrategyBuilder - Interface in algorithms
 
insertJobs(Collection<VehicleRoute>, Collection<Job>) - +Method in interface algorithms.InsertionStrategy +
Assigns the unassigned jobs to service-providers +
instance - +Variable in class util.BenchmarkResult +
  +
isAccepted() - +Method in class basics.algo.SearchStrategy.DiscoveredSolution +
  +
isEmpty() - +Method in class basics.route.TourActivities +
  +
isEmpty() - +Method in class basics.route.VehicleRoute +
  +
isLocked(Vehicle) - +Method in interface algorithms.VehicleFleetManager +
  +
isPrematureBreak(SearchStrategy.DiscoveredSolution) - +Method in class basics.algo.IterationWithoutImprovementBreaker +
  +
isPrematureBreak(SearchStrategy.DiscoveredSolution) - +Method in interface basics.algo.PrematureAlgorithmBreaker +
  +
isPrematureBreak(SearchStrategy.DiscoveredSolution) - +Method in class basics.algo.TimeBreaker +
  +
isPrematureBreak(SearchStrategy.DiscoveredSolution) - +Method in class basics.algo.VariationCoefficientBreaker +
  +
iterationEnds(int, VehicleRoutingProblem, Collection<VehicleRoutingProblemSolution>) - +Method in class basics.algo.VehicleRoutingAlgorithmListeners +
  +
IterationEndsListener - Interface in basics.algo
 
iterationStarts(int, VehicleRoutingProblem, Collection<VehicleRoutingProblemSolution>) - +Method in class basics.algo.VehicleRoutingAlgorithmListeners +
  +
IterationStartsListener - Interface in basics.algo
 
IterationWithoutImprovementBreaker - Class in basics.algo
 
IterationWithoutImprovementBreaker(int) - +Constructor for class basics.algo.IterationWithoutImprovementBreaker +
  +
iterator() - +Method in class basics.route.TourActivities +
  +
+
+ + + + + + + + + + + + + + + +
+ +
+ + + +A B C D E F G H I J L M N P R S T U V W
+ + + diff --git a/doc/index.html b/doc/index.html new file mode 100644 index 00000000..b9b006c7 --- /dev/null +++ b/doc/index.html @@ -0,0 +1,73 @@ + + + + + + +Generated Documentation (Untitled) + + + + + + + + + + + +<H2> +Frame Alert</H2> + +<P> +This document is designed to be viewed using the frames feature. If you see this message, you are using a non-frame-capable web client. +<BR> +Link to<A HREF="overview-summary.html">Non-frame version.</A> + + + diff --git a/doc/overview-frame.html b/doc/overview-frame.html new file mode 100644 index 00000000..c9227f99 --- /dev/null +++ b/doc/overview-frame.html @@ -0,0 +1,58 @@ + + + + + + +Overview List + + + + + + + + + + + + + + + +
+
+ + + + + +
All Classes +

+ +Packages +
+algorithms +
+algorithms.acceptors +
+algorithms.selectors +
+basics +
+basics.algo +
+basics.costs +
+basics.io +
+basics.route +
+util +
+

+ +

+  + + diff --git a/doc/overview-summary.html b/doc/overview-summary.html new file mode 100644 index 00000000..279060c0 --- /dev/null +++ b/doc/overview-summary.html @@ -0,0 +1,183 @@ + + + + + + +Overview + + + + + + + + + + + + +


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Packages
algorithms 
algorithms.acceptors 
algorithms.selectors 
basics 
basics.algo 
basics.costs 
basics.io 
basics.route 
util 
+ +


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/doc/overview-tree.html b/doc/overview-tree.html new file mode 100644 index 00000000..cbb3e02f --- /dev/null +++ b/doc/overview-tree.html @@ -0,0 +1,272 @@ + + + + + + +Class Hierarchy + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Hierarchy For All Packages

+
+
+
Package Hierarchies:
algorithms, algorithms.acceptors, algorithms.selectors, basics, basics.algo, basics.costs, basics.io, basics.route, util
+
+

+Class Hierarchy +

+ +

+Interface Hierarchy +

+ +

+Enum Hierarchy +

+ +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/doc/package-list b/doc/package-list new file mode 100644 index 00000000..31ed5704 --- /dev/null +++ b/doc/package-list @@ -0,0 +1,9 @@ +algorithms +algorithms.acceptors +algorithms.selectors +basics +basics.algo +basics.costs +basics.io +basics.route +util diff --git a/doc/resources/inherit.gif b/doc/resources/inherit.gif new file mode 100644 index 00000000..c814867a Binary files /dev/null and b/doc/resources/inherit.gif differ diff --git a/doc/stylesheet.css b/doc/stylesheet.css new file mode 100644 index 00000000..6ea9e516 --- /dev/null +++ b/doc/stylesheet.css @@ -0,0 +1,29 @@ +/* Javadoc style sheet */ + +/* Define colors, fonts and other style attributes here to override the defaults */ + +/* Page background color */ +body { background-color: #FFFFFF; color:#000000 } + +/* Headings */ +h1 { font-size: 145% } + +/* Table colors */ +.TableHeadingColor { background: #CCCCFF; color:#000000 } /* Dark mauve */ +.TableSubHeadingColor { background: #EEEEFF; color:#000000 } /* Light mauve */ +.TableRowColor { background: #FFFFFF; color:#000000 } /* White */ + +/* Font used in left-hand frame lists */ +.FrameTitleFont { font-size: 100%; font-family: Helvetica, Arial, sans-serif; color:#000000 } +.FrameHeadingFont { font-size: 90%; font-family: Helvetica, Arial, sans-serif; color:#000000 } +.FrameItemFont { font-size: 90%; font-family: Helvetica, Arial, sans-serif; color:#000000 } + +/* Navigation bar fonts and colors */ +.NavBarCell1 { background-color:#EEEEFF; color:#000000} /* Light mauve */ +.NavBarCell1Rev { background-color:#00008B; color:#FFFFFF} /* Dark Blue */ +.NavBarFont1 { font-family: Arial, Helvetica, sans-serif; color:#000000;color:#000000;} +.NavBarFont1Rev { font-family: Arial, Helvetica, sans-serif; color:#FFFFFF;color:#FFFFFF;} + +.NavBarCell2 { font-family: Arial, Helvetica, sans-serif; background-color:#FFFFFF; color:#000000} +.NavBarCell3 { font-family: Arial, Helvetica, sans-serif; background-color:#FFFFFF; color:#000000} + diff --git a/doc/util/ArrayUtils.html b/doc/util/ArrayUtils.html new file mode 100644 index 00000000..5667c71e --- /dev/null +++ b/doc/util/ArrayUtils.html @@ -0,0 +1,252 @@ + + + + + + +ArrayUtils + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +util +
+Class ArrayUtils

+
+java.lang.Object
+  extended by util.ArrayUtils
+
+
+
+
public class ArrayUtils
extends java.lang.Object
+ + +

+


+ +

+ + + + + + + + + + + +
+Constructor Summary
ArrayUtils() + +
+           
+  + + + + + + + + + + + +
+Method Summary
+static double[]toPrimitiveArray(java.util.List<java.lang.Double> list) + +
+           
+ + + + + + + +
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+ArrayUtils

+
+public ArrayUtils()
+
+
+ + + + + + + + +
+Method Detail
+ +

+toPrimitiveArray

+
+public static double[] toPrimitiveArray(java.util.List<java.lang.Double> list)
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/doc/util/BenchmarkInstance.html b/doc/util/BenchmarkInstance.html new file mode 100644 index 00000000..b2085d5d --- /dev/null +++ b/doc/util/BenchmarkInstance.html @@ -0,0 +1,320 @@ + + + + + + +BenchmarkInstance + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +util +
+Class BenchmarkInstance

+
+java.lang.Object
+  extended by util.BenchmarkInstance
+
+
+
+
public class BenchmarkInstance
extends java.lang.Object
+ + +

+


+ +

+ + + + + + + + + + + + + + + + + + + + + + + +
+Field Summary
+ java.lang.DoublebestKnownResult + +
+           
+ java.lang.DoublebestKnownVehicles + +
+           
+ java.lang.Stringname + +
+           
+ VehicleRoutingProblemvrp + +
+           
+  + + + + + + + + + + +
+Constructor Summary
BenchmarkInstance(java.lang.String name, + VehicleRoutingProblem vrp, + java.lang.Double bestKnownResult, + java.lang.Double bestKnowVehicles) + +
+           
+  + + + + + + + +
+Method Summary
+ + + + + + + +
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Field Detail
+ +

+name

+
+public final java.lang.String name
+
+
+
+
+
+ +

+vrp

+
+public final VehicleRoutingProblem vrp
+
+
+
+
+
+ +

+bestKnownResult

+
+public final java.lang.Double bestKnownResult
+
+
+
+
+
+ +

+bestKnownVehicles

+
+public java.lang.Double bestKnownVehicles
+
+
+
+
+ + + + + + + + +
+Constructor Detail
+ +

+BenchmarkInstance

+
+public BenchmarkInstance(java.lang.String name,
+                         VehicleRoutingProblem vrp,
+                         java.lang.Double bestKnownResult,
+                         java.lang.Double bestKnowVehicles)
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/doc/util/BenchmarkResult.html b/doc/util/BenchmarkResult.html new file mode 100644 index 00000000..8a1d41ed --- /dev/null +++ b/doc/util/BenchmarkResult.html @@ -0,0 +1,409 @@ + + + + + + +BenchmarkResult + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +util +
+Class BenchmarkResult

+
+java.lang.Object
+  extended by util.BenchmarkResult
+
+
+
+
public class BenchmarkResult
extends java.lang.Object
+ + +

+


+ +

+ + + + + + + + + + + + + + + +
+Field Summary
+ BenchmarkInstanceinstance + +
+           
+ intruns + +
+           
+  + + + + + + + + + + +
+Constructor Summary
BenchmarkResult(BenchmarkInstance instance, + int runs, + double[] results, + double[] compTimes, + double[] vehicles) + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ double[]getCompTimes() + +
+           
+ double[]getResults() + +
+           
+ org.apache.commons.math.stat.descriptive.DescriptiveStatisticsgetResultStats() + +
+           
+ org.apache.commons.math.stat.descriptive.DescriptiveStatisticsgetTimesStats() + +
+           
+ double[]getVehicles() + +
+           
+ org.apache.commons.math.stat.descriptive.DescriptiveStatisticsgetVehicleStats() + +
+           
+ + + + + + + +
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Field Detail
+ +

+instance

+
+public final BenchmarkInstance instance
+
+
+
+
+
+ +

+runs

+
+public final int runs
+
+
+
+
+ + + + + + + + +
+Constructor Detail
+ +

+BenchmarkResult

+
+public BenchmarkResult(BenchmarkInstance instance,
+                       int runs,
+                       double[] results,
+                       double[] compTimes,
+                       double[] vehicles)
+
+
+ + + + + + + + +
+Method Detail
+ +

+getResults

+
+public double[] getResults()
+
+
+
+
+
+
+ +

+getVehicles

+
+public double[] getVehicles()
+
+
+
+
+
+
+ +

+getCompTimes

+
+public double[] getCompTimes()
+
+
+
+
+
+
+ +

+getResultStats

+
+public org.apache.commons.math.stat.descriptive.DescriptiveStatistics getResultStats()
+
+
+
+
+
+
+ +

+getVehicleStats

+
+public org.apache.commons.math.stat.descriptive.DescriptiveStatistics getVehicleStats()
+
+
+
+
+
+
+ +

+getTimesStats

+
+public org.apache.commons.math.stat.descriptive.DescriptiveStatistics getTimesStats()
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/doc/util/Coordinate.html b/doc/util/Coordinate.html new file mode 100644 index 00000000..35409fe5 --- /dev/null +++ b/doc/util/Coordinate.html @@ -0,0 +1,360 @@ + + + + + + +Coordinate + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +util +
+Class Coordinate

+
+java.lang.Object
+  extended by util.Coordinate
+
+
+
+
public class Coordinate
extends java.lang.Object
+ + +

+


+ +

+ + + + + + + + + + + +
+Constructor Summary
Coordinate(double x, + double y) + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ booleanequals(java.lang.Object obj) + +
+           
+ doublegetX() + +
+           
+ doublegetY() + +
+           
+ inthashCode() + +
+           
+static CoordinatenewInstance(double x, + double y) + +
+           
+ java.lang.StringtoString() + +
+           
+ + + + + + + +
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+Coordinate

+
+public Coordinate(double x,
+                  double y)
+
+
+ + + + + + + + +
+Method Detail
+ +

+newInstance

+
+public static Coordinate newInstance(double x,
+                                     double y)
+
+
+
+
+
+
+ +

+getX

+
+public double getX()
+
+
+
+
+
+
+ +

+getY

+
+public double getY()
+
+
+
+
+
+
+ +

+toString

+
+public java.lang.String toString()
+
+
+
Overrides:
toString in class java.lang.Object
+
+
+
+
+
+
+ +

+hashCode

+
+public int hashCode()
+
+
+
Overrides:
hashCode in class java.lang.Object
+
+
+
+
+
+
+ +

+equals

+
+public boolean equals(java.lang.Object obj)
+
+
+
Overrides:
equals in class java.lang.Object
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/doc/util/Counter.html b/doc/util/Counter.html new file mode 100644 index 00000000..1654f092 --- /dev/null +++ b/doc/util/Counter.html @@ -0,0 +1,319 @@ + + + + + + +Counter + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +util +
+Class Counter

+
+java.lang.Object
+  extended by util.Counter
+
+
+
+
public final class Counter
extends java.lang.Object
+ + +

+Counter which is a copy of Counter.java at package org.matsim.core.utils.misc (www.matsim.org); +

+ +

+

+
Author:
+
Schroeder
+
+
+ +

+ + + + + + + + + + + +
+Constructor Summary
Counter(java.lang.String prefix) + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ longgetCounter() + +
+           
+ voidincCounter() + +
+           
+ voidprintCounter() + +
+           
+ voidreset() + +
+           
+ + + + + + + +
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+Counter

+
+public Counter(java.lang.String prefix)
+
+
+
Parameters:
prefix - Some text that is output just before the counter-value.
+
+ + + + + + + + +
+Method Detail
+ +

+incCounter

+
+public void incCounter()
+
+
+
+
+
+
+ +

+printCounter

+
+public void printCounter()
+
+
+
+
+
+
+ +

+getCounter

+
+public long getCounter()
+
+
+
+
+
+
+ +

+reset

+
+public void reset()
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/doc/util/CrowFlyCosts.html b/doc/util/CrowFlyCosts.html new file mode 100644 index 00000000..a1aefa39 --- /dev/null +++ b/doc/util/CrowFlyCosts.html @@ -0,0 +1,436 @@ + + + + + + +CrowFlyCosts + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +util +
+Class CrowFlyCosts

+
+java.lang.Object
+  extended by util.CrowFlyCosts
+
+
+
All Implemented Interfaces:
BackwardTransportCost, BackwardTransportTime, ForwardTransportCost, ForwardTransportTime, TransportCost, TransportTime, VehicleRoutingTransportCosts
+
+
+
+
public class CrowFlyCosts
extends java.lang.Object
implements VehicleRoutingTransportCosts
+ + +

+

+
Author:
+
stefan schroeder
+
+
+ +

+ + + + + + + + + + + + + + + +
+Field Summary
+ doubledetourFactor + +
+           
+ intspeed + +
+           
+  + + + + + + + + + + +
+Constructor Summary
CrowFlyCosts(Locations locations) + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ doublegetBackwardTransportCost(java.lang.String fromId, + java.lang.String toId, + double arrivalTime, + Driver driver, + Vehicle vehicle) + +
+           
+ doublegetBackwardTransportTime(java.lang.String fromId, + java.lang.String toId, + double arrivalTime, + Driver driver, + Vehicle vehicle) + +
+           
+ doublegetTransportCost(java.lang.String fromId, + java.lang.String toId, + double time, + Driver driver, + Vehicle vehicle) + +
+           
+ doublegetTransportTime(java.lang.String fromId, + java.lang.String toId, + double time, + Driver driver, + Vehicle vehicle) + +
+           
+ java.lang.StringtoString() + +
+           
+ + + + + + + +
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
+  +

+ + + + + + + + +
+Field Detail
+ +

+speed

+
+public int speed
+
+
+
+
+
+ +

+detourFactor

+
+public double detourFactor
+
+
+
+
+ + + + + + + + +
+Constructor Detail
+ +

+CrowFlyCosts

+
+public CrowFlyCosts(Locations locations)
+
+
+ + + + + + + + +
+Method Detail
+ +

+toString

+
+public java.lang.String toString()
+
+
+
Overrides:
toString in class java.lang.Object
+
+
+
+
+
+
+ +

+getTransportCost

+
+public double getTransportCost(java.lang.String fromId,
+                               java.lang.String toId,
+                               double time,
+                               Driver driver,
+                               Vehicle vehicle)
+
+
+
Specified by:
getTransportCost in interface ForwardTransportCost
+
+
+
+
+
+
+ +

+getTransportTime

+
+public double getTransportTime(java.lang.String fromId,
+                               java.lang.String toId,
+                               double time,
+                               Driver driver,
+                               Vehicle vehicle)
+
+
+
Specified by:
getTransportTime in interface ForwardTransportTime
+
+
+
+
+
+
+ +

+getBackwardTransportCost

+
+public double getBackwardTransportCost(java.lang.String fromId,
+                                       java.lang.String toId,
+                                       double arrivalTime,
+                                       Driver driver,
+                                       Vehicle vehicle)
+
+
+
Specified by:
getBackwardTransportCost in interface BackwardTransportCost
+
+
+
+
+
+
+ +

+getBackwardTransportTime

+
+public double getBackwardTransportTime(java.lang.String fromId,
+                                       java.lang.String toId,
+                                       double arrivalTime,
+                                       Driver driver,
+                                       Vehicle vehicle)
+
+
+
Specified by:
getBackwardTransportTime in interface BackwardTransportTime
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/doc/util/EuclideanDistanceCalculator.html b/doc/util/EuclideanDistanceCalculator.html new file mode 100644 index 00000000..f8f402e1 --- /dev/null +++ b/doc/util/EuclideanDistanceCalculator.html @@ -0,0 +1,254 @@ + + + + + + +EuclideanDistanceCalculator + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +util +
+Class EuclideanDistanceCalculator

+
+java.lang.Object
+  extended by util.EuclideanDistanceCalculator
+
+
+
+
public class EuclideanDistanceCalculator
extends java.lang.Object
+ + +

+


+ +

+ + + + + + + + + + + +
+Constructor Summary
EuclideanDistanceCalculator() + +
+           
+  + + + + + + + + + + + +
+Method Summary
+static doublecalculateDistance(Coordinate coord1, + Coordinate coord2) + +
+           
+ + + + + + + +
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+EuclideanDistanceCalculator

+
+public EuclideanDistanceCalculator()
+
+
+ + + + + + + + +
+Method Detail
+ +

+calculateDistance

+
+public static double calculateDistance(Coordinate coord1,
+                                       Coordinate coord2)
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/doc/util/Locations.html b/doc/util/Locations.html new file mode 100644 index 00000000..60165904 --- /dev/null +++ b/doc/util/Locations.html @@ -0,0 +1,206 @@ + + + + + + +Locations + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +util +
+Interface Locations

+
+
+
public interface Locations
+ + +

+


+ +

+ + + + + + + + + + + + +
+Method Summary
+ CoordinategetCoord(java.lang.String id) + +
+           
+  +

+ + + + + + + + +
+Method Detail
+ +

+getCoord

+
+Coordinate getCoord(java.lang.String id)
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/doc/util/ManhattanCosts.html b/doc/util/ManhattanCosts.html new file mode 100644 index 00000000..aefcec85 --- /dev/null +++ b/doc/util/ManhattanCosts.html @@ -0,0 +1,396 @@ + + + + + + +ManhattanCosts + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +util +
+Class ManhattanCosts

+
+java.lang.Object
+  extended by util.ManhattanCosts
+
+
+
All Implemented Interfaces:
BackwardTransportCost, BackwardTransportTime, ForwardTransportCost, ForwardTransportTime, TransportCost, TransportTime, VehicleRoutingTransportCosts
+
+
+
+
public class ManhattanCosts
extends java.lang.Object
implements VehicleRoutingTransportCosts
+ + +

+

+
Author:
+
stefan schroeder
+
+
+ +

+ + + + + + + + + + + +
+Field Summary
+ doublespeed + +
+           
+  + + + + + + + + + + +
+Constructor Summary
ManhattanCosts(Locations locations) + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ doublegetBackwardTransportCost(java.lang.String fromId, + java.lang.String toId, + double arrivalTime, + Driver driver, + Vehicle vehicle) + +
+           
+ doublegetBackwardTransportTime(java.lang.String fromId, + java.lang.String toId, + double arrivalTime, + Driver driver, + Vehicle vehicle) + +
+           
+ doublegetTransportCost(java.lang.String fromId, + java.lang.String toId, + double time, + Driver driver, + Vehicle vehicle) + +
+           
+ doublegetTransportTime(java.lang.String fromId, + java.lang.String toId, + double time, + Driver driver, + Vehicle vehicle) + +
+           
+ + + + + + + +
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Field Detail
+ +

+speed

+
+public double speed
+
+
+
+
+ + + + + + + + +
+Constructor Detail
+ +

+ManhattanCosts

+
+public ManhattanCosts(Locations locations)
+
+
+ + + + + + + + +
+Method Detail
+ +

+getTransportCost

+
+public double getTransportCost(java.lang.String fromId,
+                               java.lang.String toId,
+                               double time,
+                               Driver driver,
+                               Vehicle vehicle)
+
+
+
Specified by:
getTransportCost in interface ForwardTransportCost
+
+
+
+
+
+
+ +

+getTransportTime

+
+public double getTransportTime(java.lang.String fromId,
+                               java.lang.String toId,
+                               double time,
+                               Driver driver,
+                               Vehicle vehicle)
+
+
+
Specified by:
getTransportTime in interface ForwardTransportTime
+
+
+
+
+
+
+ +

+getBackwardTransportCost

+
+public double getBackwardTransportCost(java.lang.String fromId,
+                                       java.lang.String toId,
+                                       double arrivalTime,
+                                       Driver driver,
+                                       Vehicle vehicle)
+
+
+
Specified by:
getBackwardTransportCost in interface BackwardTransportCost
+
+
+
+
+
+
+ +

+getBackwardTransportTime

+
+public double getBackwardTransportTime(java.lang.String fromId,
+                                       java.lang.String toId,
+                                       double arrivalTime,
+                                       Driver driver,
+                                       Vehicle vehicle)
+
+
+
Specified by:
getBackwardTransportTime in interface BackwardTransportTime
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/doc/util/ManhattanDistanceCalculator.html b/doc/util/ManhattanDistanceCalculator.html new file mode 100644 index 00000000..71a39522 --- /dev/null +++ b/doc/util/ManhattanDistanceCalculator.html @@ -0,0 +1,254 @@ + + + + + + +ManhattanDistanceCalculator + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +util +
+Class ManhattanDistanceCalculator

+
+java.lang.Object
+  extended by util.ManhattanDistanceCalculator
+
+
+
+
public class ManhattanDistanceCalculator
extends java.lang.Object
+ + +

+


+ +

+ + + + + + + + + + + +
+Constructor Summary
ManhattanDistanceCalculator() + +
+           
+  + + + + + + + + + + + +
+Method Summary
+static doublecalculateDistance(Coordinate coord1, + Coordinate coord2) + +
+           
+ + + + + + + +
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+ManhattanDistanceCalculator

+
+public ManhattanDistanceCalculator()
+
+
+ + + + + + + + +
+Method Detail
+ +

+calculateDistance

+
+public static double calculateDistance(Coordinate coord1,
+                                       Coordinate coord2)
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/doc/util/Neighborhood.html b/doc/util/Neighborhood.html new file mode 100644 index 00000000..1194f10b --- /dev/null +++ b/doc/util/Neighborhood.html @@ -0,0 +1,211 @@ + + + + + + +Neighborhood + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +util +
+Interface Neighborhood

+
+
All Known Implementing Classes:
NeighborhoodImpl
+
+
+
+
public interface Neighborhood
+ + +

+


+ +

+ + + + + + + + + + + + +
+Method Summary
+ booleanareNeighbors(java.lang.String location1, + java.lang.String location2) + +
+           
+  +

+ + + + + + + + +
+Method Detail
+ +

+areNeighbors

+
+boolean areNeighbors(java.lang.String location1,
+                     java.lang.String location2)
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/doc/util/NeighborhoodImpl.html b/doc/util/NeighborhoodImpl.html new file mode 100644 index 00000000..7bd323bc --- /dev/null +++ b/doc/util/NeighborhoodImpl.html @@ -0,0 +1,328 @@ + + + + + + +NeighborhoodImpl + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +util +
+Class NeighborhoodImpl

+
+java.lang.Object
+  extended by util.NeighborhoodImpl
+
+
+
All Implemented Interfaces:
Neighborhood
+
+
+
+
public class NeighborhoodImpl
extends java.lang.Object
implements Neighborhood
+ + +

+


+ +

+ + + + + + + + + + + +
+Constructor Summary
NeighborhoodImpl(java.util.Collection<Vehicle> vehicles, + java.util.Collection<Service> services) + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ booleanareNeighbors(java.lang.String location1, + java.lang.String location2) + +
+           
+ voidinitialise() + +
+           
+ voidsetThreshold(double threshold) + +
+           
+ java.lang.StringtoString() + +
+           
+ + + + + + + +
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+NeighborhoodImpl

+
+public NeighborhoodImpl(java.util.Collection<Vehicle> vehicles,
+                        java.util.Collection<Service> services)
+
+
+ + + + + + + + +
+Method Detail
+ +

+setThreshold

+
+public void setThreshold(double threshold)
+
+
+
+
+
+
+
+
+
+ +

+initialise

+
+public void initialise()
+
+
+
+
+
+
+
+
+
+ +

+areNeighbors

+
+public boolean areNeighbors(java.lang.String location1,
+                            java.lang.String location2)
+
+
+
Specified by:
areNeighbors in interface Neighborhood
+
+
+
+
+
+
+ +

+toString

+
+public java.lang.String toString()
+
+
+
Overrides:
toString in class java.lang.Object
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/doc/util/RandomNumberGeneration.html b/doc/util/RandomNumberGeneration.html new file mode 100644 index 00000000..1b8a3de3 --- /dev/null +++ b/doc/util/RandomNumberGeneration.html @@ -0,0 +1,290 @@ + + + + + + +RandomNumberGeneration + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +util +
+Class RandomNumberGeneration

+
+java.lang.Object
+  extended by util.RandomNumberGeneration
+
+
+
+
public class RandomNumberGeneration
extends java.lang.Object
+ + +

+


+ +

+ + + + + + + + + + + +
+Constructor Summary
RandomNumberGeneration() + +
+           
+  + + + + + + + + + + + + + + + + + + + +
+Method Summary
+static java.util.RandomgetRandom() + +
+           
+static voidreset() + +
+           
+static voidsetSeed(long seed) + +
+           
+ + + + + + + +
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+RandomNumberGeneration

+
+public RandomNumberGeneration()
+
+
+ + + + + + + + +
+Method Detail
+ +

+getRandom

+
+public static java.util.Random getRandom()
+
+
+
+
+
+
+ +

+setSeed

+
+public static void setSeed(long seed)
+
+
+
+
+
+
+ +

+reset

+
+public static void reset()
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/doc/util/Resource.html b/doc/util/Resource.html new file mode 100644 index 00000000..de17b0e9 --- /dev/null +++ b/doc/util/Resource.html @@ -0,0 +1,285 @@ + + + + + + +Resource + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +util +
+Class Resource

+
+java.lang.Object
+  extended by util.Resource
+
+
+
+
public class Resource
extends java.lang.Object
+ + +

+This is a copy of MatsimResource.java (see matsim.org). + + It makes sure that resources can also be located within jar files, since it looks for resources in several places. +

+ +

+

+
Author:
+
stefan schroeder
+
+
+ +

+ + + + + + + + + + + +
+Constructor Summary
Resource() + +
+           
+  + + + + + + + + + + + + + + + +
+Method Summary
+static java.io.InputStreamgetAsInputStream(java.lang.String filename) + +
+           
+static java.net.URLgetAsURL(java.lang.String filename) + +
+          Returns URL from the relative path of a resource.
+ + + + + + + +
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+Resource

+
+public Resource()
+
+
+ + + + + + + + +
+Method Detail
+ +

+getAsURL

+
+public static final java.net.URL getAsURL(java.lang.String filename)
+
+
Returns URL from the relative path of a resource. +

+

+
Parameters:
filename - +
Returns:
+
+
+
+ +

+getAsInputStream

+
+public static final java.io.InputStream getAsInputStream(java.lang.String filename)
+
+
+
Parameters:
filename - relative path from within the resource directory to a file to be loaded +
Returns:
a Stream to the requested resource file, or null if no such file exists.
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/doc/util/RouteUtils.html b/doc/util/RouteUtils.html new file mode 100644 index 00000000..81cf4a4b --- /dev/null +++ b/doc/util/RouteUtils.html @@ -0,0 +1,309 @@ + + + + + + +RouteUtils + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +util +
+Class RouteUtils

+
+java.lang.Object
+  extended by util.RouteUtils
+
+
+
+
public class RouteUtils
extends java.lang.Object
+ + +

+


+ +

+ + + + + + + + + + + +
+Constructor Summary
RouteUtils() + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+static intgetNuOfActiveRoutes(java.util.Collection<VehicleRoute> routes) + +
+           
+static doublegetTotalCost(java.util.Collection<VehicleRoute> routes) + +
+           
+static doublegetTotalFixCost(java.util.Collection<VehicleRoute> routes) + +
+           
+static doublegetTotalServiceTime(java.util.Collection<VehicleRoute> routes) + +
+           
+ + + + + + + +
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+RouteUtils

+
+public RouteUtils()
+
+
+ + + + + + + + +
+Method Detail
+ +

+getTotalCost

+
+public static double getTotalCost(java.util.Collection<VehicleRoute> routes)
+
+
+
+
+
+
+ +

+getTotalServiceTime

+
+public static double getTotalServiceTime(java.util.Collection<VehicleRoute> routes)
+
+
+
+
+
+
+ +

+getTotalFixCost

+
+public static double getTotalFixCost(java.util.Collection<VehicleRoute> routes)
+
+
+
+
+
+
+ +

+getNuOfActiveRoutes

+
+public static int getNuOfActiveRoutes(java.util.Collection<VehicleRoute> routes)
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/doc/util/Solutions.html b/doc/util/Solutions.html new file mode 100644 index 00000000..d6aae793 --- /dev/null +++ b/doc/util/Solutions.html @@ -0,0 +1,274 @@ + + + + + + +Solutions + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +util +
+Class Solutions

+
+java.lang.Object
+  extended by util.Solutions
+
+
+
+
public class Solutions
extends java.lang.Object
+ + +

+


+ +

+ + + + + + + + + + + +
+Constructor Summary
Solutions() + +
+           
+  + + + + + + + + + + + + + + + +
+Method Summary
+static VehicleRoutingProblemSolutionbestOf(java.util.Collection<VehicleRoutingProblemSolution> solutions) + +
+           
+static VehicleRoutingProblemSolutiongetBest(java.util.Collection<VehicleRoutingProblemSolution> solutions) + +
+          Deprecated. 
+ + + + + + + +
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+Solutions

+
+public Solutions()
+
+
+ + + + + + + + +
+Method Detail
+ +

+getBest

+
+@Deprecated
+public static VehicleRoutingProblemSolution getBest(java.util.Collection<VehicleRoutingProblemSolution> solutions)
+
+
Deprecated.  +

+

+
+
+
+
+ +

+bestOf

+
+public static VehicleRoutingProblemSolution bestOf(java.util.Collection<VehicleRoutingProblemSolution> solutions)
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/doc/util/StopWatch.html b/doc/util/StopWatch.html new file mode 100644 index 00000000..fc0a29d0 --- /dev/null +++ b/doc/util/StopWatch.html @@ -0,0 +1,350 @@ + + + + + + +StopWatch + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +util +
+Class StopWatch

+
+java.lang.Object
+  extended by util.StopWatch
+
+
+
+
public class StopWatch
extends java.lang.Object
+ + +

+


+ +

+ + + + + + + + + + + +
+Constructor Summary
StopWatch() + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ doublegetCompTimeInSeconds() + +
+           
+ doublegetCurrTimeInSeconds() + +
+           
+ voidreset() + +
+           
+ voidstart() + +
+           
+ voidstop() + +
+           
+ java.lang.StringtoString() + +
+           
+ + + + + + + +
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+StopWatch

+
+public StopWatch()
+
+
+ + + + + + + + +
+Method Detail
+ +

+getCompTimeInSeconds

+
+public double getCompTimeInSeconds()
+
+
+
+
+
+
+ +

+stop

+
+public void stop()
+
+
+
+
+
+
+ +

+start

+
+public void start()
+
+
+
+
+
+
+ +

+reset

+
+public void reset()
+
+
+
+
+
+
+ +

+toString

+
+public java.lang.String toString()
+
+
+
Overrides:
toString in class java.lang.Object
+
+
+
+
+
+
+ +

+getCurrTimeInSeconds

+
+public double getCurrTimeInSeconds()
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/doc/util/VehicleRoutingTransportCostsMatrix.Builder.html b/doc/util/VehicleRoutingTransportCostsMatrix.Builder.html new file mode 100644 index 00000000..bf1a0ae3 --- /dev/null +++ b/doc/util/VehicleRoutingTransportCostsMatrix.Builder.html @@ -0,0 +1,308 @@ + + + + + + +VehicleRoutingTransportCostsMatrix.Builder + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +util +
+Class VehicleRoutingTransportCostsMatrix.Builder

+
+java.lang.Object
+  extended by util.VehicleRoutingTransportCostsMatrix.Builder
+
+
+
Enclosing class:
VehicleRoutingTransportCostsMatrix
+
+
+
+
public static class VehicleRoutingTransportCostsMatrix.Builder
extends java.lang.Object
+ + +

+Builder that builds the matrix. +

+ +

+

+
Author:
+
schroeder
+
+
+ +

+ + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ VehicleRoutingTransportCostsMatrix.BuilderaddTransportDistance(java.lang.String from, + java.lang.String to, + double distance) + +
+          Adds a transport-distance for a particular relation.
+ VehicleRoutingTransportCostsMatrix.BuilderaddTransportTime(java.lang.String from, + java.lang.String to, + double time) + +
+          Adds transport-time for a particular relation.
+ VehicleRoutingTransportCostsMatrixbuild() + +
+          Builds the matrix.
+static VehicleRoutingTransportCostsMatrix.BuildernewInstance(boolean isSymmetric) + +
+          Creates a new builder returning the matrix-builder.
+ + + + + + + +
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Method Detail
+ +

+newInstance

+
+public static VehicleRoutingTransportCostsMatrix.Builder newInstance(boolean isSymmetric)
+
+
Creates a new builder returning the matrix-builder. +

If you want to consider symmetric matrices, set isSymmetric to true. +

+

+
Parameters:
isSymmetric - +
Returns:
+
+
+
+ +

+addTransportDistance

+
+public VehicleRoutingTransportCostsMatrix.Builder addTransportDistance(java.lang.String from,
+                                                                       java.lang.String to,
+                                                                       double distance)
+
+
Adds a transport-distance for a particular relation. +

+

+
Parameters:
from -
to -
distance - +
Returns:
+
+
+
+ +

+addTransportTime

+
+public VehicleRoutingTransportCostsMatrix.Builder addTransportTime(java.lang.String from,
+                                                                   java.lang.String to,
+                                                                   double time)
+
+
Adds transport-time for a particular relation. +

+

+
Parameters:
from -
to -
time - +
Returns:
+
+
+
+ +

+build

+
+public VehicleRoutingTransportCostsMatrix build()
+
+
Builds the matrix. +

+

+ +
Returns:
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/doc/util/VehicleRoutingTransportCostsMatrix.html b/doc/util/VehicleRoutingTransportCostsMatrix.html new file mode 100644 index 00000000..f813d330 --- /dev/null +++ b/doc/util/VehicleRoutingTransportCostsMatrix.html @@ -0,0 +1,353 @@ + + + + + + +VehicleRoutingTransportCostsMatrix + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +util +
+Class VehicleRoutingTransportCostsMatrix

+
+java.lang.Object
+  extended by util.VehicleRoutingTransportCostsMatrix
+
+
+
All Implemented Interfaces:
BackwardTransportCost, BackwardTransportTime, ForwardTransportCost, ForwardTransportTime, TransportCost, TransportTime, VehicleRoutingTransportCosts
+
+
+
+
public class VehicleRoutingTransportCostsMatrix
extends java.lang.Object
implements VehicleRoutingTransportCosts
+ + +

+CostMatrix that allows pre-compiled time and distance-matrices to be considered as VehicleRoutingRoutingCosts + in the VehicleRoutingProblem. +

Note that you can also use it with distance matrix only (or time matrix). But ones + you set a particular distance, this expects distance-entries for all relations. This counts also + for a particular time. If the method getTransportCosts(...) is then invoked for a relation, where no distance can be found, an + IllegalStateException will be thrown. Thus if you want to only use distances only, do not use addTransportTime(...). +

+ +

+

+
Author:
+
schroeder
+
+
+ +

+ + + + + + + + + + + +
+Nested Class Summary
+static classVehicleRoutingTransportCostsMatrix.Builder + +
+          Builder that builds the matrix.
+  + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ doublegetBackwardTransportCost(java.lang.String fromId, + java.lang.String toId, + double arrivalTime, + Driver driver, + Vehicle vehicle) + +
+           
+ doublegetBackwardTransportTime(java.lang.String fromId, + java.lang.String toId, + double arrivalTime, + Driver driver, + Vehicle vehicle) + +
+           
+ doublegetTransportCost(java.lang.String fromId, + java.lang.String toId, + double departureTime, + Driver driver, + Vehicle vehicle) + +
+           
+ doublegetTransportTime(java.lang.String fromId, + java.lang.String toId, + double departureTime, + Driver driver, + Vehicle vehicle) + +
+           
+ + + + + + + +
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Method Detail
+ +

+getTransportTime

+
+public double getTransportTime(java.lang.String fromId,
+                               java.lang.String toId,
+                               double departureTime,
+                               Driver driver,
+                               Vehicle vehicle)
+
+
+
Specified by:
getTransportTime in interface ForwardTransportTime
+
+
+
+
+
+
+ +

+getBackwardTransportTime

+
+public double getBackwardTransportTime(java.lang.String fromId,
+                                       java.lang.String toId,
+                                       double arrivalTime,
+                                       Driver driver,
+                                       Vehicle vehicle)
+
+
+
Specified by:
getBackwardTransportTime in interface BackwardTransportTime
+
+
+
+
+
+
+ +

+getTransportCost

+
+public double getTransportCost(java.lang.String fromId,
+                               java.lang.String toId,
+                               double departureTime,
+                               Driver driver,
+                               Vehicle vehicle)
+
+
+
Specified by:
getTransportCost in interface ForwardTransportCost
+
+
+
+
+
+
+ +

+getBackwardTransportCost

+
+public double getBackwardTransportCost(java.lang.String fromId,
+                                       java.lang.String toId,
+                                       double arrivalTime,
+                                       Driver driver,
+                                       Vehicle vehicle)
+
+
+
Specified by:
getBackwardTransportCost in interface BackwardTransportCost
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/doc/util/VrpVerifier.html b/doc/util/VrpVerifier.html new file mode 100644 index 00000000..fb50525c --- /dev/null +++ b/doc/util/VrpVerifier.html @@ -0,0 +1,286 @@ + + + + + + +VrpVerifier + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +util +
+Class VrpVerifier

+
+java.lang.Object
+  extended by util.VrpVerifier
+
+
+
All Implemented Interfaces:
AlgorithmStartsListener, VehicleRoutingAlgorithmListener
+
+
+
+
public class VrpVerifier
extends java.lang.Object
implements AlgorithmStartsListener
+ + +

+


+ +

+ + + + + + + + + + + +
+Constructor Summary
VrpVerifier() + +
+           
+  + + + + + + + + + + + + + + + +
+Method Summary
+ voidinformAlgorithmStarts(VehicleRoutingProblem problem, + VehicleRoutingAlgorithm algorithm, + java.util.Collection<VehicleRoutingProblemSolution> solutions) + +
+           
+ voidverify(VehicleRoutingProblem pblm, + VehicleRoutingAlgorithm vra) + +
+           
+ + + + + + + +
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+VrpVerifier

+
+public VrpVerifier()
+
+
+ + + + + + + + +
+Method Detail
+ +

+informAlgorithmStarts

+
+public void informAlgorithmStarts(VehicleRoutingProblem problem,
+                                  VehicleRoutingAlgorithm algorithm,
+                                  java.util.Collection<VehicleRoutingProblemSolution> solutions)
+
+
+
Specified by:
informAlgorithmStarts in interface AlgorithmStartsListener
+
+
+
+
+
+
+ +

+verify

+
+public void verify(VehicleRoutingProblem pblm,
+                   VehicleRoutingAlgorithm vra)
+
+
+
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/doc/util/class-use/ArrayUtils.html b/doc/util/class-use/ArrayUtils.html new file mode 100644 index 00000000..70892494 --- /dev/null +++ b/doc/util/class-use/ArrayUtils.html @@ -0,0 +1,144 @@ + + + + + + +Uses of Class util.ArrayUtils + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Class
util.ArrayUtils

+
+No usage of util.ArrayUtils +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/doc/util/class-use/BenchmarkInstance.html b/doc/util/class-use/BenchmarkInstance.html new file mode 100644 index 00000000..cfab0d9e --- /dev/null +++ b/doc/util/class-use/BenchmarkInstance.html @@ -0,0 +1,198 @@ + + + + + + +Uses of Class util.BenchmarkInstance + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Class
util.BenchmarkInstance

+
+ + + + + + + + + +
+Packages that use BenchmarkInstance
util  
+  +

+ + + + + +
+Uses of BenchmarkInstance in util
+  +

+ + + + + + + + + +
Fields in util declared as BenchmarkInstance
+ BenchmarkInstanceBenchmarkResult.instance + +
+           
+  +

+ + + + + + + + +
Constructors in util with parameters of type BenchmarkInstance
BenchmarkResult(BenchmarkInstance instance, + int runs, + double[] results, + double[] compTimes, + double[] vehicles) + +
+           
+  +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/doc/util/class-use/BenchmarkResult.html b/doc/util/class-use/BenchmarkResult.html new file mode 100644 index 00000000..0c207b32 --- /dev/null +++ b/doc/util/class-use/BenchmarkResult.html @@ -0,0 +1,144 @@ + + + + + + +Uses of Class util.BenchmarkResult + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Class
util.BenchmarkResult

+
+No usage of util.BenchmarkResult +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/doc/util/class-use/Coordinate.html b/doc/util/class-use/Coordinate.html new file mode 100644 index 00000000..4a88eaf5 --- /dev/null +++ b/doc/util/class-use/Coordinate.html @@ -0,0 +1,370 @@ + + + + + + +Uses of Class util.Coordinate + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Class
util.Coordinate

+
+ + + + + + + + + + + + + + + + + +
+Packages that use Coordinate
basics  
basics.route  
util  
+  +

+ + + + + +
+Uses of Coordinate in basics
+  +

+ + + + + + + + + +
Methods in basics that return Coordinate
+ CoordinateService.getCoord() + +
+           
+  +

+ + + + + + + + + +
Methods in basics that return types with arguments of type Coordinate
+ java.util.Map<java.lang.String,Coordinate>VehicleRoutingProblem.Builder.getLocationMap() + +
+          Returns the unmodifiable map of locations (mapped by their id).
+  +

+ + + + + + + + + + + + + +
Methods in basics with parameters of type Coordinate
+ VehicleRoutingProblem.BuilderVehicleRoutingProblem.Builder.addLocation(java.lang.String id, + Coordinate coord) + +
+           
+ Service.BuilderService.Builder.setCoord(Coordinate coord) + +
+           
+  +

+ + + + + +
+Uses of Coordinate in basics.route
+  +

+ + + + + + + + + + + + + + + + + + + + + +
Methods in basics.route that return Coordinate
+ CoordinateVehicle.getCoord() + +
+           
+ CoordinateVehicleImpl.getCoord() + +
+           
+ CoordinateStart.getCoordinate() + +
+           
+ CoordinateEnd.getCoordinate() + +
+           
+  +

+ + + + + + + + + + + + + + + + + +
Methods in basics.route with parameters of type Coordinate
+ voidStart.setCoordinate(Coordinate coordinate) + +
+           
+ voidEnd.setCoordinate(Coordinate coordinate) + +
+           
+ VehicleImpl.BuilderVehicleImpl.Builder.setLocationCoord(Coordinate coord) + +
+           
+  +

+ + + + + +
+Uses of Coordinate in util
+  +

+ + + + + + + + + + + + + +
Methods in util that return Coordinate
+ CoordinateLocations.getCoord(java.lang.String id) + +
+           
+static CoordinateCoordinate.newInstance(double x, + double y) + +
+           
+  +

+ + + + + + + + + + + + + +
Methods in util with parameters of type Coordinate
+static doubleManhattanDistanceCalculator.calculateDistance(Coordinate coord1, + Coordinate coord2) + +
+           
+static doubleEuclideanDistanceCalculator.calculateDistance(Coordinate coord1, + Coordinate coord2) + +
+           
+  +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/doc/util/class-use/Counter.html b/doc/util/class-use/Counter.html new file mode 100644 index 00000000..48780758 --- /dev/null +++ b/doc/util/class-use/Counter.html @@ -0,0 +1,144 @@ + + + + + + +Uses of Class util.Counter + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Class
util.Counter

+
+No usage of util.Counter +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/doc/util/class-use/CrowFlyCosts.html b/doc/util/class-use/CrowFlyCosts.html new file mode 100644 index 00000000..456bda5e --- /dev/null +++ b/doc/util/class-use/CrowFlyCosts.html @@ -0,0 +1,144 @@ + + + + + + +Uses of Class util.CrowFlyCosts + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Class
util.CrowFlyCosts

+
+No usage of util.CrowFlyCosts +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/doc/util/class-use/EuclideanDistanceCalculator.html b/doc/util/class-use/EuclideanDistanceCalculator.html new file mode 100644 index 00000000..1169bdf3 --- /dev/null +++ b/doc/util/class-use/EuclideanDistanceCalculator.html @@ -0,0 +1,144 @@ + + + + + + +Uses of Class util.EuclideanDistanceCalculator + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Class
util.EuclideanDistanceCalculator

+
+No usage of util.EuclideanDistanceCalculator +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/doc/util/class-use/Locations.html b/doc/util/class-use/Locations.html new file mode 100644 index 00000000..3b67ed4b --- /dev/null +++ b/doc/util/class-use/Locations.html @@ -0,0 +1,213 @@ + + + + + + +Uses of Interface util.Locations + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Interface
util.Locations

+
+ + + + + + + + + + + + + +
+Packages that use Locations
basics  
util  
+  +

+ + + + + +
+Uses of Locations in basics
+  +

+ + + + + + + + + +
Methods in basics that return Locations
+ LocationsVehicleRoutingProblem.Builder.getLocations() + +
+          Returns the locations collected by this builder.
+  +

+ + + + + +
+Uses of Locations in util
+  +

+ + + + + + + + + + + +
Constructors in util with parameters of type Locations
CrowFlyCosts(Locations locations) + +
+           
ManhattanCosts(Locations locations) + +
+           
+  +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/doc/util/class-use/ManhattanCosts.html b/doc/util/class-use/ManhattanCosts.html new file mode 100644 index 00000000..f3f8f732 --- /dev/null +++ b/doc/util/class-use/ManhattanCosts.html @@ -0,0 +1,144 @@ + + + + + + +Uses of Class util.ManhattanCosts + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Class
util.ManhattanCosts

+
+No usage of util.ManhattanCosts +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/doc/util/class-use/ManhattanDistanceCalculator.html b/doc/util/class-use/ManhattanDistanceCalculator.html new file mode 100644 index 00000000..3c63798d --- /dev/null +++ b/doc/util/class-use/ManhattanDistanceCalculator.html @@ -0,0 +1,144 @@ + + + + + + +Uses of Class util.ManhattanDistanceCalculator + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Class
util.ManhattanDistanceCalculator

+
+No usage of util.ManhattanDistanceCalculator +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/doc/util/class-use/Neighborhood.html b/doc/util/class-use/Neighborhood.html new file mode 100644 index 00000000..e5dac8bc --- /dev/null +++ b/doc/util/class-use/Neighborhood.html @@ -0,0 +1,225 @@ + + + + + + +Uses of Interface util.Neighborhood + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Interface
util.Neighborhood

+
+ + + + + + + + + + + + + +
+Packages that use Neighborhood
basics  
util  
+  +

+ + + + + +
+Uses of Neighborhood in basics
+  +

+ + + + + + + + + +
Methods in basics that return Neighborhood
+ NeighborhoodVehicleRoutingProblem.getNeighborhood() + +
+           
+  +

+ + + + + + + + + +
Methods in basics with parameters of type Neighborhood
+ VehicleRoutingProblem.BuilderVehicleRoutingProblem.Builder.setNeighborhood(Neighborhood neighborhood) + +
+          Sets the neighborhood.
+  +

+ + + + + +
+Uses of Neighborhood in util
+  +

+ + + + + + + + + +
Classes in util that implement Neighborhood
+ classNeighborhoodImpl + +
+           
+  +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/doc/util/class-use/NeighborhoodImpl.html b/doc/util/class-use/NeighborhoodImpl.html new file mode 100644 index 00000000..8a0a35d2 --- /dev/null +++ b/doc/util/class-use/NeighborhoodImpl.html @@ -0,0 +1,178 @@ + + + + + + +Uses of Class util.NeighborhoodImpl + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Class
util.NeighborhoodImpl

+
+ + + + + + + + + +
+Packages that use NeighborhoodImpl
algorithms  
+  +

+ + + + + +
+Uses of NeighborhoodImpl in algorithms
+  +

+ + + + + + + + +
Constructors in algorithms with parameters of type NeighborhoodImpl
NeighborhoodThresholdInitialiser(NeighborhoodImpl neighborhood) + +
+           
+  +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/doc/util/class-use/RandomNumberGeneration.html b/doc/util/class-use/RandomNumberGeneration.html new file mode 100644 index 00000000..ee782992 --- /dev/null +++ b/doc/util/class-use/RandomNumberGeneration.html @@ -0,0 +1,144 @@ + + + + + + +Uses of Class util.RandomNumberGeneration + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Class
util.RandomNumberGeneration

+
+No usage of util.RandomNumberGeneration +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/doc/util/class-use/Resource.html b/doc/util/class-use/Resource.html new file mode 100644 index 00000000..be16e2d5 --- /dev/null +++ b/doc/util/class-use/Resource.html @@ -0,0 +1,144 @@ + + + + + + +Uses of Class util.Resource + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Class
util.Resource

+
+No usage of util.Resource +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/doc/util/class-use/RouteUtils.html b/doc/util/class-use/RouteUtils.html new file mode 100644 index 00000000..6a586203 --- /dev/null +++ b/doc/util/class-use/RouteUtils.html @@ -0,0 +1,144 @@ + + + + + + +Uses of Class util.RouteUtils + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Class
util.RouteUtils

+
+No usage of util.RouteUtils +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/doc/util/class-use/Solutions.html b/doc/util/class-use/Solutions.html new file mode 100644 index 00000000..4750e822 --- /dev/null +++ b/doc/util/class-use/Solutions.html @@ -0,0 +1,144 @@ + + + + + + +Uses of Class util.Solutions + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Class
util.Solutions

+
+No usage of util.Solutions +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/doc/util/class-use/StopWatch.html b/doc/util/class-use/StopWatch.html new file mode 100644 index 00000000..83bea59d --- /dev/null +++ b/doc/util/class-use/StopWatch.html @@ -0,0 +1,144 @@ + + + + + + +Uses of Class util.StopWatch + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Class
util.StopWatch

+
+No usage of util.StopWatch +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/doc/util/class-use/VehicleRoutingTransportCostsMatrix.Builder.html b/doc/util/class-use/VehicleRoutingTransportCostsMatrix.Builder.html new file mode 100644 index 00000000..4552c3a7 --- /dev/null +++ b/doc/util/class-use/VehicleRoutingTransportCostsMatrix.Builder.html @@ -0,0 +1,200 @@ + + + + + + +Uses of Class util.VehicleRoutingTransportCostsMatrix.Builder + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Class
util.VehicleRoutingTransportCostsMatrix.Builder

+
+ + + + + + + + + +
+Packages that use VehicleRoutingTransportCostsMatrix.Builder
util  
+  +

+ + + + + +
+Uses of VehicleRoutingTransportCostsMatrix.Builder in util
+  +

+ + + + + + + + + + + + + + + + + +
Methods in util that return VehicleRoutingTransportCostsMatrix.Builder
+ VehicleRoutingTransportCostsMatrix.BuilderVehicleRoutingTransportCostsMatrix.Builder.addTransportDistance(java.lang.String from, + java.lang.String to, + double distance) + +
+          Adds a transport-distance for a particular relation.
+ VehicleRoutingTransportCostsMatrix.BuilderVehicleRoutingTransportCostsMatrix.Builder.addTransportTime(java.lang.String from, + java.lang.String to, + double time) + +
+          Adds transport-time for a particular relation.
+static VehicleRoutingTransportCostsMatrix.BuilderVehicleRoutingTransportCostsMatrix.Builder.newInstance(boolean isSymmetric) + +
+          Creates a new builder returning the matrix-builder.
+  +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/doc/util/class-use/VehicleRoutingTransportCostsMatrix.html b/doc/util/class-use/VehicleRoutingTransportCostsMatrix.html new file mode 100644 index 00000000..91d10d31 --- /dev/null +++ b/doc/util/class-use/VehicleRoutingTransportCostsMatrix.html @@ -0,0 +1,180 @@ + + + + + + +Uses of Class util.VehicleRoutingTransportCostsMatrix + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Class
util.VehicleRoutingTransportCostsMatrix

+
+ + + + + + + + + +
+Packages that use VehicleRoutingTransportCostsMatrix
util  
+  +

+ + + + + +
+Uses of VehicleRoutingTransportCostsMatrix in util
+  +

+ + + + + + + + + +
Methods in util that return VehicleRoutingTransportCostsMatrix
+ VehicleRoutingTransportCostsMatrixVehicleRoutingTransportCostsMatrix.Builder.build() + +
+          Builds the matrix.
+  +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/doc/util/class-use/VrpVerifier.html b/doc/util/class-use/VrpVerifier.html new file mode 100644 index 00000000..0bb206a0 --- /dev/null +++ b/doc/util/class-use/VrpVerifier.html @@ -0,0 +1,144 @@ + + + + + + +Uses of Class util.VrpVerifier + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Class
util.VrpVerifier

+
+No usage of util.VrpVerifier +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/doc/util/package-frame.html b/doc/util/package-frame.html new file mode 100644 index 00000000..7516aafc --- /dev/null +++ b/doc/util/package-frame.html @@ -0,0 +1,79 @@ + + + + + + +util + + + + + + + + + + + +util + + + + +
+Interfaces  + +
+Locations +
+Neighborhood
+ + + + + + +
+Classes  + +
+ArrayUtils +
+BenchmarkInstance +
+BenchmarkResult +
+Coordinate +
+Counter +
+CrowFlyCosts +
+EuclideanDistanceCalculator +
+ManhattanCosts +
+ManhattanDistanceCalculator +
+NeighborhoodImpl +
+RandomNumberGeneration +
+Resource +
+RouteUtils +
+Solutions +
+StopWatch +
+VehicleRoutingTransportCostsMatrix +
+VehicleRoutingTransportCostsMatrix.Builder +
+VrpVerifier
+ + + + diff --git a/doc/util/package-summary.html b/doc/util/package-summary.html new file mode 100644 index 00000000..1feb50ca --- /dev/null +++ b/doc/util/package-summary.html @@ -0,0 +1,244 @@ + + + + + + +util + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+

+Package util +

+ + + + + + + + + + + + + +
+Interface Summary
Locations 
Neighborhood 
+  + +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Class Summary
ArrayUtils 
BenchmarkInstance 
BenchmarkResult 
Coordinate 
CounterCounter which is a copy of Counter.java at package org.matsim.core.utils.misc (www.matsim.org);
CrowFlyCosts 
EuclideanDistanceCalculator 
ManhattanCosts 
ManhattanDistanceCalculator 
NeighborhoodImpl 
RandomNumberGeneration 
ResourceThis is a copy of MatsimResource.java (see matsim.org).
RouteUtils 
Solutions 
StopWatch 
VehicleRoutingTransportCostsMatrixCostMatrix that allows pre-compiled time and distance-matrices to be considered as VehicleRoutingRoutingCosts + in the VehicleRoutingProblem.
VehicleRoutingTransportCostsMatrix.BuilderBuilder that builds the matrix.
VrpVerifier 
+  + +

+

+
+
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/doc/util/package-tree.html b/doc/util/package-tree.html new file mode 100644 index 00000000..99f4f0bc --- /dev/null +++ b/doc/util/package-tree.html @@ -0,0 +1,163 @@ + + + + + + +util Class Hierarchy + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Hierarchy For Package util +

+
+
+
Package Hierarchies:
All Packages
+
+

+Class Hierarchy +

+ +

+Interface Hierarchy +

+ +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/doc/util/package-use.html b/doc/util/package-use.html new file mode 100644 index 00000000..e3088c72 --- /dev/null +++ b/doc/util/package-use.html @@ -0,0 +1,270 @@ + + + + + + +Uses of Package util + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Package
util

+
+ + + + + + + + + + + + + + + + + + + + + +
+Packages that use util
algorithms  
basics  
basics.route  
util  
+  +

+ + + + + + + + +
+Classes in util used by algorithms
NeighborhoodImpl + +
+           
+  +

+ + + + + + + + + + + + + + +
+Classes in util used by basics
Coordinate + +
+           
Locations + +
+           
Neighborhood + +
+           
+  +

+ + + + + + + + +
+Classes in util used by basics.route
Coordinate + +
+           
+  +

+ + + + + + + + + + + + + + + + + + + + + + + +
+Classes in util used by util
BenchmarkInstance + +
+           
Coordinate + +
+           
Locations + +
+           
Neighborhood + +
+           
VehicleRoutingTransportCostsMatrix + +
+          CostMatrix that allows pre-compiled time and distance-matrices to be considered as VehicleRoutingRoutingCosts + in the VehicleRoutingProblem.
VehicleRoutingTransportCostsMatrix.Builder + +
+          Builder that builds the matrix.
+  +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/jsprit-core/src/main/java/algorithms/states/ActivityTimeTracker.java b/jsprit-core/src/main/java/algorithms/ActivityTimeTracker.java similarity index 97% rename from jsprit-core/src/main/java/algorithms/states/ActivityTimeTracker.java rename to jsprit-core/src/main/java/algorithms/ActivityTimeTracker.java index 7c99d6ac..1cb0e5b6 100644 --- a/jsprit-core/src/main/java/algorithms/states/ActivityTimeTracker.java +++ b/jsprit-core/src/main/java/algorithms/ActivityTimeTracker.java @@ -1,6 +1,5 @@ -package algorithms.states; +package algorithms; -import algorithms.ActivityVisitor; import basics.costs.ForwardTransportTime; import basics.route.Driver; import basics.route.TourActivity; diff --git a/jsprit-core/src/main/java/algorithms/BestInsertionBuilder.java b/jsprit-core/src/main/java/algorithms/BestInsertionBuilder.java index ac12ad9d..8d6b1b8a 100644 --- a/jsprit-core/src/main/java/algorithms/BestInsertionBuilder.java +++ b/jsprit-core/src/main/java/algorithms/BestInsertionBuilder.java @@ -1,8 +1,5 @@ package algorithms; -import algorithms.constraints.ConstraintManager; -import algorithms.constraints.HardActivityLevelConstraint; -import algorithms.constraints.HardRouteLevelConstraint; import basics.VehicleRoutingProblem; import basics.VehicleRoutingProblem.FleetSize; diff --git a/jsprit-core/src/main/java/algorithms/CalculatesServiceInsertion.java b/jsprit-core/src/main/java/algorithms/CalculatesServiceInsertion.java index 79465800..5de9b85e 100644 --- a/jsprit-core/src/main/java/algorithms/CalculatesServiceInsertion.java +++ b/jsprit-core/src/main/java/algorithms/CalculatesServiceInsertion.java @@ -16,7 +16,6 @@ import org.apache.log4j.Logger; import util.Neighborhood; import algorithms.ActivityInsertionCostCalculator.Marginals; -import algorithms.constraints.HardRouteLevelConstraint; import basics.Job; import basics.Service; import basics.costs.VehicleRoutingTransportCosts; diff --git a/jsprit-core/src/main/java/algorithms/CalculatesServiceInsertionConsideringFixCost.java b/jsprit-core/src/main/java/algorithms/CalculatesServiceInsertionConsideringFixCost.java index 7a03913e..78bf99e8 100644 --- a/jsprit-core/src/main/java/algorithms/CalculatesServiceInsertionConsideringFixCost.java +++ b/jsprit-core/src/main/java/algorithms/CalculatesServiceInsertionConsideringFixCost.java @@ -114,7 +114,7 @@ final class CalculatesServiceInsertionConsideringFixCost implements JobInsertion } private int getCurrentLoad(VehicleRoute route) { - return (int) states.getRouteState(route, StateTypes.LOAD).toDouble(); + return (int) states.getRouteState(route, StateIdFactory.LOAD).toDouble(); } } diff --git a/jsprit-core/src/main/java/algorithms/CalculatesServiceInsertionOnRouteLevel.java b/jsprit-core/src/main/java/algorithms/CalculatesServiceInsertionOnRouteLevel.java index fc255536..8cbd9723 100644 --- a/jsprit-core/src/main/java/algorithms/CalculatesServiceInsertionOnRouteLevel.java +++ b/jsprit-core/src/main/java/algorithms/CalculatesServiceInsertionOnRouteLevel.java @@ -139,7 +139,7 @@ final class CalculatesServiceInsertionOnRouteLevel implements JobInsertionCalcul /** * pre-check whether vehicle-capacity of new vehicle is sufficient to load service. */ - if(states.getRouteState(currentRoute, StateTypes.LOAD).toDouble() + service.getCapacityDemand() > newVehicle.getCapacity()){ + if(states.getRouteState(currentRoute, StateIdFactory.LOAD).toDouble() + service.getCapacityDemand() > newVehicle.getCapacity()){ return InsertionData.noInsertionFound(); } @@ -271,7 +271,7 @@ final class CalculatesServiceInsertionOnRouteLevel implements JobInsertionCalcul /** * compute cost-diff of tour with and without new activity --> insertion_costs */ - double insertion_costs = auxilliaryPathCostCalculator.costOfPath(wholeTour, start.getEndTime(), newDriver, newVehicle) - states.getRouteState(currentRoute,StateTypes.COSTS).toDouble(); + double insertion_costs = auxilliaryPathCostCalculator.costOfPath(wholeTour, start.getEndTime(), newDriver, newVehicle) - states.getRouteState(currentRoute,StateIdFactory.COSTS).toDouble(); /** * if better than best known, make it the best known @@ -316,9 +316,9 @@ final class CalculatesServiceInsertionOnRouteLevel implements JobInsertionCalcul private double pathCost_oldVehicle(VehicleRoute vehicleRoute, List path) { TourActivity act = path.get(path.size()-1); if(act instanceof End){ - return states.getRouteState(vehicleRoute,StateTypes.COSTS).toDouble(); + return states.getRouteState(vehicleRoute,StateIdFactory.COSTS).toDouble(); } - return states.getActivityState(act,StateTypes.COSTS).toDouble(); + return states.getActivityState(act,StateIdFactory.COSTS).toDouble(); } /** diff --git a/jsprit-core/src/main/java/algorithms/CalculatorBuilder.java b/jsprit-core/src/main/java/algorithms/CalculatorBuilder.java index c69fa971..eb02fd9d 100644 --- a/jsprit-core/src/main/java/algorithms/CalculatorBuilder.java +++ b/jsprit-core/src/main/java/algorithms/CalculatorBuilder.java @@ -23,7 +23,6 @@ package algorithms; import java.util.ArrayList; import java.util.List; -import algorithms.constraints.ConstraintManager; import basics.VehicleRoutingProblem; import basics.algo.InsertionListener; import basics.algo.VehicleRoutingAlgorithmListeners.PrioritizedVRAListener; diff --git a/jsprit-core/src/main/java/algorithms/constraints/ConstraintManager.java b/jsprit-core/src/main/java/algorithms/ConstraintManager.java similarity index 93% rename from jsprit-core/src/main/java/algorithms/constraints/ConstraintManager.java rename to jsprit-core/src/main/java/algorithms/ConstraintManager.java index 0f7834c8..58b6288c 100644 --- a/jsprit-core/src/main/java/algorithms/constraints/ConstraintManager.java +++ b/jsprit-core/src/main/java/algorithms/ConstraintManager.java @@ -1,6 +1,5 @@ -package algorithms.constraints; +package algorithms; -import algorithms.InsertionContext; import basics.route.TourActivity; public class ConstraintManager implements HardActivityLevelConstraint, HardRouteLevelConstraint{ diff --git a/jsprit-core/src/main/java/algorithms/FindCheaperVehicleAlgo.java b/jsprit-core/src/main/java/algorithms/FindCheaperVehicleAlgo.java index 0304643e..534c27be 100644 --- a/jsprit-core/src/main/java/algorithms/FindCheaperVehicleAlgo.java +++ b/jsprit-core/src/main/java/algorithms/FindCheaperVehicleAlgo.java @@ -83,11 +83,11 @@ final class FindCheaperVehicleAlgo { if(vehicle.getType().getTypeId().equals(vehicleRoute.getVehicle().getType().getTypeId())){ continue; } - if(states.getRouteState(vehicleRoute,StateTypes.LOAD).toDouble() <= vehicle.getCapacity()){ + if(states.getRouteState(vehicleRoute,StateIdFactory.LOAD).toDouble() <= vehicle.getCapacity()){ double fixCostSaving = vehicleRoute.getVehicle().getType().getVehicleCostParams().fix - vehicle.getType().getVehicleCostParams().fix; double departureTime = vehicleRoute.getStart().getEndTime(); double newCost = auxilliaryCostCalculator.costOfPath(path, departureTime, vehicleRoute.getDriver(), vehicle); - double varCostSaving = states.getRouteState(vehicleRoute, StateTypes.COSTS).toDouble() - newCost; + double varCostSaving = states.getRouteState(vehicleRoute, StateIdFactory.COSTS).toDouble() - newCost; double totalCostSaving = varCostSaving + weightFixCosts*fixCostSaving; if(totalCostSaving > bestSaving){ bestSaving = totalCostSaving; diff --git a/jsprit-core/src/main/java/algorithms/constraints/HardActivityLevelConstraint.java b/jsprit-core/src/main/java/algorithms/HardActivityLevelConstraint.java similarity index 76% rename from jsprit-core/src/main/java/algorithms/constraints/HardActivityLevelConstraint.java rename to jsprit-core/src/main/java/algorithms/HardActivityLevelConstraint.java index cb2a6067..b70cdcd1 100644 --- a/jsprit-core/src/main/java/algorithms/constraints/HardActivityLevelConstraint.java +++ b/jsprit-core/src/main/java/algorithms/HardActivityLevelConstraint.java @@ -1,6 +1,5 @@ -package algorithms.constraints; +package algorithms; -import algorithms.InsertionContext; import basics.route.TourActivity; public interface HardActivityLevelConstraint { diff --git a/jsprit-core/src/main/java/algorithms/constraints/HardActivityLevelConstraintManager.java b/jsprit-core/src/main/java/algorithms/HardActivityLevelConstraintManager.java similarity index 91% rename from jsprit-core/src/main/java/algorithms/constraints/HardActivityLevelConstraintManager.java rename to jsprit-core/src/main/java/algorithms/HardActivityLevelConstraintManager.java index d921d7c3..2f3bd986 100644 --- a/jsprit-core/src/main/java/algorithms/constraints/HardActivityLevelConstraintManager.java +++ b/jsprit-core/src/main/java/algorithms/HardActivityLevelConstraintManager.java @@ -1,9 +1,8 @@ -package algorithms.constraints; +package algorithms; import java.util.ArrayList; import java.util.Collection; -import algorithms.InsertionContext; import basics.route.TourActivity; class HardActivityLevelConstraintManager implements HardActivityLevelConstraint { diff --git a/jsprit-core/src/main/java/algorithms/constraints/HardConstraints.java b/jsprit-core/src/main/java/algorithms/HardConstraints.java similarity index 98% rename from jsprit-core/src/main/java/algorithms/constraints/HardConstraints.java rename to jsprit-core/src/main/java/algorithms/HardConstraints.java index 7a71b10e..3a868884 100644 --- a/jsprit-core/src/main/java/algorithms/constraints/HardConstraints.java +++ b/jsprit-core/src/main/java/algorithms/HardConstraints.java @@ -18,7 +18,7 @@ * Contributors: * Stefan Schroeder - initial API and implementation ******************************************************************************/ -package algorithms.constraints; +package algorithms; diff --git a/jsprit-core/src/main/java/algorithms/constraints/HardLoadConstraint.java b/jsprit-core/src/main/java/algorithms/HardLoadConstraint.java similarity index 76% rename from jsprit-core/src/main/java/algorithms/constraints/HardLoadConstraint.java rename to jsprit-core/src/main/java/algorithms/HardLoadConstraint.java index d62f1f47..85d13fda 100644 --- a/jsprit-core/src/main/java/algorithms/constraints/HardLoadConstraint.java +++ b/jsprit-core/src/main/java/algorithms/HardLoadConstraint.java @@ -1,8 +1,5 @@ -package algorithms.constraints; +package algorithms; -import algorithms.InsertionContext; -import algorithms.StateManager; -import algorithms.StateTypes; import basics.Service; public class HardLoadConstraint implements HardRouteLevelConstraint{ @@ -16,7 +13,7 @@ public class HardLoadConstraint implements HardRouteLevelConstraint{ @Override public boolean fulfilled(InsertionContext insertionContext) { - int currentLoad = (int) states.getRouteState(insertionContext.getRoute(), StateTypes.LOAD).toDouble(); + int currentLoad = (int) states.getRouteState(insertionContext.getRoute(), StateIdFactory.LOAD).toDouble(); Service service = (Service) insertionContext.getJob(); if(currentLoad + service.getCapacityDemand() > insertionContext.getNewVehicle().getCapacity()){ return false; diff --git a/jsprit-core/src/main/java/algorithms/constraints/HardPickupAndDeliveryActivityLevelConstraint.java b/jsprit-core/src/main/java/algorithms/HardPickupAndDeliveryActivityLevelConstraint.java similarity index 82% rename from jsprit-core/src/main/java/algorithms/constraints/HardPickupAndDeliveryActivityLevelConstraint.java rename to jsprit-core/src/main/java/algorithms/HardPickupAndDeliveryActivityLevelConstraint.java index 97749776..30c9d681 100644 --- a/jsprit-core/src/main/java/algorithms/constraints/HardPickupAndDeliveryActivityLevelConstraint.java +++ b/jsprit-core/src/main/java/algorithms/HardPickupAndDeliveryActivityLevelConstraint.java @@ -1,8 +1,5 @@ -package algorithms.constraints; +package algorithms; -import algorithms.InsertionContext; -import algorithms.StateManager; -import algorithms.StateTypes; import basics.route.DeliveryActivity; import basics.route.PickupActivity; import basics.route.ServiceActivity; @@ -24,14 +21,14 @@ public class HardPickupAndDeliveryActivityLevelConstraint implements HardActivit int futurePicks; int pastDeliveries; if(prevAct instanceof Start){ - loadAtPrevAct = (int)stateManager.getRouteState(iFacts.getRoute(), StateTypes.LOAD_AT_DEPOT).toDouble(); - futurePicks = (int)stateManager.getRouteState(iFacts.getRoute(), StateTypes.LOAD).toDouble(); + loadAtPrevAct = (int)stateManager.getRouteState(iFacts.getRoute(), StateIdFactory.LOAD_AT_DEPOT).toDouble(); + futurePicks = (int)stateManager.getRouteState(iFacts.getRoute(), StateIdFactory.LOAD).toDouble(); pastDeliveries = 0; } else{ - loadAtPrevAct = (int) stateManager.getActivityState(prevAct, StateTypes.LOAD).toDouble(); - futurePicks = (int) stateManager.getActivityState(prevAct, StateTypes.FUTURE_PICKS).toDouble(); - pastDeliveries = (int) stateManager.getActivityState(prevAct, StateTypes.PAST_DELIVERIES).toDouble(); + loadAtPrevAct = (int) stateManager.getActivityState(prevAct, StateIdFactory.LOAD).toDouble(); + futurePicks = (int) stateManager.getActivityState(prevAct, StateIdFactory.FUTURE_PICKS).toDouble(); + pastDeliveries = (int) stateManager.getActivityState(prevAct, StateIdFactory.PAST_DELIVERIES).toDouble(); } if(newAct instanceof PickupActivity || newAct instanceof ServiceActivity){ if(loadAtPrevAct + newAct.getCapacityDemand() + futurePicks > iFacts.getNewVehicle().getCapacity()){ diff --git a/jsprit-core/src/main/java/algorithms/constraints/HardPickupAndDeliveryBackhaulActivityLevelConstraint.java b/jsprit-core/src/main/java/algorithms/HardPickupAndDeliveryBackhaulActivityLevelConstraint.java similarity index 85% rename from jsprit-core/src/main/java/algorithms/constraints/HardPickupAndDeliveryBackhaulActivityLevelConstraint.java rename to jsprit-core/src/main/java/algorithms/HardPickupAndDeliveryBackhaulActivityLevelConstraint.java index d2190b98..7e8a9b8f 100644 --- a/jsprit-core/src/main/java/algorithms/constraints/HardPickupAndDeliveryBackhaulActivityLevelConstraint.java +++ b/jsprit-core/src/main/java/algorithms/HardPickupAndDeliveryBackhaulActivityLevelConstraint.java @@ -1,8 +1,5 @@ -package algorithms.constraints; +package algorithms; -import algorithms.InsertionContext; -import algorithms.StateManager; -import algorithms.StateTypes; import basics.route.DeliveryActivity; import basics.route.PickupActivity; import basics.route.ServiceActivity; @@ -28,14 +25,14 @@ public class HardPickupAndDeliveryBackhaulActivityLevelConstraint implements Har int futurePicks; int pastDeliveries; if(prevAct instanceof Start){ - loadAtPrevAct = (int)stateManager.getRouteState(iFacts.getRoute(), StateTypes.LOAD_AT_DEPOT).toDouble(); - futurePicks = (int)stateManager.getRouteState(iFacts.getRoute(), StateTypes.LOAD).toDouble(); + loadAtPrevAct = (int)stateManager.getRouteState(iFacts.getRoute(), StateIdFactory.LOAD_AT_DEPOT).toDouble(); + futurePicks = (int)stateManager.getRouteState(iFacts.getRoute(), StateIdFactory.LOAD).toDouble(); pastDeliveries = 0; } else{ - loadAtPrevAct = (int) stateManager.getActivityState(prevAct, StateTypes.LOAD).toDouble(); - futurePicks = (int) stateManager.getActivityState(prevAct, StateTypes.FUTURE_PICKS).toDouble(); - pastDeliveries = (int) stateManager.getActivityState(prevAct, StateTypes.PAST_DELIVERIES).toDouble(); + loadAtPrevAct = (int) stateManager.getActivityState(prevAct, StateIdFactory.LOAD).toDouble(); + futurePicks = (int) stateManager.getActivityState(prevAct, StateIdFactory.FUTURE_PICKS).toDouble(); + pastDeliveries = (int) stateManager.getActivityState(prevAct, StateIdFactory.PAST_DELIVERIES).toDouble(); } if(newAct instanceof PickupActivity || newAct instanceof ServiceActivity){ if(loadAtPrevAct + newAct.getCapacityDemand() + futurePicks > iFacts.getNewVehicle().getCapacity()){ diff --git a/jsprit-core/src/main/java/algorithms/constraints/HardPickupAndDeliveryLoadConstraint.java b/jsprit-core/src/main/java/algorithms/HardPickupAndDeliveryLoadConstraint.java similarity index 81% rename from jsprit-core/src/main/java/algorithms/constraints/HardPickupAndDeliveryLoadConstraint.java rename to jsprit-core/src/main/java/algorithms/HardPickupAndDeliveryLoadConstraint.java index 0cae5f95..6bccd2dc 100644 --- a/jsprit-core/src/main/java/algorithms/constraints/HardPickupAndDeliveryLoadConstraint.java +++ b/jsprit-core/src/main/java/algorithms/HardPickupAndDeliveryLoadConstraint.java @@ -1,8 +1,5 @@ -package algorithms.constraints; +package algorithms; -import algorithms.InsertionContext; -import algorithms.StateManager; -import algorithms.StateTypes; import basics.Delivery; import basics.Pickup; import basics.Service; @@ -25,13 +22,13 @@ public class HardPickupAndDeliveryLoadConstraint implements HardRouteLevelConstr @Override public boolean fulfilled(InsertionContext insertionContext) { if(insertionContext.getJob() instanceof Delivery){ - int loadAtDepot = (int) stateManager.getRouteState(insertionContext.getRoute(), StateTypes.LOAD_AT_DEPOT).toDouble(); + int loadAtDepot = (int) stateManager.getRouteState(insertionContext.getRoute(), StateIdFactory.LOAD_AT_DEPOT).toDouble(); if(loadAtDepot + insertionContext.getJob().getCapacityDemand() > insertionContext.getNewVehicle().getCapacity()){ return false; } } else if(insertionContext.getJob() instanceof Pickup || insertionContext.getJob() instanceof Service){ - int loadAtEnd = (int) stateManager.getRouteState(insertionContext.getRoute(), StateTypes.LOAD).toDouble(); + int loadAtEnd = (int) stateManager.getRouteState(insertionContext.getRoute(), StateIdFactory.LOAD).toDouble(); if(loadAtEnd + insertionContext.getJob().getCapacityDemand() > insertionContext.getNewVehicle().getCapacity()){ return false; } diff --git a/jsprit-core/src/main/java/algorithms/constraints/HardRouteLevelConstraint.java b/jsprit-core/src/main/java/algorithms/HardRouteLevelConstraint.java similarity index 61% rename from jsprit-core/src/main/java/algorithms/constraints/HardRouteLevelConstraint.java rename to jsprit-core/src/main/java/algorithms/HardRouteLevelConstraint.java index 8a1ee1c0..9cbd6258 100644 --- a/jsprit-core/src/main/java/algorithms/constraints/HardRouteLevelConstraint.java +++ b/jsprit-core/src/main/java/algorithms/HardRouteLevelConstraint.java @@ -1,6 +1,5 @@ -package algorithms.constraints; +package algorithms; -import algorithms.InsertionContext; public interface HardRouteLevelConstraint { diff --git a/jsprit-core/src/main/java/algorithms/constraints/HardRouteLevelConstraintManager.java b/jsprit-core/src/main/java/algorithms/HardRouteLevelConstraintManager.java similarity index 89% rename from jsprit-core/src/main/java/algorithms/constraints/HardRouteLevelConstraintManager.java rename to jsprit-core/src/main/java/algorithms/HardRouteLevelConstraintManager.java index 681f816c..c9fe37fb 100644 --- a/jsprit-core/src/main/java/algorithms/constraints/HardRouteLevelConstraintManager.java +++ b/jsprit-core/src/main/java/algorithms/HardRouteLevelConstraintManager.java @@ -1,9 +1,8 @@ -package algorithms.constraints; +package algorithms; import java.util.ArrayList; import java.util.Collection; -import algorithms.InsertionContext; class HardRouteLevelConstraintManager implements HardRouteLevelConstraint { diff --git a/jsprit-core/src/main/java/algorithms/constraints/HardTimeWindowActivityLevelConstraint.java b/jsprit-core/src/main/java/algorithms/HardTimeWindowActivityLevelConstraint.java similarity index 86% rename from jsprit-core/src/main/java/algorithms/constraints/HardTimeWindowActivityLevelConstraint.java rename to jsprit-core/src/main/java/algorithms/HardTimeWindowActivityLevelConstraint.java index ac3059a5..d12d0ecc 100644 --- a/jsprit-core/src/main/java/algorithms/constraints/HardTimeWindowActivityLevelConstraint.java +++ b/jsprit-core/src/main/java/algorithms/HardTimeWindowActivityLevelConstraint.java @@ -1,11 +1,7 @@ -package algorithms.constraints; +package algorithms; import org.apache.log4j.Logger; -import algorithms.CalculationUtils; -import algorithms.InsertionContext; -import algorithms.StateManager; -import algorithms.StateTypes; import basics.costs.VehicleRoutingTransportCosts; import basics.route.TourActivity; @@ -32,14 +28,14 @@ import basics.route.TourActivity; public boolean fulfilled(InsertionContext iFacts, TourActivity prevAct, TourActivity newAct, TourActivity nextAct, double prevActDepTime) { // log.info("check insertion of " + newAct + " between " + prevAct + " and " + nextAct + ". prevActDepTime=" + prevActDepTime); double arrTimeAtNewAct = prevActDepTime + routingCosts.getTransportTime(prevAct.getLocationId(), newAct.getLocationId(), prevActDepTime, iFacts.getNewDriver(), iFacts.getNewVehicle()); - double latestArrTimeAtNewAct = states.getActivityState(newAct, StateTypes.LATEST_OPERATION_START_TIME).toDouble(); + double latestArrTimeAtNewAct = states.getActivityState(newAct, StateIdFactory.LATEST_OPERATION_START_TIME).toDouble(); if(arrTimeAtNewAct > latestArrTimeAtNewAct){ return false; } // log.info(newAct + " arrTime=" + arrTimeAtNewAct); double endTimeAtNewAct = CalculationUtils.getActivityEndTime(arrTimeAtNewAct, newAct); double arrTimeAtNextAct = endTimeAtNewAct + routingCosts.getTransportTime(newAct.getLocationId(), nextAct.getLocationId(), endTimeAtNewAct, iFacts.getNewDriver(), iFacts.getNewVehicle()); - double latestArrTimeAtNextAct = states.getActivityState(nextAct, StateTypes.LATEST_OPERATION_START_TIME).toDouble(); + double latestArrTimeAtNextAct = states.getActivityState(nextAct, StateIdFactory.LATEST_OPERATION_START_TIME).toDouble(); if(arrTimeAtNextAct > latestArrTimeAtNextAct){ return false; } diff --git a/jsprit-core/src/main/java/algorithms/states/InitializeLoadsAtStartAndEndOfRouteWhenInsertionStarts.java b/jsprit-core/src/main/java/algorithms/InitializeLoadsAtStartAndEndOfRouteWhenInsertionStarts.java similarity index 87% rename from jsprit-core/src/main/java/algorithms/states/InitializeLoadsAtStartAndEndOfRouteWhenInsertionStarts.java rename to jsprit-core/src/main/java/algorithms/InitializeLoadsAtStartAndEndOfRouteWhenInsertionStarts.java index 0ad81e61..58ed2252 100644 --- a/jsprit-core/src/main/java/algorithms/states/InitializeLoadsAtStartAndEndOfRouteWhenInsertionStarts.java +++ b/jsprit-core/src/main/java/algorithms/InitializeLoadsAtStartAndEndOfRouteWhenInsertionStarts.java @@ -1,10 +1,8 @@ -package algorithms.states; +package algorithms; import java.util.Collection; -import algorithms.StateManagerImpl; import algorithms.StateManagerImpl.StateImpl; -import algorithms.StateTypes; import basics.Delivery; import basics.Job; import basics.Pickup; @@ -52,8 +50,8 @@ public class InitializeLoadsAtStartAndEndOfRouteWhenInsertionStarts implements I loadAtEnd += j.getCapacityDemand(); } } - stateManager.putRouteState(route, StateTypes.LOAD_AT_DEPOT, new StateImpl(loadAtDepot)); - stateManager.putRouteState(route, StateTypes.LOAD, new StateImpl(loadAtEnd)); + stateManager.putRouteState(route, StateIdFactory.LOAD_AT_DEPOT, new StateImpl(loadAtDepot)); + stateManager.putRouteState(route, StateIdFactory.LOAD, new StateImpl(loadAtEnd)); } @Override diff --git a/jsprit-core/src/main/java/algorithms/InsertionFactory.java b/jsprit-core/src/main/java/algorithms/InsertionFactory.java index 34bf9097..56df8ad8 100644 --- a/jsprit-core/src/main/java/algorithms/InsertionFactory.java +++ b/jsprit-core/src/main/java/algorithms/InsertionFactory.java @@ -27,7 +27,6 @@ import java.util.concurrent.ExecutorService; import org.apache.commons.configuration.HierarchicalConfiguration; import org.apache.log4j.Logger; -import algorithms.constraints.ConstraintManager; import basics.VehicleRoutingProblem; import basics.algo.InsertionListener; import basics.algo.VehicleRoutingAlgorithmListeners.PrioritizedVRAListener; diff --git a/jsprit-core/src/main/java/algorithms/MarginalsCalculusTriangleInequality.java b/jsprit-core/src/main/java/algorithms/MarginalsCalculusTriangleInequality.java index b2a67442..211be756 100644 --- a/jsprit-core/src/main/java/algorithms/MarginalsCalculusTriangleInequality.java +++ b/jsprit-core/src/main/java/algorithms/MarginalsCalculusTriangleInequality.java @@ -20,7 +20,6 @@ ******************************************************************************/ package algorithms; -import algorithms.constraints.HardActivityLevelConstraint; import basics.costs.VehicleRoutingActivityCosts; import basics.costs.VehicleRoutingTransportCosts; import basics.route.TourActivity; diff --git a/jsprit-core/src/main/java/algorithms/StateIdFactory.java b/jsprit-core/src/main/java/algorithms/StateIdFactory.java new file mode 100644 index 00000000..cb4eadf0 --- /dev/null +++ b/jsprit-core/src/main/java/algorithms/StateIdFactory.java @@ -0,0 +1,119 @@ +/******************************************************************************* + * Copyright (C) 2013 Stefan Schroeder + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU General Public License + * as published by the Free Software Foundation; either version 2 + * of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * + * Contributors: + * Stefan Schroeder - initial API and implementation + ******************************************************************************/ +package algorithms; + +import java.util.Arrays; +import java.util.List; + +import algorithms.StateManager.StateId; + +public class StateIdFactory { +// public final static String LOAD = "load"; + +// public final static String LOAD_AT_DEPOT = "loadAtDepot"; + +// public final static String DURATION = "duration"; + +// public final static String LATEST_OPERATION_START_TIME = "latestOST"; + +// public final static String EARLIEST_OPERATION_START_TIME = "earliestOST"; + +// public static final String COSTS = "costs"; + +// public final static String FUTURE_PICKS = "futurePicks"; + +// public final static String PAST_DELIVERIES = "pastDeliveries"; + + final static StateId LOAD = new StateIdImpl("load"); + + final static StateId COSTS = new StateIdImpl("costs"); + + final static StateId LOAD_AT_DEPOT = new StateIdImpl("loadAtDepot"); + + final static StateId DURATION = new StateIdImpl("duration"); + + final static StateId LATEST_OPERATION_START_TIME = new StateIdImpl("latestOST"); + + final static StateId EARLIEST_OPERATION_START_TIME = new StateIdImpl("earliestOST"); + + final static StateId FUTURE_PICKS = new StateIdImpl("futurePicks"); + + final static StateId PAST_DELIVERIES = new StateIdImpl("pastDeliveries"); + + final static List reservedIds = Arrays.asList("load","costs","loadAtDepot","duration","latestOST","earliestOST" + ,"futurePicks","pastDeliveries"); + + + public static StateId createId(String name){ + if(reservedIds.contains(name)){ throwException(name); } + return new StateIdImpl(name); + } + + private static void throwException(String name) { + throw new IllegalStateException("state-id with name '" + name + "' cannot be created. it is already reserved internally."); + } + + + static class StateIdImpl implements StateId { + + /* (non-Javadoc) + * @see java.lang.Object#hashCode() + */ + @Override + public int hashCode() { + final int prime = 31; + int result = 1; + result = prime * result + ((name == null) ? 0 : name.hashCode()); + return result; + } + + /* (non-Javadoc) + * @see java.lang.Object#equals(java.lang.Object) + */ + @Override + public boolean equals(Object obj) { + if (this == obj) + return true; + if (obj == null) + return false; + if (getClass() != obj.getClass()) + return false; + StateIdImpl other = (StateIdImpl) obj; + if (name == null) { + if (other.name != null) + return false; + } else if (!name.equals(other.name)) + return false; + return true; + } + + private String name; + + public StateIdImpl(String name) { + super(); + this.name = name; + } + + public String toString(){ + return name; + } + } +} diff --git a/jsprit-core/src/main/java/algorithms/StateManager.java b/jsprit-core/src/main/java/algorithms/StateManager.java index e39f6a4d..b3438681 100644 --- a/jsprit-core/src/main/java/algorithms/StateManager.java +++ b/jsprit-core/src/main/java/algorithms/StateManager.java @@ -25,12 +25,16 @@ import basics.route.VehicleRoute; public interface StateManager { - interface State { + public interface StateId { + + } + + public interface State { double toDouble(); } - State getActivityState(TourActivity act, String stateType); + State getActivityState(TourActivity act, StateId stateId); - State getRouteState(VehicleRoute route, String stateType); + State getRouteState(VehicleRoute route, StateId stateId); } diff --git a/jsprit-core/src/main/java/algorithms/StateManagerImpl.java b/jsprit-core/src/main/java/algorithms/StateManagerImpl.java index 72edd57c..8342d483 100644 --- a/jsprit-core/src/main/java/algorithms/StateManagerImpl.java +++ b/jsprit-core/src/main/java/algorithms/StateManagerImpl.java @@ -25,7 +25,6 @@ import java.util.Collection; import java.util.HashMap; import java.util.Map; -import algorithms.StateManager.State; import basics.Job; import basics.VehicleRoutingProblem; import basics.VehicleRoutingProblemSolution; @@ -44,7 +43,7 @@ public class StateManagerImpl implements StateManager, IterationStartsListener, private interface States { - State getState(String key); + State getState(StateId key); } @@ -65,14 +64,14 @@ public class StateManagerImpl implements StateManager, IterationStartsListener, private static class StatesImpl implements States{ - private Map states = new HashMap(); + private Map states = new HashMap(); - public void putState(String key, State state) { + public void putState(StateId key, State state) { states.put(key, state); } @Override - public State getState(String key) { + public State getState(StateId key) { return states.get(key); } @@ -115,65 +114,65 @@ public class StateManagerImpl implements StateManager, IterationStartsListener, } @Override - public State getActivityState(TourActivity act, String stateType) { + public State getActivityState(TourActivity act, StateId stateId) { if(!activityStates.containsKey(act)){ - return getDefaultActState(stateType,act); + return getDefaultActState(stateId,act); } StatesImpl actStates = (StatesImpl) activityStates.get(act); - State state = actStates.getState(stateType); + State state = actStates.getState(stateId); if(state == null){ - return getDefaultActState(stateType,act); + return getDefaultActState(stateId,act); } return state; } - public void putActivityState(TourActivity act, String stateType, State state){ + public void putActivityState(TourActivity act, StateId stateId, State state){ if(!activityStates.containsKey(act)){ activityStates.put(act, new StatesImpl()); } StatesImpl actStates = (StatesImpl) activityStates.get(act); - actStates.putState(stateType, state); + actStates.putState(stateId, state); } - private State getDefaultActState(String stateType, TourActivity act){ - if(stateType.equals(StateTypes.LOAD)) return new StateImpl(0); - if(stateType.equals(StateTypes.COSTS)) return new StateImpl(0); - if(stateType.equals(StateTypes.DURATION)) return new StateImpl(0); - if(stateType.equals(StateTypes.EARLIEST_OPERATION_START_TIME)) return new StateImpl(act.getTheoreticalEarliestOperationStartTime()); - if(stateType.equals(StateTypes.LATEST_OPERATION_START_TIME)) return new StateImpl(act.getTheoreticalLatestOperationStartTime()); - if(stateType.equals(StateTypes.FUTURE_PICKS)) return new StateImpl(0); - if(stateType.equals(StateTypes.PAST_DELIVERIES)) return new StateImpl(0); + private State getDefaultActState(StateId stateId, TourActivity act){ + if(stateId.equals(StateIdFactory.LOAD)) return new StateImpl(0); + if(stateId.equals(StateIdFactory.COSTS)) return new StateImpl(0); + if(stateId.equals(StateIdFactory.DURATION)) return new StateImpl(0); + if(stateId.equals(StateIdFactory.EARLIEST_OPERATION_START_TIME)) return new StateImpl(act.getTheoreticalEarliestOperationStartTime()); + if(stateId.equals(StateIdFactory.LATEST_OPERATION_START_TIME)) return new StateImpl(act.getTheoreticalLatestOperationStartTime()); + if(stateId.equals(StateIdFactory.FUTURE_PICKS)) return new StateImpl(0); + if(stateId.equals(StateIdFactory.PAST_DELIVERIES)) return new StateImpl(0); return null; } - private State getDefaultRouteState(String stateType, VehicleRoute route){ - if(stateType.equals(StateTypes.LOAD)) return new StateImpl(0); - if(stateType.equals(StateTypes.LOAD_AT_DEPOT)) return new StateImpl(0); - if(stateType.equals(StateTypes.COSTS)) return new StateImpl(0); - if(stateType.equals(StateTypes.DURATION)) return new StateImpl(0); + private State getDefaultRouteState(StateId stateId, VehicleRoute route){ + if(stateId.equals(StateIdFactory.LOAD)) return new StateImpl(0); + if(stateId.equals(StateIdFactory.LOAD_AT_DEPOT)) return new StateImpl(0); + if(stateId.equals(StateIdFactory.COSTS)) return new StateImpl(0); + if(stateId.equals(StateIdFactory.DURATION)) return new StateImpl(0); return null; } @Override - public State getRouteState(VehicleRoute route, String stateType) { + public State getRouteState(VehicleRoute route, StateId stateId) { if(!vehicleRouteStates.containsKey(route)){ - return getDefaultRouteState(stateType,route); + return getDefaultRouteState(stateId,route); } StatesImpl routeStates = (StatesImpl) vehicleRouteStates.get(route); - State state = routeStates.getState(stateType); + State state = routeStates.getState(stateId); if(state == null){ - return getDefaultRouteState(stateType, route); + return getDefaultRouteState(stateId, route); } return state; } - public void putRouteState(VehicleRoute route, String stateType, State state){ + public void putRouteState(VehicleRoute route, StateId stateId, State state){ if(!vehicleRouteStates.containsKey(route)){ vehicleRouteStates.put(route, new StatesImpl()); } StatesImpl routeStates = (StatesImpl) vehicleRouteStates.get(route); - routeStates.putState(stateType, state); + routeStates.putState(stateId, state); } @Override diff --git a/jsprit-core/src/main/java/algorithms/StateTypes.java b/jsprit-core/src/main/java/algorithms/StateTypes.java deleted file mode 100644 index 0b824f05..00000000 --- a/jsprit-core/src/main/java/algorithms/StateTypes.java +++ /dev/null @@ -1,39 +0,0 @@ -/******************************************************************************* - * Copyright (C) 2013 Stefan Schroeder - * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU General Public License - * as published by the Free Software Foundation; either version 2 - * of the License, or (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - * - * Contributors: - * Stefan Schroeder - initial API and implementation - ******************************************************************************/ -package algorithms; - -public class StateTypes { - public final static String LOAD = "load"; - - public final static String LOAD_AT_DEPOT = "loadAtDepot"; - - public final static String DURATION = "duration"; - - public final static String LATEST_OPERATION_START_TIME = "latestOST"; - - public final static String EARLIEST_OPERATION_START_TIME = "earliestOST"; - - public static final String COSTS = "costs"; - - public final static String FUTURE_PICKS = "futurePicks"; - - public final static String PAST_DELIVERIES = "pastDeliveries"; -} diff --git a/jsprit-core/src/main/java/algorithms/states/StateUpdates.java b/jsprit-core/src/main/java/algorithms/StateUpdates.java similarity index 96% rename from jsprit-core/src/main/java/algorithms/states/StateUpdates.java rename to jsprit-core/src/main/java/algorithms/StateUpdates.java index 22d715b0..c85d7d92 100644 --- a/jsprit-core/src/main/java/algorithms/states/StateUpdates.java +++ b/jsprit-core/src/main/java/algorithms/StateUpdates.java @@ -18,17 +18,12 @@ * Contributors: * Stefan Schroeder - initial API and implementation ******************************************************************************/ -package algorithms.states; +package algorithms; import java.util.ArrayList; import java.util.Collection; -import algorithms.ActivityVisitor; -import algorithms.ReverseActivityVisitor; -import algorithms.ReverseRouteActivityVisitor; -import algorithms.RouteActivityVisitor; -import algorithms.StateManagerImpl; import basics.Job; import basics.VehicleRoutingProblem; import basics.VehicleRoutingProblemSolution; diff --git a/jsprit-core/src/main/java/algorithms/states/UpdateActivityTimes.java b/jsprit-core/src/main/java/algorithms/UpdateActivityTimes.java similarity index 95% rename from jsprit-core/src/main/java/algorithms/states/UpdateActivityTimes.java rename to jsprit-core/src/main/java/algorithms/UpdateActivityTimes.java index 62ea3952..b51c871b 100644 --- a/jsprit-core/src/main/java/algorithms/states/UpdateActivityTimes.java +++ b/jsprit-core/src/main/java/algorithms/UpdateActivityTimes.java @@ -1,8 +1,7 @@ -package algorithms.states; +package algorithms; import org.apache.log4j.Logger; -import algorithms.ActivityVisitor; import basics.costs.ForwardTransportTime; import basics.route.TourActivity; import basics.route.VehicleRoute; diff --git a/jsprit-core/src/main/java/algorithms/states/UpdateCostsAtAllLevels.java b/jsprit-core/src/main/java/algorithms/UpdateCostsAtAllLevels.java similarity index 92% rename from jsprit-core/src/main/java/algorithms/states/UpdateCostsAtAllLevels.java rename to jsprit-core/src/main/java/algorithms/UpdateCostsAtAllLevels.java index 22830629..87a2bd85 100644 --- a/jsprit-core/src/main/java/algorithms/states/UpdateCostsAtAllLevels.java +++ b/jsprit-core/src/main/java/algorithms/UpdateCostsAtAllLevels.java @@ -1,11 +1,8 @@ -package algorithms.states; +package algorithms; import org.apache.log4j.Logger; -import algorithms.ActivityVisitor; -import algorithms.StateManagerImpl; import algorithms.StateManagerImpl.StateImpl; -import algorithms.StateTypes; import basics.costs.ForwardTransportCost; import basics.costs.VehicleRoutingActivityCosts; import basics.costs.VehicleRoutingTransportCosts; @@ -84,7 +81,7 @@ public class UpdateCostsAtAllLevels implements ActivityVisitor{ totalOperationCost += transportCost; totalOperationCost += actCost; - states.putActivityState(act, StateTypes.COSTS, new StateImpl(totalOperationCost)); + states.putActivityState(act, StateIdFactory.COSTS, new StateImpl(totalOperationCost)); prevAct = act; startTimeAtPrevAct = timeTracker.getActEndTime(); @@ -102,7 +99,7 @@ public class UpdateCostsAtAllLevels implements ActivityVisitor{ totalOperationCost += transportCost; totalOperationCost += actCost; - states.putRouteState(vehicleRoute, StateTypes.COSTS, new StateImpl(totalOperationCost)); + states.putRouteState(vehicleRoute, StateIdFactory.COSTS, new StateImpl(totalOperationCost)); //this is rather strange and likely to change vehicleRoute.getVehicleRouteCostCalculator().price(vehicleRoute.getDriver()); diff --git a/jsprit-core/src/main/java/algorithms/states/UpdateCostsAtRouteLevel.java b/jsprit-core/src/main/java/algorithms/UpdateCostsAtRouteLevel.java similarity index 85% rename from jsprit-core/src/main/java/algorithms/states/UpdateCostsAtRouteLevel.java rename to jsprit-core/src/main/java/algorithms/UpdateCostsAtRouteLevel.java index 2a56897a..7239d0f5 100644 --- a/jsprit-core/src/main/java/algorithms/states/UpdateCostsAtRouteLevel.java +++ b/jsprit-core/src/main/java/algorithms/UpdateCostsAtRouteLevel.java @@ -1,11 +1,8 @@ -package algorithms.states; +package algorithms; import java.util.Collection; -import algorithms.RouteActivityVisitor; -import algorithms.StateManagerImpl; import algorithms.StateManagerImpl.StateImpl; -import algorithms.StateTypes; import basics.Job; import basics.algo.InsertionEndsListener; import basics.algo.InsertionStartsListener; @@ -32,9 +29,9 @@ public class UpdateCostsAtRouteLevel implements JobInsertedListener, InsertionSt @Override public void informJobInserted(Job job2insert, VehicleRoute inRoute, double additionalCosts, double additionalTime) { // inRoute.getVehicleRouteCostCalculator().addTransportCost(additionalCosts); - double oldCosts = states.getRouteState(inRoute, StateTypes.COSTS).toDouble(); + double oldCosts = states.getRouteState(inRoute, StateIdFactory.COSTS).toDouble(); oldCosts += additionalCosts; - states.putRouteState(inRoute, StateTypes.COSTS, new StateImpl(oldCosts)); + states.putRouteState(inRoute, StateIdFactory.COSTS, new StateImpl(oldCosts)); } @Override @@ -55,7 +52,7 @@ public class UpdateCostsAtRouteLevel implements JobInsertedListener, InsertionSt for(VehicleRoute route : vehicleRoutes){ if(route.isEmpty()) continue; route.getVehicleRouteCostCalculator().reset(); - route.getVehicleRouteCostCalculator().addOtherCost(states.getRouteState(route, StateTypes.COSTS).toDouble()); + route.getVehicleRouteCostCalculator().addOtherCost(states.getRouteState(route, StateIdFactory.COSTS).toDouble()); route.getVehicleRouteCostCalculator().price(route.getVehicle()); // forwardInTime.iterate(route); } diff --git a/jsprit-core/src/main/java/algorithms/states/UpdateEarliestStartTimeWindowAtActLocations.java b/jsprit-core/src/main/java/algorithms/UpdateEarliestStartTimeWindowAtActLocations.java similarity index 70% rename from jsprit-core/src/main/java/algorithms/states/UpdateEarliestStartTimeWindowAtActLocations.java rename to jsprit-core/src/main/java/algorithms/UpdateEarliestStartTimeWindowAtActLocations.java index f72e9023..b6f2011d 100644 --- a/jsprit-core/src/main/java/algorithms/states/UpdateEarliestStartTimeWindowAtActLocations.java +++ b/jsprit-core/src/main/java/algorithms/UpdateEarliestStartTimeWindowAtActLocations.java @@ -1,9 +1,6 @@ -package algorithms.states; +package algorithms; -import algorithms.ActivityVisitor; -import algorithms.StateManagerImpl; import algorithms.StateManagerImpl.StateImpl; -import algorithms.StateTypes; import basics.costs.VehicleRoutingTransportCosts; import basics.route.TourActivity; import basics.route.VehicleRoute; @@ -28,7 +25,7 @@ public class UpdateEarliestStartTimeWindowAtActLocations implements ActivityVisi @Override public void visit(TourActivity activity) { timeTracker.visit(activity); - states.putActivityState(activity, StateTypes.EARLIEST_OPERATION_START_TIME, new StateImpl(Math.max(timeTracker.getActArrTime(), activity.getTheoreticalEarliestOperationStartTime()))); + states.putActivityState(activity, StateIdFactory.EARLIEST_OPERATION_START_TIME, new StateImpl(Math.max(timeTracker.getActArrTime(), activity.getTheoreticalEarliestOperationStartTime()))); } diff --git a/jsprit-core/src/main/java/algorithms/states/UpdateFuturePickupsAtActivityLevel.java b/jsprit-core/src/main/java/algorithms/UpdateFuturePickupsAtActivityLevel.java similarity index 81% rename from jsprit-core/src/main/java/algorithms/states/UpdateFuturePickupsAtActivityLevel.java rename to jsprit-core/src/main/java/algorithms/UpdateFuturePickupsAtActivityLevel.java index 98bf99bf..71404dde 100644 --- a/jsprit-core/src/main/java/algorithms/states/UpdateFuturePickupsAtActivityLevel.java +++ b/jsprit-core/src/main/java/algorithms/UpdateFuturePickupsAtActivityLevel.java @@ -1,9 +1,6 @@ -package algorithms.states; +package algorithms; -import algorithms.ReverseActivityVisitor; -import algorithms.StateManagerImpl; import algorithms.StateManagerImpl.StateImpl; -import algorithms.StateTypes; import basics.route.PickupActivity; import basics.route.ServiceActivity; import basics.route.TourActivity; @@ -26,7 +23,7 @@ public class UpdateFuturePickupsAtActivityLevel implements ReverseActivityVisito @Override public void visit(TourActivity act) { - stateManager.putActivityState(act, StateTypes.FUTURE_PICKS, new StateImpl(futurePicks)); + stateManager.putActivityState(act, StateIdFactory.FUTURE_PICKS, new StateImpl(futurePicks)); if(act instanceof PickupActivity || act instanceof ServiceActivity){ futurePicks += act.getCapacityDemand(); } diff --git a/jsprit-core/src/main/java/algorithms/states/UpdateLatestOperationStartTimeAtActLocations.java b/jsprit-core/src/main/java/algorithms/UpdateLatestOperationStartTimeAtActLocations.java similarity index 86% rename from jsprit-core/src/main/java/algorithms/states/UpdateLatestOperationStartTimeAtActLocations.java rename to jsprit-core/src/main/java/algorithms/UpdateLatestOperationStartTimeAtActLocations.java index 0ba402e4..b8bb15a6 100644 --- a/jsprit-core/src/main/java/algorithms/states/UpdateLatestOperationStartTimeAtActLocations.java +++ b/jsprit-core/src/main/java/algorithms/UpdateLatestOperationStartTimeAtActLocations.java @@ -1,11 +1,8 @@ -package algorithms.states; +package algorithms; import org.apache.log4j.Logger; -import algorithms.ReverseActivityVisitor; -import algorithms.StateManagerImpl; import algorithms.StateManagerImpl.StateImpl; -import algorithms.StateTypes; import basics.costs.VehicleRoutingTransportCosts; import basics.route.TourActivity; import basics.route.VehicleRoute; @@ -42,7 +39,7 @@ public class UpdateLatestOperationStartTimeAtActLocations implements ReverseActi double potentialLatestArrivalTimeAtCurrAct = latestArrTimeAtPrevAct - transportCosts.getBackwardTransportTime(activity.getLocationId(), prevAct.getLocationId(), latestArrTimeAtPrevAct, route.getDriver(),route.getVehicle()) - activity.getOperationTime(); double latestArrivalTime = Math.min(activity.getTheoreticalLatestOperationStartTime(), potentialLatestArrivalTimeAtCurrAct); - states.putActivityState(activity, StateTypes.LATEST_OPERATION_START_TIME, new StateImpl(latestArrivalTime)); + states.putActivityState(activity, StateIdFactory.LATEST_OPERATION_START_TIME, new StateImpl(latestArrivalTime)); latestArrTimeAtPrevAct = latestArrivalTime; prevAct = activity; diff --git a/jsprit-core/src/main/java/algorithms/states/UpdateLoadAtActivityLevel.java b/jsprit-core/src/main/java/algorithms/UpdateLoadAtActivityLevel.java similarity index 86% rename from jsprit-core/src/main/java/algorithms/states/UpdateLoadAtActivityLevel.java rename to jsprit-core/src/main/java/algorithms/UpdateLoadAtActivityLevel.java index 18333da0..139d94cf 100644 --- a/jsprit-core/src/main/java/algorithms/states/UpdateLoadAtActivityLevel.java +++ b/jsprit-core/src/main/java/algorithms/UpdateLoadAtActivityLevel.java @@ -1,9 +1,6 @@ -package algorithms.states; +package algorithms; -import algorithms.ActivityVisitor; -import algorithms.StateManagerImpl; import algorithms.StateManagerImpl.StateImpl; -import algorithms.StateTypes; import basics.route.TourActivity; import basics.route.VehicleRoute; @@ -49,14 +46,14 @@ public class UpdateLoadAtActivityLevel implements ActivityVisitor { @Override public void begin(VehicleRoute route) { - currentLoad = (int) stateManager.getRouteState(route, StateTypes.LOAD_AT_DEPOT).toDouble(); + currentLoad = (int) stateManager.getRouteState(route, StateIdFactory.LOAD_AT_DEPOT).toDouble(); this.route = route; } @Override public void visit(TourActivity act) { currentLoad += act.getCapacityDemand(); - stateManager.putActivityState(act, StateTypes.LOAD, new StateImpl(currentLoad)); + stateManager.putActivityState(act, StateIdFactory.LOAD, new StateImpl(currentLoad)); assert currentLoad <= route.getVehicle().getCapacity() : "currentLoad at activity must not be > vehicleCapacity"; assert currentLoad >= 0 : "currentLoad at act must not be < 0"; } diff --git a/jsprit-core/src/main/java/algorithms/states/UpdateLoadAtAllLevels.java b/jsprit-core/src/main/java/algorithms/UpdateLoadAtAllLevels.java similarity index 69% rename from jsprit-core/src/main/java/algorithms/states/UpdateLoadAtAllLevels.java rename to jsprit-core/src/main/java/algorithms/UpdateLoadAtAllLevels.java index cbd18d36..145a37ca 100644 --- a/jsprit-core/src/main/java/algorithms/states/UpdateLoadAtAllLevels.java +++ b/jsprit-core/src/main/java/algorithms/UpdateLoadAtAllLevels.java @@ -1,9 +1,6 @@ -package algorithms.states; +package algorithms; -import algorithms.ActivityVisitor; -import algorithms.StateManagerImpl; import algorithms.StateManagerImpl.StateImpl; -import algorithms.StateTypes; import basics.route.TourActivity; import basics.route.VehicleRoute; @@ -28,12 +25,12 @@ public class UpdateLoadAtAllLevels implements ActivityVisitor{ @Override public void visit(TourActivity activity) { load += (double)activity.getCapacityDemand(); - states.putActivityState(activity, StateTypes.LOAD, new StateImpl(load)); + states.putActivityState(activity, StateIdFactory.LOAD, new StateImpl(load)); } @Override public void finish() { - states.putRouteState(vehicleRoute, StateTypes.LOAD, new StateImpl(load)); + states.putRouteState(vehicleRoute, StateIdFactory.LOAD, new StateImpl(load)); load=0; vehicleRoute = null; } diff --git a/jsprit-core/src/main/java/algorithms/states/UpdateLoadAtRouteLevel.java b/jsprit-core/src/main/java/algorithms/UpdateLoadAtRouteLevel.java similarity index 76% rename from jsprit-core/src/main/java/algorithms/states/UpdateLoadAtRouteLevel.java rename to jsprit-core/src/main/java/algorithms/UpdateLoadAtRouteLevel.java index 717d57fe..6ab2dc9b 100644 --- a/jsprit-core/src/main/java/algorithms/states/UpdateLoadAtRouteLevel.java +++ b/jsprit-core/src/main/java/algorithms/UpdateLoadAtRouteLevel.java @@ -1,10 +1,8 @@ -package algorithms.states; +package algorithms; import java.util.Collection; -import algorithms.StateManagerImpl; import algorithms.StateManagerImpl.StateImpl; -import algorithms.StateTypes; import basics.Job; import basics.Service; import basics.algo.InsertionStartsListener; @@ -37,8 +35,8 @@ public class UpdateLoadAtRouteLevel implements JobInsertedListener, InsertionSta if(!(job2insert instanceof Service)){ return; } - double oldLoad = states.getRouteState(inRoute, StateTypes.LOAD).toDouble(); - states.putRouteState(inRoute, StateTypes.LOAD, new StateImpl(oldLoad + job2insert.getCapacityDemand())); + double oldLoad = states.getRouteState(inRoute, StateIdFactory.LOAD).toDouble(); + states.putRouteState(inRoute, StateIdFactory.LOAD, new StateImpl(oldLoad + job2insert.getCapacityDemand())); } @Override @@ -48,7 +46,7 @@ public class UpdateLoadAtRouteLevel implements JobInsertedListener, InsertionSta for(Job j : route.getTourActivities().getJobs()){ load += j.getCapacityDemand(); } - states.putRouteState(route, StateTypes.LOAD, new StateImpl(load)); + states.putRouteState(route, StateIdFactory.LOAD, new StateImpl(load)); } } diff --git a/jsprit-core/src/main/java/algorithms/states/UpdateLoadsAtStartAndEndOfRouteWhenJobHasBeenInserted.java b/jsprit-core/src/main/java/algorithms/UpdateLoadsAtStartAndEndOfRouteWhenJobHasBeenInserted.java similarity index 80% rename from jsprit-core/src/main/java/algorithms/states/UpdateLoadsAtStartAndEndOfRouteWhenJobHasBeenInserted.java rename to jsprit-core/src/main/java/algorithms/UpdateLoadsAtStartAndEndOfRouteWhenJobHasBeenInserted.java index 3d510ff1..9f86afe1 100644 --- a/jsprit-core/src/main/java/algorithms/states/UpdateLoadsAtStartAndEndOfRouteWhenJobHasBeenInserted.java +++ b/jsprit-core/src/main/java/algorithms/UpdateLoadsAtStartAndEndOfRouteWhenJobHasBeenInserted.java @@ -1,8 +1,6 @@ -package algorithms.states; +package algorithms; -import algorithms.StateManagerImpl; import algorithms.StateManagerImpl.StateImpl; -import algorithms.StateTypes; import basics.Delivery; import basics.Job; import basics.Pickup; @@ -40,14 +38,14 @@ public class UpdateLoadsAtStartAndEndOfRouteWhenJobHasBeenInserted implements Jo @Override public void informJobInserted(Job job2insert, VehicleRoute inRoute, double additionalCosts, double additionalTime) { if(job2insert instanceof Delivery){ - int loadAtDepot = (int) stateManager.getRouteState(inRoute, StateTypes.LOAD_AT_DEPOT).toDouble(); + int loadAtDepot = (int) stateManager.getRouteState(inRoute, StateIdFactory.LOAD_AT_DEPOT).toDouble(); // log.info("loadAtDepot="+loadAtDepot); - stateManager.putRouteState(inRoute, StateTypes.LOAD_AT_DEPOT, new StateImpl(loadAtDepot + job2insert.getCapacityDemand())); + stateManager.putRouteState(inRoute, StateIdFactory.LOAD_AT_DEPOT, new StateImpl(loadAtDepot + job2insert.getCapacityDemand())); } else if(job2insert instanceof Pickup || job2insert instanceof Service){ - int loadAtEnd = (int) stateManager.getRouteState(inRoute, StateTypes.LOAD).toDouble(); + int loadAtEnd = (int) stateManager.getRouteState(inRoute, StateIdFactory.LOAD).toDouble(); // log.info("loadAtEnd="+loadAtEnd); - stateManager.putRouteState(inRoute, StateTypes.LOAD, new StateImpl(loadAtEnd + job2insert.getCapacityDemand())); + stateManager.putRouteState(inRoute, StateIdFactory.LOAD, new StateImpl(loadAtEnd + job2insert.getCapacityDemand())); } } diff --git a/jsprit-core/src/main/java/algorithms/states/UpdateOccuredDeliveriesAtActivityLevel.java b/jsprit-core/src/main/java/algorithms/UpdateOccuredDeliveriesAtActivityLevel.java similarity index 80% rename from jsprit-core/src/main/java/algorithms/states/UpdateOccuredDeliveriesAtActivityLevel.java rename to jsprit-core/src/main/java/algorithms/UpdateOccuredDeliveriesAtActivityLevel.java index 3a4f7ce2..c68e7476 100644 --- a/jsprit-core/src/main/java/algorithms/states/UpdateOccuredDeliveriesAtActivityLevel.java +++ b/jsprit-core/src/main/java/algorithms/UpdateOccuredDeliveriesAtActivityLevel.java @@ -1,9 +1,6 @@ -package algorithms.states; +package algorithms; -import algorithms.ActivityVisitor; -import algorithms.StateManagerImpl; import algorithms.StateManagerImpl.StateImpl; -import algorithms.StateTypes; import basics.route.DeliveryActivity; import basics.route.TourActivity; import basics.route.VehicleRoute; @@ -28,7 +25,7 @@ public class UpdateOccuredDeliveriesAtActivityLevel implements ActivityVisitor { if(act instanceof DeliveryActivity){ deliveries += Math.abs(act.getCapacityDemand()); } - stateManager.putActivityState(act, StateTypes.PAST_DELIVERIES, new StateImpl(deliveries)); + stateManager.putActivityState(act, StateIdFactory.PAST_DELIVERIES, new StateImpl(deliveries)); assert deliveries >= 0 : "deliveries < 0"; assert deliveries <= route.getVehicle().getCapacity() : "deliveries > vehicleCap"; } diff --git a/jsprit-core/src/main/java/algorithms/VehicleRoutingAlgorithms.java b/jsprit-core/src/main/java/algorithms/VehicleRoutingAlgorithms.java index bd7db3bd..3446d59b 100644 --- a/jsprit-core/src/main/java/algorithms/VehicleRoutingAlgorithms.java +++ b/jsprit-core/src/main/java/algorithms/VehicleRoutingAlgorithms.java @@ -45,22 +45,9 @@ import algorithms.acceptors.AcceptNewIfBetterThanWorst; import algorithms.acceptors.AcceptNewRemoveFirst; import algorithms.acceptors.SchrimpfAcceptance; import algorithms.acceptors.SolutionAcceptor; -import algorithms.constraints.ConstraintManager; -import algorithms.constraints.HardPickupAndDeliveryActivityLevelConstraint; -import algorithms.constraints.HardPickupAndDeliveryBackhaulActivityLevelConstraint; -import algorithms.constraints.HardPickupAndDeliveryLoadConstraint; -import algorithms.constraints.HardTimeWindowActivityLevelConstraint; import algorithms.selectors.SelectBest; import algorithms.selectors.SelectRandomly; import algorithms.selectors.SolutionSelector; -import algorithms.states.InitializeLoadsAtStartAndEndOfRouteWhenInsertionStarts; -import algorithms.states.UpdateActivityTimes; -import algorithms.states.UpdateCostsAtAllLevels; -import algorithms.states.UpdateFuturePickupsAtActivityLevel; -import algorithms.states.UpdateLatestOperationStartTimeAtActLocations; -import algorithms.states.UpdateLoadAtActivityLevel; -import algorithms.states.UpdateLoadsAtStartAndEndOfRouteWhenJobHasBeenInserted; -import algorithms.states.UpdateOccuredDeliveriesAtActivityLevel; import basics.VehicleRoutingAlgorithm; import basics.VehicleRoutingProblem; import basics.VehicleRoutingProblem.Constraint; diff --git a/jsprit-core/src/test/java/algorithms/BuildCVRPAlgoFromScratchTest.java b/jsprit-core/src/test/java/algorithms/BuildCVRPAlgoFromScratchTest.java index a0a4765b..aaef52e0 100644 --- a/jsprit-core/src/test/java/algorithms/BuildCVRPAlgoFromScratchTest.java +++ b/jsprit-core/src/test/java/algorithms/BuildCVRPAlgoFromScratchTest.java @@ -29,11 +29,7 @@ import org.junit.Test; import util.Solutions; import algorithms.acceptors.AcceptNewIfBetterThanWorst; -import algorithms.constraints.HardActivityLevelConstraint; -import algorithms.constraints.HardLoadConstraint; import algorithms.selectors.SelectBest; -import algorithms.states.UpdateCostsAtRouteLevel; -import algorithms.states.UpdateLoadAtRouteLevel; import basics.VehicleRoutingAlgorithm; import basics.VehicleRoutingProblem; import basics.VehicleRoutingProblemSolution; diff --git a/jsprit-core/src/test/java/algorithms/BuildPDVRPAlgoFromScratchTest.java b/jsprit-core/src/test/java/algorithms/BuildPDVRPAlgoFromScratchTest.java index 3314d4e3..cceaafd2 100644 --- a/jsprit-core/src/test/java/algorithms/BuildPDVRPAlgoFromScratchTest.java +++ b/jsprit-core/src/test/java/algorithms/BuildPDVRPAlgoFromScratchTest.java @@ -28,18 +28,7 @@ import org.junit.Test; import algorithms.StateManagerImpl.StateImpl; import algorithms.acceptors.AcceptNewIfBetterThanWorst; -import algorithms.constraints.ConstraintManager; -import algorithms.constraints.HardPickupAndDeliveryActivityLevelConstraint; -import algorithms.constraints.HardPickupAndDeliveryLoadConstraint; -import algorithms.constraints.HardTimeWindowActivityLevelConstraint; import algorithms.selectors.SelectBest; -import algorithms.states.UpdateActivityTimes; -import algorithms.states.UpdateCostsAtAllLevels; -import algorithms.states.UpdateEarliestStartTimeWindowAtActLocations; -import algorithms.states.UpdateFuturePickupsAtActivityLevel; -import algorithms.states.UpdateLatestOperationStartTimeAtActLocations; -import algorithms.states.UpdateLoadAtActivityLevel; -import algorithms.states.UpdateOccuredDeliveriesAtActivityLevel; import basics.Delivery; import basics.Job; import basics.Pickup; @@ -132,8 +121,8 @@ public class BuildPDVRPAlgoFromScratchTest { loadAtEnd += j.getCapacityDemand(); } } - stateManager.putRouteState(route, StateTypes.LOAD_AT_DEPOT, new StateImpl(loadAtDepot)); - stateManager.putRouteState(route, StateTypes.LOAD, new StateImpl(loadAtEnd)); + stateManager.putRouteState(route, StateIdFactory.LOAD_AT_DEPOT, new StateImpl(loadAtDepot)); + stateManager.putRouteState(route, StateIdFactory.LOAD, new StateImpl(loadAtEnd)); iterateForward.visit(route); iterateBackward.visit(route); } @@ -150,14 +139,14 @@ public class BuildPDVRPAlgoFromScratchTest { // log.info("insert job " + job2insert.getClass().toString() + " job " + job2insert + "" + job2insert.getCapacityDemand() + " in route " + inRoute.getTourActivities()); if(job2insert instanceof Delivery){ - int loadAtDepot = (int) stateManager.getRouteState(inRoute, StateTypes.LOAD_AT_DEPOT).toDouble(); + int loadAtDepot = (int) stateManager.getRouteState(inRoute, StateIdFactory.LOAD_AT_DEPOT).toDouble(); // log.info("loadAtDepot="+loadAtDepot); - stateManager.putRouteState(inRoute, StateTypes.LOAD_AT_DEPOT, new StateImpl(loadAtDepot + job2insert.getCapacityDemand())); + stateManager.putRouteState(inRoute, StateIdFactory.LOAD_AT_DEPOT, new StateImpl(loadAtDepot + job2insert.getCapacityDemand())); } if(job2insert instanceof Pickup){ - int loadAtEnd = (int) stateManager.getRouteState(inRoute, StateTypes.LOAD).toDouble(); + int loadAtEnd = (int) stateManager.getRouteState(inRoute, StateIdFactory.LOAD).toDouble(); // log.info("loadAtEnd="+loadAtEnd); - stateManager.putRouteState(inRoute, StateTypes.LOAD, new StateImpl(loadAtEnd + job2insert.getCapacityDemand())); + stateManager.putRouteState(inRoute, StateIdFactory.LOAD, new StateImpl(loadAtEnd + job2insert.getCapacityDemand())); } iterateForward.visit(inRoute); iterateBackward.visit(inRoute); diff --git a/jsprit-core/src/test/java/algorithms/GendreauPostOptTest.java b/jsprit-core/src/test/java/algorithms/GendreauPostOptTest.java index 5f823ea2..64dc15b2 100644 --- a/jsprit-core/src/test/java/algorithms/GendreauPostOptTest.java +++ b/jsprit-core/src/test/java/algorithms/GendreauPostOptTest.java @@ -33,9 +33,7 @@ import org.junit.Test; import util.Coordinate; import util.ManhattanDistanceCalculator; import util.RouteUtils; -import algorithms.constraints.HardLoadConstraint; -import algorithms.constraints.HardTimeWindowActivityLevelConstraint; -import algorithms.states.StateUpdates.UpdateStates; +import algorithms.StateUpdates.UpdateStates; import basics.Job; import basics.Service; import basics.VehicleRoutingProblem; diff --git a/jsprit-core/src/test/java/algorithms/TestCalculatesServiceInsertion.java b/jsprit-core/src/test/java/algorithms/TestCalculatesServiceInsertion.java index 9cd7c56b..eeab5ec8 100644 --- a/jsprit-core/src/test/java/algorithms/TestCalculatesServiceInsertion.java +++ b/jsprit-core/src/test/java/algorithms/TestCalculatesServiceInsertion.java @@ -32,9 +32,7 @@ import org.apache.log4j.Logger; import org.junit.Before; import org.junit.Test; -import algorithms.constraints.HardLoadConstraint; -import algorithms.constraints.HardTimeWindowActivityLevelConstraint; -import algorithms.states.StateUpdates.UpdateStates; +import algorithms.StateUpdates.UpdateStates; import basics.Job; import basics.Service; import basics.costs.VehicleRoutingTransportCosts; diff --git a/jsprit-core/src/test/java/algorithms/TestCalculatesServiceInsertionOnRouteLevel.java b/jsprit-core/src/test/java/algorithms/TestCalculatesServiceInsertionOnRouteLevel.java index 71f5d8a8..7798a263 100644 --- a/jsprit-core/src/test/java/algorithms/TestCalculatesServiceInsertionOnRouteLevel.java +++ b/jsprit-core/src/test/java/algorithms/TestCalculatesServiceInsertionOnRouteLevel.java @@ -34,7 +34,7 @@ import org.junit.Test; import util.Coordinate; import util.ManhattanDistanceCalculator; -import algorithms.states.StateUpdates.UpdateStates; +import algorithms.StateUpdates.UpdateStates; import basics.Job; import basics.Service; import basics.costs.VehicleRoutingTransportCosts; diff --git a/jsprit-core/src/test/java/algorithms/TestIterateRouteForwardInTime.java b/jsprit-core/src/test/java/algorithms/TestIterateRouteForwardInTime.java index 1525b4c2..6dcb0775 100644 --- a/jsprit-core/src/test/java/algorithms/TestIterateRouteForwardInTime.java +++ b/jsprit-core/src/test/java/algorithms/TestIterateRouteForwardInTime.java @@ -30,10 +30,6 @@ import org.junit.Test; import util.Coordinate; import util.ManhattanDistanceCalculator; -import algorithms.states.UpdateActivityTimes; -import algorithms.states.UpdateCostsAtAllLevels; -import algorithms.states.UpdateEarliestStartTimeWindowAtActLocations; -import algorithms.states.UpdateLoadAtAllLevels; import basics.Job; import basics.Service; import basics.costs.DefaultVehicleRoutingActivityCosts; @@ -156,8 +152,8 @@ public class TestIterateRouteForwardInTime { forwardInTime.addActivityVisitor(new UpdateLoadAtAllLevels(stateManager)); forwardInTime.visit(vehicleRoute); - assertEquals(5.0, stateManager.getActivityState(firstAct,StateTypes.LOAD).toDouble(), 0.01); - assertEquals(10.0, stateManager.getActivityState(secondAct,StateTypes.LOAD).toDouble(), 0.01); + assertEquals(5.0, stateManager.getActivityState(firstAct,StateIdFactory.LOAD).toDouble(), 0.01); + assertEquals(10.0, stateManager.getActivityState(secondAct,StateIdFactory.LOAD).toDouble(), 0.01); } @@ -181,9 +177,9 @@ public class TestIterateRouteForwardInTime { forwardInTime.addActivityVisitor(new UpdateCostsAtAllLevels(new DefaultVehicleRoutingActivityCosts(), cost, stateManager)); forwardInTime.visit(vehicleRoute); - assertEquals(10.0, stateManager.getActivityState(firstAct, StateTypes.COSTS).toDouble(),0.05); - assertEquals(5.0, stateManager.getActivityState(firstAct, StateTypes.LOAD).toDouble(),0.05); - assertEquals(10.0, stateManager.getActivityState(firstAct, StateTypes.EARLIEST_OPERATION_START_TIME).toDouble(),0.05); + assertEquals(10.0, stateManager.getActivityState(firstAct, StateIdFactory.COSTS).toDouble(),0.05); + assertEquals(5.0, stateManager.getActivityState(firstAct, StateIdFactory.LOAD).toDouble(),0.05); + assertEquals(10.0, stateManager.getActivityState(firstAct, StateIdFactory.EARLIEST_OPERATION_START_TIME).toDouble(),0.05); // assertEquals(20.0, states.getState(tour.getActivities().get(0)).getLatestOperationStart(),0.05); } @@ -196,9 +192,9 @@ public class TestIterateRouteForwardInTime { forwardInTime.addActivityVisitor(new UpdateCostsAtAllLevels(new DefaultVehicleRoutingActivityCosts(), cost, stateManager)); forwardInTime.visit(vehicleRoute); - assertEquals(30.0, stateManager.getActivityState(secondAct, StateTypes.COSTS).toDouble(),0.05); - assertEquals(10.0, stateManager.getActivityState(secondAct, StateTypes.LOAD).toDouble(),0.05); - assertEquals(30.0, stateManager.getActivityState(secondAct, StateTypes.EARLIEST_OPERATION_START_TIME).toDouble(),0.05); + assertEquals(30.0, stateManager.getActivityState(secondAct, StateIdFactory.COSTS).toDouble(),0.05); + assertEquals(10.0, stateManager.getActivityState(secondAct, StateIdFactory.LOAD).toDouble(),0.05); + assertEquals(30.0, stateManager.getActivityState(secondAct, StateIdFactory.EARLIEST_OPERATION_START_TIME).toDouble(),0.05); // assertEquals(40.0, states.getState(tour.getActivities().get(1)).getLatestOperationStart(),0.05); } @@ -210,7 +206,7 @@ public class TestIterateRouteForwardInTime { forwardInTime.addActivityVisitor(new UpdateCostsAtAllLevels(new DefaultVehicleRoutingActivityCosts(), cost, stateManager)); forwardInTime.visit(vehicleRoute); - assertEquals(40.0, stateManager.getRouteState(vehicleRoute,StateTypes.COSTS).toDouble(), 0.05); + assertEquals(40.0, stateManager.getRouteState(vehicleRoute,StateIdFactory.COSTS).toDouble(), 0.05); assertEquals(40.0, vehicleRoute.getEnd().getArrTime(),0.05); assertEquals(50.0, vehicleRoute.getEnd().getTheoreticalLatestOperationStartTime(),0.05); } diff --git a/jsprit-core/src/test/java/algorithms/TestTourStateUpdaterWithService.java b/jsprit-core/src/test/java/algorithms/TestTourStateUpdaterWithService.java index f2e1c3bc..11fed46b 100644 --- a/jsprit-core/src/test/java/algorithms/TestTourStateUpdaterWithService.java +++ b/jsprit-core/src/test/java/algorithms/TestTourStateUpdaterWithService.java @@ -27,7 +27,7 @@ import org.junit.Test; import util.Coordinate; import util.ManhattanDistanceCalculator; -import algorithms.states.StateUpdates.UpdateStates; +import algorithms.StateUpdates.UpdateStates; import basics.Job; import basics.Service; import basics.costs.VehicleRoutingTransportCosts; @@ -120,8 +120,8 @@ public class TestTourStateUpdaterWithService { @Test public void testCalculatedCost() { updateStates.update(vehicleRoute); - assertEquals(40.0, states.getRouteState(vehicleRoute,StateTypes.COSTS).toDouble(), 0.05); - assertEquals(10, states.getRouteState(vehicleRoute, StateTypes.LOAD).toDouble(), 0.05); + assertEquals(40.0, states.getRouteState(vehicleRoute,StateIdFactory.COSTS).toDouble(), 0.05); + assertEquals(10, states.getRouteState(vehicleRoute, StateIdFactory.LOAD).toDouble(), 0.05); } @Test @@ -137,27 +137,27 @@ public class TestTourStateUpdaterWithService { @Test public void testStatesOfAct1(){ updateStates.update(vehicleRoute); - assertEquals(10.0, states.getActivityState(tour.getActivities().get(0), StateTypes.COSTS).toDouble(),0.05); - assertEquals(5.0, states.getActivityState(tour.getActivities().get(0), StateTypes.LOAD).toDouble(),0.05); + assertEquals(10.0, states.getActivityState(tour.getActivities().get(0), StateIdFactory.COSTS).toDouble(),0.05); + assertEquals(5.0, states.getActivityState(tour.getActivities().get(0), StateIdFactory.LOAD).toDouble(),0.05); // assertEquals(10.0, states.getActivityState(tour.getActivities().get(0), StateTypes.EARLIEST_OPERATION_START_TIME).toDouble(),0.05); - assertEquals(20.0, states.getActivityState(tour.getActivities().get(0), StateTypes.LATEST_OPERATION_START_TIME).toDouble(),0.05); + assertEquals(20.0, states.getActivityState(tour.getActivities().get(0), StateIdFactory.LATEST_OPERATION_START_TIME).toDouble(),0.05); } @Test public void testStatesOfAct2(){ updateStates.update(vehicleRoute); - assertEquals(30.0, states.getActivityState(tour.getActivities().get(1), StateTypes.COSTS).toDouble(),0.05); - assertEquals(10.0, states.getActivityState(tour.getActivities().get(1), StateTypes.LOAD).toDouble(),0.05); + assertEquals(30.0, states.getActivityState(tour.getActivities().get(1), StateIdFactory.COSTS).toDouble(),0.05); + assertEquals(10.0, states.getActivityState(tour.getActivities().get(1), StateIdFactory.LOAD).toDouble(),0.05); // assertEquals(10.0, states.getActivityState(tour.getActivities().get(0), StateTypes.EARLIEST_OPERATION_START_TIME).toDouble(),0.05); - assertEquals(40.0, states.getActivityState(tour.getActivities().get(1), StateTypes.LATEST_OPERATION_START_TIME).toDouble(),0.05); + assertEquals(40.0, states.getActivityState(tour.getActivities().get(1), StateIdFactory.LATEST_OPERATION_START_TIME).toDouble(),0.05); } @Test public void testStatesOfAct3(){ updateStates.update(vehicleRoute); - assertEquals(40.0, states.getRouteState(vehicleRoute, StateTypes.COSTS).toDouble(), 0.05); + assertEquals(40.0, states.getRouteState(vehicleRoute, StateIdFactory.COSTS).toDouble(), 0.05); assertEquals(40.0, vehicleRoute.getEnd().getArrTime(),0.05); assertEquals(50.0, vehicleRoute.getEnd().getTheoreticalLatestOperationStartTime(),0.05); }