Package weka.classifiers.lazy.AM.lattice
Class SparseLattice
- java.lang.Object
-
- weka.classifiers.lazy.AM.lattice.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 Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
fill(SubcontextList subList)
Fill the lattice with given subcontexts.java.util.Set<Supracontext>
getSupracontexts()
-
-
-
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.
-
getSupracontexts
public java.util.Set<Supracontext> getSupracontexts()
- Specified by:
getSupracontexts
in interfaceLattice
- Returns:
- The list of supracontexts that were created by filling the supracontextual lattice. From this, you can compute the analogical set.
-
-