Changeset 6beb157497 in tspsg for src/tspsolver.cpp


Ignore:
Timestamp:
Feb 23, 2010, 11:17:48 PM (14 years ago)
Author:
Oleksii Serdiuk
Branches:
0.1.3.145-beta1-symbian, 0.1.4.170-beta2-bb10, appveyor, imgbot, master, readme
Children:
b2bf8e3b6b
Parents:
11086c2def
Message:

+ Preliminary Symbian support.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/tspsolver.cpp

    r11086c2def r6beb157497  
    106106int nRow, nCol;
    107107bool firstStep = true;
    108 double check;
     108double check = INFINITY;
    109109        while (this->route.size() < nCities) {
    110110//              forbidden.clear();
     
    141141                left->matrix = step->matrix;
    142142                left->matrix[nRow][nCol] = INFINITY;
    143                 left->price = step->price + align(left->matrix);
     143                left->price = step->price + align(left->matrix);
    144144
    145145                step->candidate.nRow = nRow;
Note: See TracChangeset for help on using the changeset viewer.