hasher

(data from pyomo.common.collections._hasher)

pyomo.common.collections._hasher.hasher = {<class 'pyomo.core.base.set.DeclareGlobalSet.<locals>.GlobalSet'>: <function HashDispatcher._unhashable>, <class 'pyomo.core.base.set.DeclareGlobalSet.<locals>.GlobalSet'>: <function HashDispatcher._unhashable>, <class 'pyomo.core.base.set._AnySet'>: <function HashDispatcher._unhashable>, <class 'pyomo.core.base.set._AnyWithNoneSet'>: <function HashDispatcher._unhashable>, <class 'tuple'>: <bound method HashDispatcher._tuple of HashDispatcher(<function HashDispatcher.__init__.<locals>.<lambda>>, {<class 'tuple'>: <bound method HashDispatcher._tuple of HashDispatcher(<function HashDispatcher.__init__.<locals>.<lambda>>, {...})>, <class 'pyomo.core.base.set._AnySet'>: <function HashDispatcher._unhashable>, <class 'pyomo.core.base.set.DeclareGlobalSet.<locals>.GlobalSet'>: <function HashDispatcher._unhashable>, <class 'pyomo.core.base.set._AnyWithNoneSet'>: <function HashDispatcher._unhashable>, <class 'pyomo.core.base.set.DeclareGlobalSet.<locals>.GlobalSet'>: <function HashDispatcher._unhashable>})>}

The global ‘hasher’ instance for managing “universal” hashing.

This instance of the HashDispatcher is used by ComponentMap and ComponentSet for generating hashes for all Python and Pyomo types.