from graph import Graph from matplotlib import pyplot as plt class GraphState(Graph): def __init__(self, n): Graph.__init__(self, n) def local_complementation(self, a): for i in self.neighbours[a]: for j in self.neighbours[a]: if i