Class NeighborhoodCalculator
java.lang.Object
tools.refinery.store.statecoding.neighborhood.AbstractNeighborhoodCalculator<Interpretation<?>>
tools.refinery.store.statecoding.neighborhood.NeighborhoodCalculator
- All Implemented Interfaces:
StateCodeCalculator
-
Field Summary
FieldsFields inherited from class tools.refinery.store.statecoding.neighborhood.AbstractNeighborhoodCalculator
PRIME -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedNeighborhoodCalculator(Model model, List<? extends Interpretation<?>> interpretations, IndividualsSet individuals, int depth) -
Method Summary
Modifier and TypeMethodDescriptionstatic StateCodeCalculatorFactoryfactory()static StateCodeCalculatorFactoryfactory(int depth) protected intgetArity(Interpretation<?> interpretation) getCursor(Interpretation<?> interpretation) List<Interpretation<?>> protected ObjectgetNullValue(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:
getInterpretationsin classAbstractNeighborhoodCalculator<Interpretation<?>>
-
getArity
- Specified by:
getArityin classAbstractNeighborhoodCalculator<Interpretation<?>>
-
getNullValue
- Specified by:
getNullValuein classAbstractNeighborhoodCalculator<Interpretation<?>>
-
getCursor
- Specified by:
getCursorin classAbstractNeighborhoodCalculator<Interpretation<?>>
-
factory
-
factory
-