def slot(self): self.xt = {arm: disturb(self.x[arm], self.v) for arm in self.arms} self.u, self.v = random.sample(self.G.nodes(), 2) return self.xt if self.reachable() else self.slot()
def slot(self): #self.xt = self.x self.xt = {arm: disturb(self.x[arm], self.v) for arm in self.arms} return self.xt