Beispiel #1
0
        private Dictionary <int, int> position;  // positions of the points in "points" indexed by their IDs

        #endregion

        #region constructorsAndFactories

        private TSPInput()
        {
            TSPPoint.resetCounter();
            this.distances = new List <List <double> >();
            this.points    = new List <TSPPoint>();
            this.position  = new Dictionary <int, int>();
        }
Beispiel #2
0
 private TSPInput()
 {
     TSPPoint.resetCounter();
     this.distances       = new List <List <double> >();
     this.points          = new List <TSPPoint>();
     this.position        = new Dictionary <int, int>();
     this.maximumDistance = double.MinValue;
     this.minimumDistance = double.MaxValue;
 }