#include <TravellingSalesman.h>
Public Member Functions | |
CTravellingSalesman (void) | |
Constructor. | |
~CTravellingSalesman (void) | |
Destructor. | |
void | SetPointsDirect (C2DPointSet &Points) |
Allocates points from a set by removing them from the set. | |
void | ExtractPoints (C2DPointSet &Points) |
Extracts the points into the set. | |
void | InsertOptimally (C2DPoint *pPt) |
Inserts a point optimally into this. | |
void | Refine (void) |
Refines the set, trying to find optimal positions for the points. | |
void | Refine2 (void) |
Refines the set, trying to find optimal positions for the points. | |
void | SimpleReorder (void) |
Brute force optimisation. | |
void | Optimize (void) |
Optimises the position of the points. | |
void | DeleteAll (void) |
Deletes all. |
---------------------------------------------------------------------------
|
Constructor.
-------------------------------------------------------------------------- --------------------------------------------------------------------------- |
|
Destructor.
-------------------------------------------------------------------------- --------------------------------------------------------------------------- |
|
Deletes all.
-------------------------------------------------------------------------- --------------------------------------------------------------------------- |
|
Extracts the points into the set.
-------------------------------------------------------------------------- --------------------------------------------------------------------------- |
|
Inserts a point optimally into this.
-------------------------------------------------------------------------- --------------------------------------------------------------------------- |
|
Optimises the position of the points.
-------------------------------------------------------------------------- --------------------------------------------------------------------------- |
|
Refines the set, trying to find optimal positions for the points.
-------------------------------------------------------------------------- --------------------------------------------------------------------------- |
|
Refines the set, trying to find optimal positions for the points.
-------------------------------------------------------------------------- --------------------------------------------------------------------------- |
|
Allocates points from a set by removing them from the set.
-------------------------------------------------------------------------- --------------------------------------------------------------------------- |
|
Brute force optimisation.
-------------------------------------------------------------------------- --------------------------------------------------------------------------- |