public int SelectSeedCustomer(List<Customer> customers, Depot depot, Solomon87InitialStrategy strategy = Solomon87InitialStrategy.HighestDemand) { if (strategy == Solomon87InitialStrategy.HighestDemand) return SearhForHighestDemand(depot, customers); if (strategy == Solomon87InitialStrategy.HighestDistance) return SearhForHighestDistance(depot, customers); return -1; }
public int SelectSeedCustomer(List <Customer> customers, Depot depot, Solomon87InitialStrategy strategy = Solomon87InitialStrategy.HighestDemand) { if (strategy == Solomon87InitialStrategy.HighestDemand) { return(SearhForHighestDemand(depot, customers)); } if (strategy == Solomon87InitialStrategy.HighestDistance) { return(SearhForHighestDistance(depot, customers)); } return(-1); }