Class PartialSymbolTranslator<A extends AbstractValue<A,C>,C>
java.lang.Object
tools.refinery.store.reasoning.translator.PartialSymbolTranslator<A,C>
- All Implemented Interfaces:
ModelStoreConfiguration
,AnyPartialSymbolTranslator
- Direct Known Subclasses:
PartialRelationTranslator
public abstract sealed class PartialSymbolTranslator<A extends AbstractValue<A,C>,C>
extends Object
implements AnyPartialSymbolTranslator
permits PartialRelationTranslator
-
Field Summary
Modifier and TypeFieldDescriptionprotected @Nullable Criterion
protected boolean
protected @Nullable Criterion
protected boolean
protected PartialModelInitializer
protected PartialInterpretation.Factory
<A, C> protected PartialInterpretationRefiner.Factory
<A, C> protected @Nullable Objective
protected boolean
protected StorageRefiner.Factory
<?> protected AnySymbol
-
Method Summary
Modifier and TypeMethodDescriptionvoid
apply
(ModelStoreBuilder storeBuilder) protected void
protected void
void
configure
(ModelStoreBuilder storeBuilder) protected void
doConfigure
(ModelStoreBuilder storeBuilder) initializer
(PartialModelInitializer initializer) interpretation
(PartialInterpretation.Factory<A, C> interpretationFactory) boolean
refiner
(PartialInterpretationRefiner.Factory<A, C> interpretationRefiner) <T> PartialSymbolTranslator
<A, C> symbol
(Symbol<T> storageSymbol, StorageRefiner.Factory<T> storageRefiner)
-
Field Details
-
interpretationRefiner
protected PartialInterpretationRefiner.Factory<A extends AbstractValue<A,C>, interpretationRefinerC> -
storageSymbol
-
storageRefiner
-
interpretationFactory
-
initializer
-
decisionRules
-
acceptWasSet
protected boolean acceptWasSet -
accept
-
excludeWasSet
protected boolean excludeWasSet -
exclude
-
objectiveWasSet
protected boolean objectiveWasSet -
objective
-
-
Method Details
-
getPartialSymbol
- Specified by:
getPartialSymbol
in interfaceAnyPartialSymbolTranslator
-
apply
- Specified by:
apply
in interfaceModelStoreConfiguration
-
isConfigured
public boolean isConfigured() -
checkConfigured
protected void checkConfigured() -
checkNotConfigured
protected void checkNotConfigured() -
symbol
-
symbol
public <T> PartialSymbolTranslator<A,C> symbol(Symbol<T> storageSymbol, StorageRefiner.Factory<T> storageRefiner) -
interpretation
public PartialSymbolTranslator<A,C> interpretation(PartialInterpretation.Factory<A, C> interpretationFactory) -
refiner
public PartialSymbolTranslator<A,C> refiner(PartialInterpretationRefiner.Factory<A, C> interpretationRefiner) -
initializer
-
decision
-
accept
-
exclude
-
objective
-
configure
- Specified by:
configure
in interfaceAnyPartialSymbolTranslator
-
doConfigure
-
getInterpretationFactory
-
getInterpretationRefiner
-