Package rinde.sim.core.model.pdp.PDPModel

Examples of rinde.sim.core.model.pdp.PDPModel.VehicleParcelActionInfo


    long remainingServiceTime = 0;
    @Nullable
    DefaultParcel destination = null;
    if (!isIdle) {
      final VehicleParcelActionInfo vpai = pm.getVehicleActionInfo(vehicle);
      destination = ((DefaultParcel) vpai.getParcel());
      remainingServiceTime = vpai.timeNeeded();
    } else if (!rm.isVehicleDiversionAllowed()) {
      // check whether the vehicle is already underway to parcel
      destination = rm.getDestinationToParcel(vehicle);
    }
View Full Code Here

TOP

Related Classes of rinde.sim.core.model.pdp.PDPModel.VehicleParcelActionInfo

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.