code: def set_epsilon_closure(state_set):
      """
      Given a set of states, return the union of the epsilon
      closures of its member states.
      """
      result = {}
      for state1 in state_set:
          for state2 in epsilon_closure(state1):
              result[state2] = 1
      return result
  
file_path: catboost/contrib/tools/cython/Cython/Plex/DFA.py
imports: from __future__ import absolute_import
  from .None import Machines
  from .Machines import LOWEST_PRIORITY
  from .Transitions import TransitionMap
label_desc: Use image node_id 2 for calling a global function with example usage: set_epsilon_closure(state_set) and returns: result