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

TypeDescription

Dictionary<Int, VehicleStateInfo>

An object that holds information about each vehicle.

Return

TypeDescriptionDefault

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