sStep Struct Reference

This structure represents one step of solving. More...

#include <tspsolver.h>

Collaboration diagram for sStep:
Collaboration graph
[legend]

List of all members.

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.
sStepplNode
 Pointer to the left branch step.
sStepprNode
 Pointer to the right branch step.

Detailed Description

This structure represents one step of solving.

A tree of such elements will represent the solving process.

Todo:
TODO: List alternative candidates.

The documentation for this struct was generated from the following file:
 All Classes Files Functions Variables Typedefs Defines

Generated on Mon Dec 7 18:11:40 2009 for TSPSG: TSP Solver and Generator by  doxygen 1.6.1