Optimization: principles and algorithms, by Michel Bierlaire
Functions
getTourList.m File Reference

Transforms a tour stored as a sequence of cities into a list of successors. More...

Go to the source code of this file.

Functions

function getTourList (in sequence, in n)
 Transforms a tour stored as a sequence of cities into a list of successors. More...
 

Detailed Description

Transforms a tour stored as a sequence of cities into a list of successors.

Note
Called by tspVns
Called by tspInsertionLocalSearch
Author
Michel Bierlaire
Date
Wed Apr 15 11:42:31 2015

Definition in file getTourList.m.

Function Documentation

function getTourList ( in  sequence,
in  n 
)

Transforms a tour stored as a sequence of cities into a list of successors.

Parameters
sequencetour as a sequence of cities
nnumber of cities
Returns
succ tour stored as a list of successors
Copyright 2015-2016 Michel Bierlaire