Class OppositeRefiner<A extends AbstractValue<A,C>,C>
java.lang.Object
tools.refinery.store.reasoning.refinement.AbstractPartialInterpretationRefiner<A,C>
tools.refinery.store.reasoning.translator.opposite.OppositeRefiner<A,C>
- All Implemented Interfaces:
AnyPartialInterpretationRefiner
,PartialInterpretationRefiner<A,
C>
public class OppositeRefiner<A extends AbstractValue<A,C>,C>
extends AbstractPartialInterpretationRefiner<A,C>
-
Nested Class Summary
Nested classes/interfaces inherited from class tools.refinery.store.reasoning.refinement.AbstractPartialInterpretationRefiner
AbstractPartialInterpretationRefiner.ConcretizationAware<A extends AbstractValue<A,
C>, C> Nested classes/interfaces inherited from interface tools.refinery.store.reasoning.refinement.PartialInterpretationRefiner
PartialInterpretationRefiner.Factory<A extends AbstractValue<A,
C>, C> -
Constructor Summary
ModifierConstructorDescriptionprotected
OppositeRefiner
(ReasoningAdapter adapter, PartialSymbol<A, C> partialSymbol, PartialSymbol<A, C> oppositeSymbol) -
Method Summary
Modifier and TypeMethodDescriptionvoid
afterInitialize
(ModelSeed modelSeed) Execute propagations based on the contents of themodelSeed
that would by executed if themodelSeed
were written to the model as a sequence ofPartialInterpretationRefiner.merge(Tuple, AbstractValue)
calls.boolean
static <A1 extends AbstractValue<A1,
C1>, C1>
PartialInterpretationRefiner.Factory<A1, C1> of
(PartialSymbol<A1, C1> oppositeSymbol) Methods inherited from class tools.refinery.store.reasoning.refinement.AbstractPartialInterpretationRefiner
getAdapter, getPartialSymbol
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface tools.refinery.store.reasoning.refinement.AnyPartialInterpretationRefiner
afterCreate
-
Constructor Details
-
OppositeRefiner
protected OppositeRefiner(ReasoningAdapter adapter, PartialSymbol<A, C> partialSymbol, PartialSymbol<A, C> oppositeSymbol)
-
-
Method Details
-
merge
-
afterInitialize
Description copied from interface:AnyPartialInterpretationRefiner
Execute propagations based on the contents of themodelSeed
that would by executed if themodelSeed
were written to the model as a sequence ofPartialInterpretationRefiner.merge(Tuple, AbstractValue)
calls.This method is called only after
PartialModelInitializer.initialize(Model, ModelSeed)
was called on allPartialModelInitializer
instances registered to theReasoningStoreAdapter
.The default implementation of this method performs no actions. Override it make the behavior consistent with your
PartialInterpretationRefiner.merge(Tuple, AbstractValue)
implementation.- Parameters:
modelSeed
- The model seed which was written by a previous call ofPartialModelInitializer.initialize(Model, ModelSeed)
.
-
of
public static <A1 extends AbstractValue<A1,C1>, PartialInterpretationRefiner.Factory<A1,C1> C1> of(PartialSymbol<A1, C1> oppositeSymbol)
-