Top  Previous  Next

This method calculates a matrix, based upon the nodes in NL.

Eventually set extra = true for use with TTSP - see explanation in TTSPmode.


Set symmetric = true, if you can do with a symmetric matrix. This makes calculations faster.

But it is not recommended if you have oneway restrictions in the network.


If you want to do a N x M matrix rather than N x N, use Matrix2.


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