Class NeighborhoodCalculator
java.lang.Object
tools.refinery.store.statecoding.neighborhood.AbstractNeighborhoodCalculator<Interpretation<?>>
tools.refinery.store.statecoding.neighborhood.NeighborhoodCalculator
- All Implemented Interfaces:
StateCodeCalculator
-
Field Summary
Fields inherited from class tools.refinery.store.statecoding.neighborhood.AbstractNeighborhoodCalculator
PRIME
-
Constructor Summary
ModifierConstructorDescriptionprotected
NeighborhoodCalculator
(Model model, List<? extends Interpretation<?>> interpretations, IndividualsSet individuals, int depth) -
Method Summary
Modifier and TypeMethodDescriptionstatic StateCodeCalculatorFactory
factory()
static StateCodeCalculatorFactory
factory
(int depth) protected int
getArity
(Interpretation<?> interpretation) getCursor
(Interpretation<?> interpretation) List
<Interpretation<?>> protected Object
getNullValue
(Interpretation<?> interpretation) Methods inherited from class tools.refinery.store.statecoding.neighborhood.AbstractNeighborhoodCalculator
addHash, calculateCodes, getModel, getTupleHash1, getTupleHash2, getTupleHashN, impactCalculation, initializeWithIndividuals
-
Field Details
-
DEFAULT_DEPTH
public static final int DEFAULT_DEPTH- See Also:
-
-
Constructor Details
-
NeighborhoodCalculator
protected NeighborhoodCalculator(Model model, List<? extends Interpretation<?>> interpretations, IndividualsSet individuals, int depth)
-
-
Method Details
-
getInterpretations
- Specified by:
getInterpretations
in classAbstractNeighborhoodCalculator<Interpretation<?>>
-
getArity
- Specified by:
getArity
in classAbstractNeighborhoodCalculator<Interpretation<?>>
-
getNullValue
- Specified by:
getNullValue
in classAbstractNeighborhoodCalculator<Interpretation<?>>
-
getCursor
- Specified by:
getCursor
in classAbstractNeighborhoodCalculator<Interpretation<?>>
-
factory
-
factory
-