Package weka.classifiers.lazy.AM.lattice
Class BasicLattice
- java.lang.Object
-
- weka.classifiers.lazy.AM.lattice.BasicLattice
-
- All Implemented Interfaces:
Lattice
public class BasicLattice extends java.lang.Object implements Lattice
This class holds the supracontextual lattice and does the work of filling itself during classification. This class represents the supracontextual lattice. The supractontextual lattice is a boolean algebra which models supra- and subcontexts for the AM algorithm. Using boolean algebra allows efficient computation of these as well as traversal of all subcontexts within a supracontext.
-
-
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.
-
-