Package weka.classifiers.lazy.AM.lattice
Class LatticeFactory.CardinalityBasedLatticeFactory
- java.lang.Object
-
- weka.classifiers.lazy.AM.lattice.LatticeFactory.CardinalityBasedLatticeFactory
-
- All Implemented Interfaces:
LatticeFactory
- Enclosing interface:
- LatticeFactory
public static class LatticeFactory.CardinalityBasedLatticeFactory extends java.lang.Object implements LatticeFactory
Chooses the lattice implementation based on the cardinality of the instances in the subcontext list.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface weka.classifiers.lazy.AM.lattice.LatticeFactory
LatticeFactory.CardinalityBasedLatticeFactory
-
-
Constructor Summary
Constructors Constructor Description CardinalityBasedLatticeFactory(int cardinality, int numPartitions)
CardinalityBasedLatticeFactory(int cardinality, int numPartitions, java.util.function.Supplier<java.util.Random> randomProvider)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Lattice
createLattice()
-
-
-
Method Detail
-
createLattice
public Lattice createLattice()
- Specified by:
createLattice
in interfaceLatticeFactory
- Returns:
Lattice
implementation
-
-