Class InsertionData.NoInsertionFound
java.lang.Object
com.graphhopper.jsprit.core.algorithm.recreate.InsertionData
com.graphhopper.jsprit.core.algorithm.recreate.InsertionData.NoInsertionFound
- Enclosing class:
InsertionData
-
Nested Class Summary
Nested classes/interfaces inherited from class com.graphhopper.jsprit.core.algorithm.recreate.InsertionData
InsertionData.NoInsertionFound -
Field Summary
Fields inherited from class com.graphhopper.jsprit.core.algorithm.recreate.InsertionData
NO_INDEX -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanisFound()Returns true if this represents a valid insertion, false if no insertion was found.Methods inherited from class com.graphhopper.jsprit.core.algorithm.recreate.InsertionData
addFailedConstrainName, createEmptyInsertionData, getAdditionalTime, getCostBreakdown, getDeliveryInsertionIndex, getFailedConstraintNames, getInsertionCost, getPickupInsertionIndex, getSelectedDriver, getSelectedVehicle, getVehicleDepartureTime, setAdditionalTime, setCostBreakdown, setVehicleDepartureTime, toString
-
Constructor Details
-
NoInsertionFound
public NoInsertionFound()
-
-
Method Details
-
isFound
public boolean isFound()Description copied from class:InsertionDataReturns true if this represents a valid insertion, false if no insertion was found. Use this instead ofinstanceof NoInsertionFoundchecks.- Overrides:
isFoundin classInsertionData- Returns:
- true if insertion is valid, false otherwise
-