Implementation of Lattice Learning classes