0.5.0.dev (2023-03-29)

Features

  • Give the possibility to create a finite subset using a sorted array of intervals of int.

    Implement FiniteUniverse methods:

    Implement FiniteUniverse attributes:

    Implement FiniteSubSet methods:

  • Add an IntegerSet class able to efficiently represent subset of integers using either:

    • a compact form if array.array can be used;

    • a list of integers.

    The FiniteSubSet uses now IntegerSet. (#2)

  • Create three named tuple for clarifying code:

    • Link for representing binary links;

    • Neighbourhood for representing element neighbourhoods;

    • Measure for representing measures associated to closed set. (#3)

  • Make changes to the function _reduced_context_completion(). In-place enlarge the lattice with an iterable of elements. Implementation of a naive version of this algorithm. Should be optimized.

    Also makes changes to testing files and add test_extend_idempotence(). Test of the idempotency property of the RᴇᴅᴜᴄᴇᴅCᴏɴᴛᴇxᴛCᴏᴍᴘʟᴇᴛɪᴏɴ algorithm. (#4)