Class SparseLattice

  • All Implemented Interfaces:
    Lattice

    public class SparseLattice
    extends java.lang.Object
    implements Lattice
    Warning: this class is currently experimental, slow, and not correct. Do not try to use in production. Fill a sparse lattice structure which stores unique references to unique Supracontexts. The lattice filling algorithm is based on an improved version of AddIntent, described in "An Improved AddIntent Algorithm for Building Concept Lattice" by Lv Lingling, et. al., 2011.
    • Method Detail

      • fill

        public void fill​(SubcontextList subList)
        Description copied from interface: Lattice
        Fill the lattice with given subcontexts. This is meant to be done only once for a given Lattice instance.
        Specified by:
        fill in interface Lattice
      • getSupracontexts

        public java.util.Set<Supracontext> getSupracontexts()
        Specified by:
        getSupracontexts in interface Lattice
        Returns:
        The list of supracontexts that were created by filling the supracontextual lattice. From this, you can compute the analogical set.