def add_set(self, event, new_set,
    TupleType = TupleType):
    if type(event) == TupleType:
      code0, code1 = event
      i = self.split(code0)
      j = self.split(code1)
      map = self.map
      while i < j:
        map[i + 1].update(new_set)
        i = i + 2
    else:
      self.get_special(event).update(new_set)
Add transitions to the states in |new_set| on |event|.
dataset/ETHPy150Open probcomp/bayeslite/external/plex/dist/Plex/Transitions.py/TransitionMap.add_set