(cls, values, **options)
return localzeros
Sequentially allocate values to localzeros.

        When a value is identified as being more extreme than another member it
        replaces that member; if this is never true, then the value is simply
        appended to the localzeros.
Sequentially allocate values to localzeros.
Sequentially allocate values to localzeros .
def _find_localzeros(cls, values, **options):
        """
        Sequentially allocate values to localzeros.

        When a value is identified as being more extreme than another member it
        replaces that member; if this is never true, then the value is simply
        appended to the localzeros.
        """
        localzeros = set()
        for v in values:
            is_newzero = True
            localzeros_ = list(localzeros)
            for z in localzeros_:
                if id(v) == id(z):
                    is_newzero = False
                elif cls._is_connected(v, z):
                    is_newzero = False
                    if cls._is_asneeded(v, z):
                        localzeros.remove(z)
                        localzeros.update([v])
            if is_newzero:
                localzeros.update([v])
        return localzeros
def _find_localzeros ( cls , values , * * options ) : localzeros = set ( ) for v in values : is_newzero = True localzeros_ = list ( localzeros ) for z in localzeros_ : if id ( v ) == id ( z ) : is_newzero = False elif cls . _is_connected ( v , z ) : is_newzero = False if cls . _is_asneeded ( v , z ) : localzeros . remove ( z ) localzeros . update ( [ v ] ) if is_newzero : localzeros . update ( [ v ] ) return localzeros