This structure represents one step of solving. More...
#include <tspsolver.h>
Public Member Functions | |
sStep () | |
Assigns default values. | |
Public Attributes | |
tMatrix | matrix |
This step's matrix. | |
double | price |
The price of travel to this step. | |
struct { | |
int nRow | |
A zero-based row number of the candidate. | |
int nCol | |
A zero-based column number of the candidate. | |
} | candidate |
A candiadate for branching in the current matrix. | |
bool | alts |
Indicates whether or not matrix has alternative candidates. | |
sStep * | plNode |
Pointer to the left branch step. | |
sStep * | prNode |
Pointer to the right branch step. |
This structure represents one step of solving.
A tree of such elements will represent the solving process.