CustomerControl
Controls for functions related to customer
GetVisitableCustomers
public override Dictionary<int, VehicleStateInfo> GetVisitableCustomers(Dictionary<int, VehicleStateInfo> availableCustomers)
Definition
Set which customers can be visited from the unvisited customers.
Parameters
Type
Description
Dictionary<Int, VehicleStateInfo>
An object that holds information about each vehicle.
Return
Type
Description
Default
Dictionary<Int, VehicleStateInfo>
An object that holds information about each vehicle (including information about which customers can visit).
Example (Default Logic)
public override Dictionary<int, VehicleStateInfo> GetVisitableCustomers(Dictionary<int, VehicleStateInfo> vehicleInfos)
{
return vehicleInfos;
}
Last updated