structure to hold a (sub-)tour that allow flip operations. More...
#include <eg_slk.h>
Data Fields | |
| int * | inv |
| int * | map |
| size_t | max_sz |
| unsigned | reverse |
| size_t | sz |
| int * | tour |
structure to hold a (sub-)tour that allow flip operations.
Definition at line 55 of file eg_slk.h.
| int* EGflipper_t::inv |
hold the inverse of the ordering, the values range from zero to EGflipper_t::sz
Definition at line 59 of file eg_slk.h.
Referenced by EGslkGetLength().
| int* EGflipper_t::map |
map the internal id (from zero to EGflipper_t::sz - 1) to their external numbering.
Definition at line 61 of file eg_slk.h.
Referenced by main().
| size_t EGflipper_t::max_sz |
| unsigned EGflipper_t::reverse |
if set to zero, then the tour has the real ordering, otherwise, it has the reverse ordering of the tour.
Definition at line 64 of file eg_slk.h.
Referenced by EGslkGetLength().
| size_t EGflipper_t::sz |
number of elements in this sub-tour
Definition at line 63 of file eg_slk.h.
Referenced by EGslkGetLength().
| int* EGflipper_t::tour |
1.7.1