English
Languages
English
Shortcuts



VertexCover.interpret

VertexCover.interpret(result)[source]

Interpret a result as a list of node indices

Parameters

result (Union[OptimizationResult, ndarray]) – The calculated result of the problem

Return type

List[int]

Returns

A list of node indices whose corresponding variable is 1