def cover_triple(percept_: list, action: int, percept: list, t: int) -> Classifier: child = Classifier() for i in range(len(percept)): if percept_[i] != percept[i]: child.condition[i] = percept_[i] child.effect[i] = percept[i] child.action = action child.exp = 0 child.r = 0 child.aav = 0 child.alp = t child.tga = t child.t = t child.q = 0.5 child.num = 1 return child