Tsp.interpret

Tsp.interpret(result)[ソース]

Interpret a result as a list of node indices

パラメータ:

result (OptimizationResult | ndarray) – The calculated result of the problem

戻り値:

A list of nodes whose indices correspond to its order in a prospective cycle.

戻り値の型:

List[int | List[int]]