qat.opt.results.VertexCoverResult

The VertexCoverGenerator can return a parsed result that includes a parsed version of the best Sample, that could be displayed. The node subset that covers all the nodes in the graph can be accessed through the cover function.

class qat.opt.results.VertexCoverResult(graph, *args, **kwargs)

Result of a VertexCover problem. This class adds an attribute cover used to extract the vertex cover

property cover

Extract the nodes in the graph that forms the cover