Matrix

Top  Previous  Next

This method calculates a matrix of distances between all combinations of nodes in NL. Distance uses as-the-crow fly distances. If extra is true, the matrix will have an additional row and column, allowing for special optimization in class TTSP.

 

Syntax: Matrix(NL: TIntegerList; extra: boolean): TMatrix