protected abstract void GoToNeighbour(Site site);
protected override void GoToNeighbour(Site site) { Clusters = new List<Cluster>(); Clusters.AddRange((site as SiteClusteringVrp).Clusters); }
protected override void GoToNeighbour(Site site) { SiteClusteringCvrpp siteClusteringCvrpp = site as SiteClusteringCvrpp; Clusters = new List<Cluster>(); Clusters.AddRange(siteClusteringCvrpp.Clusters); kilometerCost = siteClusteringCvrpp.kilometerCost; PenaltyCluster = new Cluster(siteClusteringCvrpp.PenaltyCluster); FormAllClusters(); }
protected override void GoToNeighbour(Site site) { SiteVrpTsp siteVrpTsp = site as SiteVrpTsp; nodesSequence = siteVrpTsp.NodesSequence.Clone() as int[]; }