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. | |
SCandidate | candidate |
A candiadate for branching in the current matrix. | |
QList< SCandidate > | alts |
A list of alternative branching candidates. | |
SStep * | pNode |
Pointer to the parent step. | |
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.