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