Class SimpleMinimalModelProvider
java.lang.Object
org.tweetyproject.logics.pl.analysis.SimpleMinimalModelProvider
- All Implemented Interfaces:
MinimalModelProvider<Proposition,
PlBeliefSet, PlFormula>
public class SimpleMinimalModelProvider
extends Object
implements MinimalModelProvider<Proposition,PlBeliefSet,PlFormula>
comptes all minimal models given a set of models
- Author:
- Sebastian Franke
-
Field Summary
Modifier and TypeFieldDescriptionmodel provider -
Constructor Summary
ConstructorDescriptionSimpleMinimalModelProvider
(ModelProvider<?, PlBeliefSet, InterpretationSet<Proposition, PlBeliefSet, PlFormula>> modelProvider) standard constructor with model provider -
Method Summary
Modifier and TypeMethodDescriptionConstructorConstructor
-
Field Details
-
modelProvider
public ModelProvider<?,PlBeliefSet, modelProviderInterpretationSet<Proposition, PlBeliefSet, PlFormula>> model provider
-
-
Constructor Details
-
SimpleMinimalModelProvider
public SimpleMinimalModelProvider(ModelProvider<?, PlBeliefSet, InterpretationSet<Proposition, PlBeliefSet, PlFormula>> modelProvider) standard constructor with model provider- Parameters:
modelProvider
- a model provider
-
-
Method Details
-
getMinModels
Description copied from interface:MinimalModelProvider
Constructor- Specified by:
getMinModels
in interfaceMinimalModelProvider<Proposition,
PlBeliefSet, PlFormula> - Parameters:
f
- all models- Returns:
- the minimal models
-
getMinModels
Description copied from interface:MinimalModelProvider
Constructor- Specified by:
getMinModels
in interfaceMinimalModelProvider<Proposition,
PlBeliefSet, PlFormula> - Parameters:
f
- a beliefbase- Returns:
- a set of possible worlds
-