@PlanningVariable(valueRangeProviderRefs = { "vehicleRange",
"rideRange" }, graphType = PlanningVariableGraphType.CHAINED)
@PlanningId
protected Standstill previousStandstill;
Now, I receive this error:
java.lang.IllegalArgumentException: The class (class org.acme.vehiclerouting.domain.timewindowed.TimeWindowedRide) has a member (protected org.acme.vehiclerouting.domain.Standstill org.acme.vehiclerouting.domain.Ride.previousStandstill) with a @PlanningId annotation that returns a type (interface org.acme.vehiclerouting.domain.Standstill) that does not implement Comparable.
Any help would be greatly appreciated.
java.lang.IllegalArgumentException: The class (class org.acme.vehiclerouting.domain.timewindowed.TimeWindowedRide) has a member (protected org.acme.vehiclerouting.domain.Standstill org.acme.vehiclerouting.domain.Ride.previousStandstill) with a @PlanningId annotation that returns a type (interface org.acme.vehiclerouting.domain.Standstill) that does not implement Comparable.
Lukáš Petrovický
He/Him/His
Principal Software Engineer, Business Automation
lukas.pe...@redhat.com IM: triceo/lpetrovi