Beispiel #1
0
 public PointF[] GetBestWeights()
 {
     BestResult.FineTune();
     BestResult.RemoveUnnecessary();
     BestFitness = BestResult.EXfindTourValue(WeightArray);
     return(BestResult.Weights);
 }
Beispiel #2
0
        public double FindCurrentValue(double[,] weight_array)
        {
            clsSOMTSP cloned = this.Clone();

            cloned.FineTune();
            cloned.RemoveUnnecessary();

            return(cloned.EXfindTourValue(weight_array));
        }
Beispiel #3
0
        internal double findTourLength()
        {
            clsSOMTSP cloned = this.Clone();

            cloned.Cities = this.Cities;
            cloned.FineTune();
            cloned.RemoveUnnecessary();

            return(cloned.EXfindTourValue(cities_d));
        }