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 AbstractPartialInterpretationRefiner
AbstractPartialInterpretationRefiner.ConcretizationAware<A,C> Nested classes/interfaces inherited from interface PartialInterpretationRefiner
PartialInterpretationRefiner.Factory<A,C> -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedOppositeRefiner(ReasoningAdapter adapter, PartialSymbol<A, C> partialSymbol, PartialSymbol<A, C> oppositeSymbol) -
Method Summary
Modifier and TypeMethodDescriptionvoidafterInitialize(ModelSeed modelSeed) Execute propagations based on the contents of themodelSeedthat would by executed if themodelSeedwere written to the model as a sequence ofPartialInterpretationRefiner.merge(Tuple, AbstractValue)calls.booleanstatic <A1 extends AbstractValue<A1,C1>, C1>
PartialInterpretationRefiner.Factory<A1, C1> of(PartialSymbol<A1, C1> oppositeSymbol) Methods inherited from class AbstractPartialInterpretationRefiner
getAdapter, getPartialSymbolMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface 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:AnyPartialInterpretationRefinerExecute propagations based on the contents of themodelSeedthat would by executed if themodelSeedwere 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 allPartialModelInitializerinstances 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>, C1> PartialInterpretationRefiner.Factory<A1,C1> of(PartialSymbol<A1, C1> oppositeSymbol)
-