Uses of Class
org.tweetyproject.logics.pl.syntax.PlFormula
Packages that use PlFormula
Package
Description
-
Uses of PlFormula in org.tweetyproject.action.query.syntax
Subclasses of PlFormula in org.tweetyproject.action.query.syntaxModifier and TypeClassDescriptionclass
This class represents an always query in the action query language S.class
This class represents a holds query in the action query language S.class
This class represents a necessarily query in the action query language S.class
Action queries are represented as propositional formulas with three possible types of propositions: "holds", "always" and "necessarily" propositions.Methods in org.tweetyproject.action.query.syntax that return PlFormulaModifier and TypeMethodDescriptionSActionQuery.getFormula()
Retrieves the propositional formula represented by this action query.Constructors in org.tweetyproject.action.query.syntax with parameters of type PlFormulaModifierConstructorDescriptionSActionQuery
(PlFormula formula) Creates a new action query with the given propositional formula and no grounding requirements.SActionQuery
(PlFormula formula, Set<GroundingRequirement> requirements) Creates a new action query with the given propositional formula and grounding requirements. -
Uses of PlFormula in org.tweetyproject.agents.dialogues
Subclasses with type arguments of type PlFormula in org.tweetyproject.agents.dialoguesModifier and TypeClassDescriptionclass
This class packs a set of formulas into an executable object.Constructor parameters in org.tweetyproject.agents.dialogues with type arguments of type PlFormulaModifierConstructorDescriptionExecutableFormulaSet
(Collection<? extends PlFormula> formulas) Creates a new set for the given formulas. -
Uses of PlFormula in org.tweetyproject.agents.dialogues.oppmodels
Methods in org.tweetyproject.agents.dialogues.oppmodels that return types with arguments of type PlFormulaModifier and TypeMethodDescriptionDeductiveEnvironment.getDialogueTrace()
Returns the current dialogue trace.DeductiveEnvironment.getDialogueTrace()
Returns the current dialogue trace. -
Uses of PlFormula in org.tweetyproject.arg.aspic.ruleformulagenerator
Subclasses with type arguments of type PlFormula in org.tweetyproject.arg.aspic.ruleformulageneratorModifier and TypeClassDescriptionclass
ImplementsRuleFormulaGenerator
for propositional logic.Methods in org.tweetyproject.arg.aspic.ruleformulagenerator that return PlFormulaModifier and TypeMethodDescriptionPlFormulaGenerator.getRuleFormula
(DefeasibleInferenceRule<PlFormula> r) Method parameters in org.tweetyproject.arg.aspic.ruleformulagenerator with type arguments of type PlFormulaModifier and TypeMethodDescriptionPlFormulaGenerator.getRuleFormula
(DefeasibleInferenceRule<PlFormula> r) -
Uses of PlFormula in org.tweetyproject.arg.aspic.util
Methods in org.tweetyproject.arg.aspic.util that return types with arguments of type PlFormulaModifier and TypeMethodDescriptionRandomAspicArgumentationTheoryGenerator.next()
Returns an ASPIC argumentation theory -
Uses of PlFormula in org.tweetyproject.arg.caf.syntax
Methods in org.tweetyproject.arg.caf.syntax that return PlFormulaModifier and TypeMethodDescriptionConstrainedArgumentationFramework.getConstraint()
Retrieves the current propositional constraint of the framework.Methods in org.tweetyproject.arg.caf.syntax with parameters of type PlFormulaModifier and TypeMethodDescriptionboolean
ConstrainedArgumentationFramework.setConstraint
(PlFormula constraint) Sets a new propositional formula as the constraint of CAF.Constructors in org.tweetyproject.arg.caf.syntax with parameters of type PlFormulaModifierConstructorDescriptionConstrainedArgumentationFramework
(Graph<Argument> graph, PlFormula constraint) Constructor for a CAF from a graph and a propositional formula as the constraint. -
Uses of PlFormula in org.tweetyproject.arg.deductive.reasoner
Classes in org.tweetyproject.arg.deductive.reasoner that implement interfaces with type arguments of type PlFormulaModifier and TypeClassDescriptionclass
This class contains common characteristics for deductive argumentation reasoner.Methods in org.tweetyproject.arg.deductive.reasoner with parameters of type PlFormulaModifier and TypeMethodDescriptionAbstractDeductiveArgumentationReasoner.query
(DeductiveKnowledgeBase kb, PlFormula f) -
Uses of PlFormula in org.tweetyproject.arg.deductive.semantics
Methods in org.tweetyproject.arg.deductive.semantics that return PlFormulaModifier and TypeMethodDescriptionDeductiveArgument.getClaim()
Returns the claim of this argument.Methods in org.tweetyproject.arg.deductive.semantics that return types with arguments of type PlFormulaModifier and TypeMethodDescriptionCollection
<? extends PlFormula> DeductiveArgument.getSupport()
Returns the support of this argument.Constructors in org.tweetyproject.arg.deductive.semantics with parameters of type PlFormulaModifierConstructorDescriptionDeductiveArgument
(Collection<? extends PlFormula> support, PlFormula claim) Creates a new deductive argument with the given support and claim.DeductiveArgumentNode
(Collection<? extends PlFormula> support, PlFormula claim) Creates a new deductive argument node with the given support and claim (a unique ID is generated)Constructor parameters in org.tweetyproject.arg.deductive.semantics with type arguments of type PlFormulaModifierConstructorDescriptionCompilationNode
(Collection<? extends PlFormula> formulas) Creates a new compilation node with the given set of formulas.DeductiveArgument
(Collection<? extends PlFormula> support, PlFormula claim) Creates a new deductive argument with the given support and claim.DeductiveArgumentNode
(Collection<? extends PlFormula> support, PlFormula claim) Creates a new deductive argument node with the given support and claim (a unique ID is generated) -
Uses of PlFormula in org.tweetyproject.arg.deductive.syntax
Classes in org.tweetyproject.arg.deductive.syntax that implement interfaces with type arguments of type PlFormulaModifier and TypeClassDescriptionclass
Represents a simple propositional logic rule.class
Represents a simple propositional logic rule.Methods in org.tweetyproject.arg.deductive.syntax that return PlFormulaModifier and TypeMethodDescriptionSimplePlLogicArgument.getClaim()
Returns the claim of this argument, which is a propositional logic formula.SimplePlRule.getConclusion()
Retrieves the conclusion (claim) of the rule.Methods in org.tweetyproject.arg.deductive.syntax that return types with arguments of type PlFormulaModifier and TypeMethodDescriptionCollection
<? extends PlFormula> SimplePlRule.getPremise()
Retrieves the premises (support) of the rule.Methods in org.tweetyproject.arg.deductive.syntax with parameters of type PlFormulaModifier and TypeMethodDescriptionvoid
SimplePlRule.addPremise
(PlFormula arg0) Adds a premise to the rule.DeductiveKnowledgeBase.getDeductiveArguments
(PlFormula claim) Computes all deductive arguments for the given claim.void
SimplePlRule.setConclusion
(PlFormula arg0) Sets the conclusion (claim) of the rule.Method parameters in org.tweetyproject.arg.deductive.syntax with type arguments of type PlFormulaModifier and TypeMethodDescriptionvoid
SimplePlRule.addPremises
(Collection<? extends PlFormula> arg0) Adds a collection of premises to the rule.Constructors in org.tweetyproject.arg.deductive.syntax with parameters of type PlFormulaModifierConstructorDescriptionSimplePlLogicArgument
(Collection<SimplePlRule> _support, PlFormula _claim) Constructs a simple propositional logic argument with the given support and claim.SimplePlRule
(PlFormula _claim) Constructs a rule with the specified conclusion and an empty set of premises.SimplePlRule
(PlFormula _claim, Set<PlFormula> _support) Constructs a rule with the specified conclusion and set of premises.Constructor parameters in org.tweetyproject.arg.deductive.syntax with type arguments of type PlFormulaModifierConstructorDescriptionDeductiveKnowledgeBase
(Collection<? extends PlFormula> formulas) Creates a new knowledge base with the given set of formulas.SimplePlRule
(PlFormula _claim, Set<PlFormula> _support) Constructs a rule with the specified conclusion and set of premises. -
Uses of PlFormula in org.tweetyproject.arg.deductive.util
Classes in org.tweetyproject.arg.deductive.util that implement interfaces with type arguments of type PlFormulaModifier and TypeClassDescriptionclass
Generates random Deductive Knowledge Bases. -
Uses of PlFormula in org.tweetyproject.arg.dung.causal.syntax
Methods in org.tweetyproject.arg.dung.causal.syntax that return PlFormulaModifier and TypeMethodDescriptionInducedArgument.getConclusion()
Returns the conclusion of this induced argument.Methods in org.tweetyproject.arg.dung.causal.syntax that return types with arguments of type PlFormulaModifier and TypeMethodDescriptionKnowledgeBase.getAssumptions()
CausalKnowledgeBase.getBeliefs()
KnowledgeBase.getBeliefs()
Retrieves all beliefs (propositional formulas) stored in this knowledge base.CausalKnowledgeBase.getBeliefsWithoutStructuralEquations()
Retrieves all propositional formulas of this knowledge base excluding the structural equations.CausalStatement.getConclusions()
Retrieves the conclusions of this causal statement.CausalStatement.getPremises()
Retrieves the premises of this causal statement.InducedArgument.getPremises()
Returns the premises of this induced argument.CausalKnowledgeBase.getSingelAtomConclusions
(Set<PlFormula> premises) Returns all 1-atom-conclusions of this instance if the specified set of formulas is used as premises.Methods in org.tweetyproject.arg.dung.causal.syntax with parameters of type PlFormulaModifier and TypeMethodDescriptionboolean
boolean
boolean
KnowledgeBase.addAssumption
(PlFormula assumption) Adds a background assumption to this knowledge base.boolean
This method checks if a specified fomula can be concluded from this instance, by checking if all stable extension contain at least one argument with the conclusion to check.boolean
Computes if a specified conclusion could be drawn from adding the specified premises to this instance.boolean
KnowledgeBase.removeAssumption
(PlFormula assumption) Removes a background assumption from this knowledge base.Method parameters in org.tweetyproject.arg.dung.causal.syntax with type arguments of type PlFormulaModifier and TypeMethodDescriptionboolean
CausalModel.addAll
(Collection<? extends PlFormula> formulas) boolean
Computes if a specified conclusion could be drawn from adding the specified premises to this instance.CausalKnowledgeBase.getSingelAtomConclusions
(Set<PlFormula> premises) Returns all 1-atom-conclusions of this instance if the specified set of formulas is used as premises.Constructors in org.tweetyproject.arg.dung.causal.syntax with parameters of type PlFormulaModifierConstructorDescriptionInducedArgument
(CausalKnowledgeBase knowledgeBase, Set<PlFormula> premises, PlFormula conclusion) Creates a causal argumentConstructor parameters in org.tweetyproject.arg.dung.causal.syntax with type arguments of type PlFormulaModifierConstructorDescriptionCausalKnowledgeBase
(CausalModel facts, Set<PlFormula> assumptions) Creates a new causal knowledge baseCausalStatement
(HashSet<PlFormula> conclusions, HashSet<PlFormula> premises) Creates a new causal statement.CounterfactualStatement
(HashSet<PlFormula> conclusions, HashMap<Proposition, Boolean> interventions, HashSet<PlFormula> premises) Creates a new counterfactual causal statement.InducedArgument
(CausalKnowledgeBase knowledgeBase, Set<PlFormula> premises, PlFormula conclusion) Creates a causal argumentInterventionalStatement
(HashSet<PlFormula> conclusions, HashMap<Proposition, Boolean> interventions, HashSet<PlFormula> premises) Creates a new interventional causal statement.KnowledgeBase
(Set<PlFormula> assumptions) Constructs a knowledge base with a specified set of background assumptions. -
Uses of PlFormula in org.tweetyproject.arg.dung.learning.syntax
Classes in org.tweetyproject.arg.dung.learning.syntax that implement interfaces with type arguments of type PlFormulaModifier and TypeClassDescriptionclass
This class models a clausal attack constraintMethods in org.tweetyproject.arg.dung.learning.syntax that return types with arguments of type PlFormula -
Uses of PlFormula in org.tweetyproject.beliefdynamics.mas
Constructor parameters in org.tweetyproject.beliefdynamics.mas with type arguments of type PlFormulaModifierConstructorDescriptionAbstractCredibilityComparer
(Collection<InformationObject<PlFormula>> formulas, Order<Agent> credOrder) Creates a new credibility comparer that is guided by the giving information which agents uttered the formulas and the credibility order.CredibilityCategorizer
(Collection<InformationObject<PlFormula>> formulas, Order<Agent> credOrder) Creates a new credibility categorizer that is guided by the giving information which agents uttered the formulas and the credibility order. -
Uses of PlFormula in org.tweetyproject.beliefdynamics.operators
Subclasses with type arguments of type PlFormula in org.tweetyproject.beliefdynamics.operatorsModifier and TypeClassDescriptionclass
This class is an exemplary instantiation of a revision operator based on deductive argumentation [Kruempelmann:2011] where several parameters have been fixed: - the inner revision is a Levi revision which bases on the random kernel contraction - the transformation function is credulous - the accumulator used for deductive argumentation is the simple accumulator - the categorizer used for deductive argumentation is the classical categorizerclass
This class is an exemplary instantiation of a revision operator based on deductive argumentation and credibilities where several parameters have been fixed: - the inner revision is a Levi revision which bases on the random kernel contraction - the transformation function is credulous - the accumulator used for deductive argumentation is the simple accumulator - the categorizer used for deductive argumentation is the credibility categorizerclass
This revision operator accepts only those pieces of information for revision where the credibility of the source is at least as high as the credibility of the agent which proves the complement.class
This class implements a simple kernel base contraction for propositional logic with an incision function that randomly selects its incisions.Methods in org.tweetyproject.beliefdynamics.operators that return types with arguments of type PlFormulaModifier and TypeMethodDescriptionArgumentativeRevisionOperator.revise
(Collection<PlFormula> base, Collection<PlFormula> formulas) CrMasArgumentativeRevisionOperator.revise
(Collection<InformationObject<PlFormula>> base, Collection<InformationObject<PlFormula>> formulas) CrMasSimpleRevisionOperator.revise
(Collection<InformationObject<PlFormula>> base, Collection<InformationObject<PlFormula>> formulas) Method parameters in org.tweetyproject.beliefdynamics.operators with type arguments of type PlFormulaModifier and TypeMethodDescriptionArgumentativeRevisionOperator.revise
(Collection<PlFormula> base, Collection<PlFormula> formulas) CrMasArgumentativeRevisionOperator.revise
(Collection<InformationObject<PlFormula>> base, Collection<InformationObject<PlFormula>> formulas) CrMasSimpleRevisionOperator.revise
(Collection<InformationObject<PlFormula>> base, Collection<InformationObject<PlFormula>> formulas) -
Uses of PlFormula in org.tweetyproject.beliefdynamics.selectiverevision.argumentative
Classes in org.tweetyproject.beliefdynamics.selectiverevision.argumentative that implement interfaces with type arguments of type PlFormulaModifier and TypeClassDescriptionclass
This class implements the argumentative transformation functions proposed in [Kruempelmann:2011].Methods in org.tweetyproject.beliefdynamics.selectiverevision.argumentative that return types with arguments of type PlFormulaModifier and TypeMethodDescriptionArgumentativeTransformationFunction.transform
(Collection<PlFormula> formulas) Method parameters in org.tweetyproject.beliefdynamics.selectiverevision.argumentative with type arguments of type PlFormulaModifier and TypeMethodDescriptionArgumentativeTransformationFunction.transform
(Collection<PlFormula> formulas) -
Uses of PlFormula in org.tweetyproject.logics.cl.reasoner
Classes in org.tweetyproject.logics.cl.reasoner that implement interfaces with type arguments of type PlFormulaModifier and TypeClassDescriptionclass
Abstract ancestor for all reasoner for conditional logic.Methods in org.tweetyproject.logics.cl.reasoner with parameters of type PlFormulaModifier and TypeMethodDescriptionAbstractConditionalLogicReasoner.query
(ClBeliefSet beliefbase, PlFormula formula) -
Uses of PlFormula in org.tweetyproject.logics.cl.semantics
Methods in org.tweetyproject.logics.cl.semantics with parameters of type PlFormulaModifier and TypeMethodDescriptionGets the rank of the given formula.Method parameters in org.tweetyproject.logics.cl.semantics with type arguments of type PlFormulaModifier and TypeMethodDescriptionvoid
RankingFunction.forceStrictness
(Set<PlFormula> formulas) Sets the rank of every interpretation i that does not satisfy the given set of formulas to RankingFunction.INFINITY. -
Uses of PlFormula in org.tweetyproject.logics.cl.syntax
Classes in org.tweetyproject.logics.cl.syntax that implement interfaces with type arguments of type PlFormulaModifier and TypeClassDescriptionclass
This class represents a basic conditional (B|A) with formulas A,B.class
This class represents a basic conditional (B|A) with formulas A,B.Methods in org.tweetyproject.logics.cl.syntax that return PlFormulaMethods in org.tweetyproject.logics.cl.syntax that return types with arguments of type PlFormulaMethods in org.tweetyproject.logics.cl.syntax with parameters of type PlFormulaModifier and TypeMethodDescriptionvoid
Conditional.addPremise
(PlFormula premise) void
Conditional.setConclusion
(PlFormula conclusion) Method parameters in org.tweetyproject.logics.cl.syntax with type arguments of type PlFormulaModifier and TypeMethodDescriptionvoid
Conditional.addPremises
(Collection<? extends PlFormula> premises) Constructors in org.tweetyproject.logics.cl.syntax with parameters of type PlFormulaModifierConstructorDescriptionConditional
(PlFormula conclusion) Creates a new conditional with a tautological premise and given conclusion.Conditional
(PlFormula premise, PlFormula conclusion) Creates a new conditional with the given premise and conclusion. -
Uses of PlFormula in org.tweetyproject.logics.pcl.reasoner
Classes in org.tweetyproject.logics.pcl.reasoner that implement interfaces with type arguments of type PlFormulaMethods in org.tweetyproject.logics.pcl.reasoner with parameters of type PlFormulaModifier and TypeMethodDescriptionabstract Double
AbstractPclReasoner.query
(PclBeliefSet beliefbase, PlFormula formula) DefaultMeReasoner.query
(PclBeliefSet beliefbase, PlFormula formula) GeneralizedMeReasoner.query
(PclBeliefSet beliefbase, PlFormula formula) -
Uses of PlFormula in org.tweetyproject.logics.pcl.semantics
Classes in org.tweetyproject.logics.pcl.semantics with type parameters of type PlFormulaModifier and TypeClassDescriptionclass
ProbabilityDistribution<T extends Interpretation<PlBeliefSet,
PlFormula>> This class represents a probability distribution on some logical languageMethods in org.tweetyproject.logics.pcl.semantics with type parameters of type PlFormulaModifier and TypeMethodDescriptionstatic <S extends Interpretation<PlBeliefSet,
PlFormula>>
ProbabilityDistribution<S> ProbabilityDistribution.convexCombination
(double[] factors, ProbabilityDistribution<S>[] creators) Computes the convex combination of the given probability distributions P1,...,PN with parameters factors, i.e.static <S extends Interpretation<PlBeliefSet,
PlFormula>>
ProbabilityDistribution<S> ProbabilityDistribution.getUniformDistribution
(Set<S> interpretations, Signature sig) Returns the uniform distribution on the given interpretations.Methods in org.tweetyproject.logics.pcl.semantics with parameters of type PlFormulaModifier and TypeMethodDescriptionProbabilityDistribution.probability
(PlFormula f) Returns the probability of the given formulaMethod parameters in org.tweetyproject.logics.pcl.semantics with type arguments of type PlFormulaModifier and TypeMethodDescriptionProbabilityDistribution.probability
(Interpretation<PlBeliefSet, PlFormula> w) Gets the probability of the given Herbrand interpretation (this is just an alias for get(Object o). -
Uses of PlFormula in org.tweetyproject.logics.pcl.syntax
Constructors in org.tweetyproject.logics.pcl.syntax with parameters of type PlFormulaModifierConstructorDescriptionProbabilisticConditional
(PlFormula premise, PlFormula conclusion, Probability probability) Creates a new probabilistic conditional with the given premise, conclusion, and probability.ProbabilisticConditional
(PlFormula conclusion, Probability probability) Creates a new probabilistic conditional with a tautological premise and given conclusion and probability. -
Uses of PlFormula in org.tweetyproject.logics.pl.analysis
Subclasses with type arguments of type PlFormula in org.tweetyproject.logics.pl.analysisModifier and TypeClassDescriptionclass
Provides an interface to a command line based inconsistency measure analyzerclass
This class implements the contension inconsistency measure, cf.class
Implements an approximation algorithm for the Contension inconsistency measure on streams.class
Implements the forgetting-based inconsistency measure from [Besnard.class
This measure implements the approach presented in [Thimm, Measuring Inconsistency with Many-Valued Logics.class
Implements an approximation algorithm for the Hs inconsistency measure on streams.class
This class implements the inconsistency measures proposed in [De Bona, Hunter.class
This class implements the "MUS-variable based inconsistency measure" proposed in [Xiao,Ma.class
A window inconsistency measurement process for propositional logic (this class needs to be there as no generics are allowed when instantiating a DefaultStreamBasedInconsistencyMeasure.class
This class implements the inconsistency measure I_{P_m} proposed in [Jabbour, Raddaoui.class
computes the inconsistency measure of theclass
A common base class for inconsistency measure implementations based on SAT encodings.Classes in org.tweetyproject.logics.pl.analysis that implement interfaces with type arguments of type PlFormulaModifier and TypeClassDescriptionclass
This class refines interpretation distances to distance on possible worlds.class
comptes all minimal models given a set of modelsclass
Implements an exhaustive search approach to compute all interpolants of a knowledge base wrt.Fields in org.tweetyproject.logics.pl.analysis with type parameters of type PlFormulaModifier and TypeFieldDescriptionSimplePrimeImplicantEnumerator.minModelProvider
minimal model providerSimpleMinimalModelProvider.modelProvider
model providerMethods in org.tweetyproject.logics.pl.analysis that return PlFormulaModifier and TypeMethodDescriptionSimplePlInterpolantEnumerator.getStrongestInterpolant
(Collection<PlFormula> k1, Collection<PlFormula> k2) SimplePlInterpolantEnumerator.getWeakestInterpolant
(Collection<PlFormula> k1, Collection<PlFormula> k2) Methods in org.tweetyproject.logics.pl.analysis that return types with arguments of type PlFormulaModifier and TypeMethodDescriptionSimplePrimeImplicantEnumerator.compressPrimeImplicants
(Set<Set<PlFormula>> primeImplicants) Return the compressed prime implicantsPrimeImplicantBasedInconsistencyMeasure.getConflicts
(PlBeliefSet beliefSet) Return the conflicts of the prime implicantsstatic InconsistencyMeasure
<BeliefSet<PlFormula, ?>> InconsistencyMeasureFactory.getInconsistencyMeasure
(InconsistencyMeasureFactory.Measure im) Creates a new inconsistency measure of the given type with default settings.SimplePlInterpolantEnumerator.getInterpolants
(Collection<PlFormula> k1, Collection<PlFormula> k2) SimpleMinimalModelProvider.getMinModels
(PlBeliefSet f) PrimeImplicantEnumerator.getPrimeImplicants
(PlBeliefSet forms) Return the prime implicantsSimplePrimeImplicantEnumerator.getPrimeImplicants
(PlBeliefSet forms) IcebergInconsistencyMeasure.getStarConflicts
(Collection<PlFormula> beliefSet) Computes all *-conflicts of a given belief base.Methods in org.tweetyproject.logics.pl.analysis with parameters of type PlFormulaModifier and TypeMethodDescriptiondouble
PossibleWorldDistance.distance
(PlFormula f, PossibleWorld b) SimpleMinimalModelProvider.getMinModels
(PlFormula f) boolean
SimplePlInterpolantEnumerator.isInterpolant
(PlFormula candidate, Collection<PlFormula> k1, Collection<PlFormula> k2) Method parameters in org.tweetyproject.logics.pl.analysis with type arguments of type PlFormulaModifier and TypeMethodDescriptionSimplePrimeImplicantEnumerator.compressPrimeImplicants
(Set<Set<PlFormula>> primeImplicants) Return the compressed prime implicantsSimplePlInterpolantEnumerator.getInterpolants
(Collection<PlFormula> k1, Collection<PlFormula> k2) FuzzyInconsistencyMeasure.getOptimalInterpretation
(Collection<PlFormula> formulas) Returns an optimal interpretation as a witness for the inconsistency value.ContensionSatInconsistencyMeasure.getSATEncoding
(Collection<PlFormula> kb, int upper_bound) DHitSatInconsistencyMeasure.getSATEncoding
(Collection<PlFormula> kb, int upper_bound) DMaxSatInconsistencyMeasure.getSATEncoding
(Collection<PlFormula> kb, int upper_bound) DSumSatInconsistencyMeasure.getSATEncoding
(Collection<PlFormula> kb, int upper_bound) IcebergInconsistencyMeasure.getStarConflicts
(Collection<PlFormula> beliefSet) Computes all *-conflicts of a given belief base.SimplePlInterpolantEnumerator.getStrongestInterpolant
(Collection<PlFormula> k1, Collection<PlFormula> k2) SimplePlInterpolantEnumerator.getWeakestInterpolant
(Collection<PlFormula> k1, Collection<PlFormula> k2) CmdLineImSolver.inconsistencyMeasure
(Collection<PlFormula> formulas) ContensionInconsistencyMeasure.inconsistencyMeasure
(Collection<PlFormula> formulas) ContensionSatInconsistencyMeasure.inconsistencyMeasure
(Collection<PlFormula> kb) DHitSatInconsistencyMeasure.inconsistencyMeasure
(Collection<PlFormula> kb) DMaxSatInconsistencyMeasure.inconsistencyMeasure
(Collection<PlFormula> kb) DSumSatInconsistencyMeasure.inconsistencyMeasure
(Collection<PlFormula> kb) FbInconsistencyMeasure.inconsistencyMeasure
(Collection<PlFormula> formulas) FuzzyInconsistencyMeasure.inconsistencyMeasure
(Collection<PlFormula> formulas) HsSatInconsistencyMeasure.inconsistencyMeasure
(Collection<PlFormula> kb) IcebergInconsistencyMeasure.inconsistencyMeasure
(Collection<PlFormula> formulas) MusVarInconsistencyMeasure.inconsistencyMeasure
(Collection<PlFormula> formulas) PmInconsistencyMeasure.inconsistencyMeasure
(Collection<PlFormula> formulas) PrimeImplicantBasedInconsistencyMeasure.inconsistencyMeasure
(Collection<PlFormula> formulas) boolean
SimplePlInterpolantEnumerator.isInterpolant
(PlFormula candidate, Collection<PlFormula> k1, Collection<PlFormula> k2) Constructor parameters in org.tweetyproject.logics.pl.analysis with type arguments of type PlFormulaModifierConstructorDescriptionSimpleMinimalModelProvider
(ModelProvider<?, PlBeliefSet, InterpretationSet<Proposition, PlBeliefSet, PlFormula>> modelProvider) standard constructor with model providerSimplePrimeImplicantEnumerator
(MinimalModelProvider<Proposition, PlBeliefSet, PlFormula> minModelProvider) Constructor -
Uses of PlFormula in org.tweetyproject.logics.pl.parser
Subclasses with type arguments of type PlFormula in org.tweetyproject.logics.pl.parserModifier and TypeClassDescriptionclass
Parser a file in Dimacs format into a PlBeliefSet.class
This class implements a parser for propositional logic.Methods in org.tweetyproject.logics.pl.parser that return PlFormulaMethods in org.tweetyproject.logics.pl.parser that return types with arguments of type PlFormulaModifier and TypeMethodDescriptionstatic Parser
<PlBeliefSet, PlFormula> PlParserFactory.getParserForFormat
(PlParserFactory.Format f) Retrieves an appropriate parser for the given format. -
Uses of PlFormula in org.tweetyproject.logics.pl.postulates
Classes in org.tweetyproject.logics.pl.postulates that implement interfaces with type arguments of type PlFormulaModifier and TypeClassDescriptionclass
An abstract postulate for inconsistency measures in propositional logic; the ancestor of all concrete postulates.Method parameters in org.tweetyproject.logics.pl.postulates with type arguments of type PlFormulaModifier and TypeMethodDescriptionboolean
ImAdjunctionInvariance.isApplicable
(Collection<PlFormula> kb) boolean
ImAttenuation.isApplicable
(Collection<PlFormula> kb) boolean
ImConsistency.isApplicable
(Collection<PlFormula> kb) boolean
ImContradiction.isApplicable
(Collection<PlFormula> kb) boolean
ImDominance.isApplicable
(Collection<PlFormula> kb) boolean
ImEqualConflict.isApplicable
(Collection<PlFormula> kb) boolean
ImExchange.isApplicable
(Collection<PlFormula> kb) boolean
ImFreeFormulaDilution.isApplicable
(Collection<PlFormula> kb) boolean
ImFreeFormulaIndependence.isApplicable
(Collection<PlFormula> kb) boolean
ImIrrelevanceOfSyntax.isApplicable
(Collection<PlFormula> kb) boolean
ImMINormalization.isApplicable
(Collection<PlFormula> kb) boolean
ImMISeparability.isApplicable
(Collection<PlFormula> kb) boolean
ImMonotony.isApplicable
(Collection<PlFormula> kb) boolean
ImNormalization.isApplicable
(Collection<PlFormula> kb) boolean
ImPenalty.isApplicable
(Collection<PlFormula> kb) abstract boolean
ImPostulate.isApplicable
(Collection<PlFormula> kb) boolean
ImSafeFormulaIndependence.isApplicable
(Collection<PlFormula> kb) boolean
ImSuperAdditivity.isApplicable
(Collection<PlFormula> kb) boolean
ImWeakDominance.isApplicable
(Collection<PlFormula> kb) boolean
ImAdjunctionInvariance.isSatisfied
(Collection<PlFormula> kb, BeliefSetInconsistencyMeasure<PlFormula> ev) boolean
ImAdjunctionInvariance.isSatisfied
(Collection<PlFormula> kb, BeliefSetInconsistencyMeasure<PlFormula> ev) boolean
ImAttenuation.isSatisfied
(Collection<PlFormula> kb, BeliefSetInconsistencyMeasure<PlFormula> ev) boolean
ImAttenuation.isSatisfied
(Collection<PlFormula> kb, BeliefSetInconsistencyMeasure<PlFormula> ev) boolean
ImConsistency.isSatisfied
(Collection<PlFormula> kb, BeliefSetInconsistencyMeasure<PlFormula> ev) boolean
ImConsistency.isSatisfied
(Collection<PlFormula> kb, BeliefSetInconsistencyMeasure<PlFormula> ev) boolean
ImContradiction.isSatisfied
(Collection<PlFormula> kb, BeliefSetInconsistencyMeasure<PlFormula> ev) boolean
ImContradiction.isSatisfied
(Collection<PlFormula> kb, BeliefSetInconsistencyMeasure<PlFormula> ev) boolean
ImDominance.isSatisfied
(Collection<PlFormula> kb, BeliefSetInconsistencyMeasure<PlFormula> ev) boolean
ImDominance.isSatisfied
(Collection<PlFormula> kb, BeliefSetInconsistencyMeasure<PlFormula> ev) boolean
ImEqualConflict.isSatisfied
(Collection<PlFormula> kb, BeliefSetInconsistencyMeasure<PlFormula> ev) boolean
ImEqualConflict.isSatisfied
(Collection<PlFormula> kb, BeliefSetInconsistencyMeasure<PlFormula> ev) boolean
ImExchange.isSatisfied
(Collection<PlFormula> kb, BeliefSetInconsistencyMeasure<PlFormula> ev) boolean
ImExchange.isSatisfied
(Collection<PlFormula> kb, BeliefSetInconsistencyMeasure<PlFormula> ev) boolean
ImFreeFormulaDilution.isSatisfied
(Collection<PlFormula> kb, BeliefSetInconsistencyMeasure<PlFormula> ev) boolean
ImFreeFormulaDilution.isSatisfied
(Collection<PlFormula> kb, BeliefSetInconsistencyMeasure<PlFormula> ev) boolean
ImFreeFormulaIndependence.isSatisfied
(Collection<PlFormula> kb, BeliefSetInconsistencyMeasure<PlFormula> ev) boolean
ImFreeFormulaIndependence.isSatisfied
(Collection<PlFormula> kb, BeliefSetInconsistencyMeasure<PlFormula> ev) boolean
ImIrrelevanceOfSyntax.isSatisfied
(Collection<PlFormula> kb, BeliefSetInconsistencyMeasure<PlFormula> ev) boolean
ImIrrelevanceOfSyntax.isSatisfied
(Collection<PlFormula> kb, BeliefSetInconsistencyMeasure<PlFormula> ev) boolean
ImMINormalization.isSatisfied
(Collection<PlFormula> kb, BeliefSetInconsistencyMeasure<PlFormula> ev) boolean
ImMINormalization.isSatisfied
(Collection<PlFormula> kb, BeliefSetInconsistencyMeasure<PlFormula> ev) boolean
ImMISeparability.isSatisfied
(Collection<PlFormula> kb, BeliefSetInconsistencyMeasure<PlFormula> ev) boolean
ImMISeparability.isSatisfied
(Collection<PlFormula> kb, BeliefSetInconsistencyMeasure<PlFormula> ev) boolean
ImMonotony.isSatisfied
(Collection<PlFormula> kb, BeliefSetInconsistencyMeasure<PlFormula> ev) boolean
ImMonotony.isSatisfied
(Collection<PlFormula> kb, BeliefSetInconsistencyMeasure<PlFormula> ev) boolean
ImNormalization.isSatisfied
(Collection<PlFormula> kb, BeliefSetInconsistencyMeasure<PlFormula> ev) boolean
ImNormalization.isSatisfied
(Collection<PlFormula> kb, BeliefSetInconsistencyMeasure<PlFormula> ev) boolean
ImPenalty.isSatisfied
(Collection<PlFormula> kb, BeliefSetInconsistencyMeasure<PlFormula> ev) boolean
ImPenalty.isSatisfied
(Collection<PlFormula> kb, BeliefSetInconsistencyMeasure<PlFormula> ev) boolean
ImPostulate.isSatisfied
(Collection<PlFormula> kb, PostulateEvaluatable<PlFormula> ev) boolean
ImPostulate.isSatisfied
(Collection<PlFormula> kb, PostulateEvaluatable<PlFormula> ev) abstract boolean
ImPostulate.isSatisfied
(Collection<PlFormula> kb, BeliefSetInconsistencyMeasure<PlFormula> ev) Return whether the formulas are satisfiedabstract boolean
ImPostulate.isSatisfied
(Collection<PlFormula> kb, BeliefSetInconsistencyMeasure<PlFormula> ev) Return whether the formulas are satisfiedboolean
ImSafeFormulaIndependence.isSatisfied
(Collection<PlFormula> kb, BeliefSetInconsistencyMeasure<PlFormula> ev) boolean
ImSafeFormulaIndependence.isSatisfied
(Collection<PlFormula> kb, BeliefSetInconsistencyMeasure<PlFormula> ev) boolean
ImSuperAdditivity.isSatisfied
(Collection<PlFormula> kb, BeliefSetInconsistencyMeasure<PlFormula> ev) boolean
ImSuperAdditivity.isSatisfied
(Collection<PlFormula> kb, BeliefSetInconsistencyMeasure<PlFormula> ev) boolean
ImWeakDominance.isSatisfied
(Collection<PlFormula> kb, BeliefSetInconsistencyMeasure<PlFormula> ev) boolean
ImWeakDominance.isSatisfied
(Collection<PlFormula> kb, BeliefSetInconsistencyMeasure<PlFormula> ev) -
Uses of PlFormula in org.tweetyproject.logics.pl.reasoner
Classes in org.tweetyproject.logics.pl.reasoner that implement interfaces with type arguments of type PlFormulaModifier and TypeClassDescriptionclass
Abstract class for propositional logic reasoners.class
Abstract class for propositional logic reasoners.Methods in org.tweetyproject.logics.pl.reasoner that return types with arguments of type PlFormulaModifier and TypeMethodDescriptionAbstractPlReasoner.getKernels
(Collection<PlFormula> formulas, PlFormula formula) Methods in org.tweetyproject.logics.pl.reasoner with parameters of type PlFormulaModifier and TypeMethodDescriptionAbstractPlReasoner.getKernels
(Collection<PlFormula> formulas, PlFormula formula) boolean
AbstractPlReasoner.isEquivalent
(PlFormula p1, PlFormula p2) Checks whether the two formulas are equivalentabstract Boolean
AbstractPlReasoner.query
(PlBeliefSet beliefbase, PlFormula formula) boolean
Checks whether the first formula entails the second.SatReasoner.query
(PlBeliefSet beliefbase, PlFormula formula) SimplePlReasoner.query
(PlBeliefSet beliefbase, PlFormula formula) Method parameters in org.tweetyproject.logics.pl.reasoner with type arguments of type PlFormulaModifier and TypeMethodDescriptionAbstractPlReasoner.getKernels
(Collection<PlFormula> formulas, PlFormula formula) -
Uses of PlFormula in org.tweetyproject.logics.pl.sat
Subclasses with type arguments of type PlFormula in org.tweetyproject.logics.pl.satModifier and TypeClassDescriptionclass
This abstract class models a MUS enumerator for propositional logic, i.e.Classes in org.tweetyproject.logics.pl.sat that implement interfaces with type arguments of type PlFormulaModifier and TypeClassDescriptionclass
Abstract class for specifying SAT solvers.class
Abstract class for specifying SAT solvers.class
enumerates all models naivlyclass
enumerates all models naivlyMethods in org.tweetyproject.logics.pl.sat that return types with arguments of type PlFormulaModifier and TypeMethodDescriptionPlMusEnumerator.convertToDimacsAndIndex
(Collection<PlFormula> formulas) Converts the given set of formulas to their string representation in Dimacs CNF.static AbstractMusEnumerator
<PlFormula> PlMusEnumerator.getDefaultEnumerator()
Returns the default MUS enumerator.
If a default MUS enumerator has been configured this enumerator is returned by this method.SimpleModelEnumerator.getModel
(PlBeliefSet bbase) SimpleModelEnumerator.getModels
(Collection<PlFormula> formulas) Return all models satifying the formulasSimpleModelEnumerator.getModels
(PlBeliefSet bbase) CmdLineSatSolver.getWitness
(Collection<PlFormula> formulas, Map<Proposition, Integer> prop_index, Map<Integer, Proposition> prop_inverted_index, List<String> additional_clauses) DimacsMaxSatSolver.getWitness
(Collection<PlFormula> formulas) DimacsMaxSatSolver.getWitness
(Collection<PlFormula> hardConstraints, Map<PlFormula, Integer> softConstraints) interpretation of formulasabstract Interpretation
<PlBeliefSet, PlFormula> DimacsMaxSatSolver.getWitness
(Collection<PlFormula> hardConstraints, Map<PlFormula, Integer> softConstraints, Map<Proposition, Integer> prop_index, Map<Integer, Proposition> prop_inverted_index) Return the interpetationDimacsSatSolver.getWitness
(Collection<PlFormula> formulas) If the collection of formulas is consistent this method returns some model of it or, if it is inconsistent, null.abstract Interpretation
<PlBeliefSet, PlFormula> DimacsSatSolver.getWitness
(Collection<PlFormula> formulas, Map<Proposition, Integer> prop_index, Map<Integer, Proposition> prop_inverted_index, List<String> additional_clauses) If the collection of formulas is consistent this method returns some model of it or, if it is inconsistent, null.abstract Interpretation
<PlBeliefSet, PlFormula> MaxSatSolver.getWitness
(Collection<PlFormula> hardConstraints, Map<PlFormula, Integer> softConstraints) Returns an interpretation with maximal weight on the soft constraints (or null if the hard constraints are not satisfiable)OpenWboSolver.getWitness
(Collection<PlFormula> hardConstraints, Map<PlFormula, Integer> softConstraints, Map<Proposition, Integer> prop_index, Map<Integer, Proposition> prop_inverted_index) Sat4jSolver.getWitness
(Collection<PlFormula> formulas, Map<Proposition, Integer> prop_index, Map<Integer, Proposition> prop_inverted_index, List<String> additional_clauses) abstract Interpretation
<PlBeliefSet, PlFormula> SatSolver.getWitness
(Collection<PlFormula> formulas) If the collection of formulas is consistent this method returns some model of it or, if it is inconsistent, null.SatSolver.getWitness
(BeliefSet<PlFormula, ?> bs) SatSolver.getWitness
(PlFormula formula) SimpleDpllSolver.getWitness
(Collection<PlFormula> formulas) MarcoMusEnumerator.minimalInconsistentSubsets
(Collection<PlFormula> formulas) MimusMusEnumerator.minimalInconsistentSubsets
(Collection<PlFormula> formulas) abstract Collection
<Collection<PlFormula>> PlMusEnumerator.minimalInconsistentSubsets
(Collection<PlFormula> formulas) Methods in org.tweetyproject.logics.pl.sat with parameters of type PlFormulaModifier and TypeMethodDescriptionSatSolver.getWitness
(PlFormula formula) boolean
SatSolver.isConsistent
(PlFormula formula) Method parameters in org.tweetyproject.logics.pl.sat with type arguments of type PlFormulaModifier and TypeMethodDescriptionDimacsSatSolver.convertToDimacs
(Collection<PlFormula> formulas) Converts the given set of formulas to their string representation in Dimacs CNF.DimacsSatSolver.convertToDimacs
(Collection<PlFormula> formulas, Map<Proposition, Integer> prop_index, List<String> additional_clauses) Convert to dimacsPlMusEnumerator.convertToDimacsAndIndex
(Collection<PlFormula> formulas) Converts the given set of formulas to their string representation in Dimacs CNF.static int
MaxSatSolver.costOf
(Interpretation<PlBeliefSet, PlFormula> interpretation, Collection<PlFormula> hardConstraints, Map<PlFormula, Integer> softConstraints) Returns the cost of the given interpretation, i.e.static int
MaxSatSolver.costOf
(Interpretation<PlBeliefSet, PlFormula> interpretation, Collection<PlFormula> hardConstraints, Map<PlFormula, Integer> softConstraints) Returns the cost of the given interpretation, i.e.static int
MaxSatSolver.costOf
(Interpretation<PlBeliefSet, PlFormula> interpretation, Collection<PlFormula> hardConstraints, Map<PlFormula, Integer> softConstraints) Returns the cost of the given interpretation, i.e.SimpleModelEnumerator.getModels
(Collection<PlFormula> formulas) Return all models satifying the formulasCmdLineSatSolver.getWitness
(Collection<PlFormula> formulas, Map<Proposition, Integer> prop_index, Map<Integer, Proposition> prop_inverted_index, List<String> additional_clauses) DimacsMaxSatSolver.getWitness
(Collection<PlFormula> formulas) DimacsMaxSatSolver.getWitness
(Collection<PlFormula> hardConstraints, Map<PlFormula, Integer> softConstraints) interpretation of formulasDimacsMaxSatSolver.getWitness
(Collection<PlFormula> hardConstraints, Map<PlFormula, Integer> softConstraints) interpretation of formulasabstract Interpretation
<PlBeliefSet, PlFormula> DimacsMaxSatSolver.getWitness
(Collection<PlFormula> hardConstraints, Map<PlFormula, Integer> softConstraints, Map<Proposition, Integer> prop_index, Map<Integer, Proposition> prop_inverted_index) Return the interpetationabstract Interpretation
<PlBeliefSet, PlFormula> DimacsMaxSatSolver.getWitness
(Collection<PlFormula> hardConstraints, Map<PlFormula, Integer> softConstraints, Map<Proposition, Integer> prop_index, Map<Integer, Proposition> prop_inverted_index) Return the interpetationDimacsSatSolver.getWitness
(Collection<PlFormula> formulas) If the collection of formulas is consistent this method returns some model of it or, if it is inconsistent, null.abstract Interpretation
<PlBeliefSet, PlFormula> DimacsSatSolver.getWitness
(Collection<PlFormula> formulas, Map<Proposition, Integer> prop_index, Map<Integer, Proposition> prop_inverted_index, List<String> additional_clauses) If the collection of formulas is consistent this method returns some model of it or, if it is inconsistent, null.abstract Interpretation
<PlBeliefSet, PlFormula> MaxSatSolver.getWitness
(Collection<PlFormula> hardConstraints, Map<PlFormula, Integer> softConstraints) Returns an interpretation with maximal weight on the soft constraints (or null if the hard constraints are not satisfiable)abstract Interpretation
<PlBeliefSet, PlFormula> MaxSatSolver.getWitness
(Collection<PlFormula> hardConstraints, Map<PlFormula, Integer> softConstraints) Returns an interpretation with maximal weight on the soft constraints (or null if the hard constraints are not satisfiable)OpenWboSolver.getWitness
(Collection<PlFormula> hardConstraints, Map<PlFormula, Integer> softConstraints, Map<Proposition, Integer> prop_index, Map<Integer, Proposition> prop_inverted_index) OpenWboSolver.getWitness
(Collection<PlFormula> hardConstraints, Map<PlFormula, Integer> softConstraints, Map<Proposition, Integer> prop_index, Map<Integer, Proposition> prop_inverted_index) Sat4jSolver.getWitness
(Collection<PlFormula> formulas, Map<Proposition, Integer> prop_index, Map<Integer, Proposition> prop_inverted_index, List<String> additional_clauses) abstract Interpretation
<PlBeliefSet, PlFormula> SatSolver.getWitness
(Collection<PlFormula> formulas) If the collection of formulas is consistent this method returns some model of it or, if it is inconsistent, null.SatSolver.getWitness
(BeliefSet<PlFormula, ?> bs) SimpleDpllSolver.getWitness
(Collection<PlFormula> formulas) boolean
SatSolver.isConsistent
(Collection<PlFormula> formulas) boolean
SatSolver.isConsistent
(BeliefSet<PlFormula, ?> beliefSet) boolean
CmdLineSatSolver.isSatisfiable
(Collection<PlFormula> formulas, Map<Proposition, Integer> prop_index, List<String> additional_clauses) boolean
DimacsMaxSatSolver.isSatisfiable
(Collection<PlFormula> formulas) abstract boolean
DimacsMaxSatSolver.isSatisfiable
(Collection<PlFormula> formulas, Map<Proposition, Integer> prop_index) Return "true" if the set is consistent.boolean
DimacsSatSolver.isSatisfiable
(Collection<PlFormula> formulas) Checks whether the given set of formulas is satisfiable.abstract boolean
DimacsSatSolver.isSatisfiable
(Collection<PlFormula> formulas, Map<Proposition, Integer> prop_index, List<String> additional_clauses) Checks whether the given set of formulas is satisfiable.abstract boolean
MaxSatSolver.isSatisfiable
(Collection<PlFormula> formulas) boolean
OpenWboSolver.isSatisfiable
(Collection<PlFormula> formulas, Map<Proposition, Integer> prop_index) boolean
Sat4jSolver.isSatisfiable
(Collection<PlFormula> formulas, Map<Proposition, Integer> prop_index, List<String> additional_clauses) abstract boolean
SatSolver.isSatisfiable
(Collection<PlFormula> formulas) Checks whether the given set of formulas is satisfiable.boolean
SimpleDpllSolver.isSatisfiable
(Collection<PlFormula> formulas) MarcoMusEnumerator.minimalInconsistentSubsets
(Collection<PlFormula> formulas) MimusMusEnumerator.minimalInconsistentSubsets
(Collection<PlFormula> formulas) abstract Collection
<Collection<PlFormula>> PlMusEnumerator.minimalInconsistentSubsets
(Collection<PlFormula> formulas) static void
PlMusEnumerator.setDefaultEnumerator
(AbstractMusEnumerator<PlFormula> enumerator) Sets the default MUS enumerator. -
Uses of PlFormula in org.tweetyproject.logics.pl.semantics
Subclasses with type arguments of type PlFormula in org.tweetyproject.logics.pl.semanticsModifier and TypeClassDescriptionclass
A fuzzy interpretation for propositional logic.class
Wrapper for the PossibleWorld providing better representation mechanisms, it knows all the possible propositions (the signature) and therefore provides a complete representation that maps a boolean to the Proposition.class
This class represents a possible world of propositional logic, i.e.class
A three-valued interpretation for propositional logic from Priest's three valued logic (3VL) [Priest, G.: Logic of paradox.Classes in org.tweetyproject.logics.pl.semantics that implement interfaces with type arguments of type PlFormulaModifier and TypeClassDescriptionclass
Iterates effectively over all interpretation sets worlds of a given signature.Methods in org.tweetyproject.logics.pl.semantics that return PlFormulaModifier and TypeMethodDescriptionPossibleWorld.getCompleteConjunction
(PlSignature sig) Returns the complete conjunction representing this possible world wrt.Methods in org.tweetyproject.logics.pl.semantics that return types with arguments of type PlFormulaModifier and TypeMethodDescriptionPossibleWorldIterator.reset()
PossibleWorldIterator.reset
(Collection<? extends Formula> formulas) Methods in org.tweetyproject.logics.pl.semantics with parameters of type PlFormulaModifier and TypeMethodDescriptionboolean
boolean
boolean
boolean
PriestWorld.satisfies3VL
(PlFormula formula) Determines the 3-valued truth value of the given formula.Method parameters in org.tweetyproject.logics.pl.semantics with type arguments of type PlFormulaModifier and TypeMethodDescriptionboolean
PossibleWorld.satisfies
(Collection<PlFormula> formulas) -
Uses of PlFormula in org.tweetyproject.logics.pl.syntax
Subclasses of PlFormula in org.tweetyproject.logics.pl.syntaxModifier and TypeClassDescriptionclass
This class captures the common functionalities of formulas with an associative operation like conjunction, disjunction, etc.class
This class represents a conjunction in propositional logic.class
A contradictory formula.class
This class represents a disjunction in propositional logic.class
This class models equivalence of propositional logic.class
This class represents an exclusive disjunction (XOR) in propositional logic.class
This class models the implication of propositional logic.class
This class models classical negation of propositional logic.class
This class represents a simple proposition in propositional logic.class
This class captures the common functionalities of the special formulas tautology and contradiction.class
A tautological formula.Subclasses with type arguments of type PlFormula in org.tweetyproject.logics.pl.syntaxModifier and TypeClassDescriptionclass
This class represents a knowledge base of propositional formulae.Classes in org.tweetyproject.logics.pl.syntax that implement interfaces with type arguments of type PlFormulaModifier and TypeClassDescriptionclass
This class captures the common functionalities of formulas with an associative operation like conjunction, disjunction, etc.class
This class captures the common functionalities of formulas with an associative operation like conjunction, disjunction, etc.Methods in org.tweetyproject.logics.pl.syntax that return PlFormulaModifier and TypeMethodDescriptionDisjunction.clone()
ExclusiveDisjunction.clone()
Negation.clone()
abstract PlFormula
PlFormula.clone()
Conjunction.collapseAssociativeFormulas()
Disjunction.collapseAssociativeFormulas()
Equivalence.collapseAssociativeFormulas()
ExclusiveDisjunction.collapseAssociativeFormulas()
Implication.collapseAssociativeFormulas()
Negation.collapseAssociativeFormulas()
abstract PlFormula
PlFormula.collapseAssociativeFormulas()
This method collapses all associative operations appearing in this term, e.g.Proposition.collapseAssociativeFormulas()
SpecialFormula.collapseAssociativeFormulas()
AssociativePlFormula.get
(int index) Implication.getFirstFormula()
* Get the left side formula of the implication left => right.Negation.getFormula()
Returns the formula within this negation.Implication.getSecondFormula()
Get the right side formula of the implication left => rightAssociativePlFormula.remove
(int index) Conjunction.replace
(Proposition p, PlFormula f, int i) Disjunction.replace
(Proposition p, PlFormula f, int i) Equivalence.replace
(Proposition p, PlFormula f, int i) ExclusiveDisjunction.replace
(Proposition p, PlFormula f, int i) Implication.replace
(Proposition p, PlFormula f, int i) Negation.replace
(Proposition p, PlFormula f, int i) abstract PlFormula
PlFormula.replace
(Proposition p, PlFormula f, int i) Replaces the ith instance of the proposition p by f.Proposition.replace
(Proposition p, PlFormula f, int i) SpecialFormula.replace
(Proposition p, PlFormula f, int i) PlFormula.toBlakeCanonicalForm()
This method returns this formula in Blake canonical form.PlFormula.toDnf()
This method returns this formula in disjunctive normal form (DNF).Conjunction.toNnf()
Disjunction.toNnf()
Equivalence.toNnf()
ExclusiveDisjunction.toNnf()
Implication.toNnf()
Negation.toNnf()
abstract PlFormula
PlFormula.toNnf()
This method returns this formula in negation normal form (NNF).Proposition.toNnf()
SpecialFormula.toNnf()
Conjunction.trim()
Disjunction.trim()
Equivalence.trim()
ExclusiveDisjunction.trim()
Implication.trim()
Negation.trim()
abstract PlFormula
PlFormula.trim()
Removes duplicates (identical formulas) from conjunctions and disjunctions and removes duplicate negations.Proposition.trim()
SpecialFormula.trim()
Methods in org.tweetyproject.logics.pl.syntax that return types with arguments of type PlFormulaModifier and TypeMethodDescriptionPlBeliefSet.getCanonicalOrdering()
Force ordering on belief set based on comparison of hash codes.AssociativePlFormula.getFormulas()
Equivalence.getFormulas()
Returns the formulas of the equivalence.Equivalence.getFormulas()
Returns the formulas of the equivalence.Implication.getFormulas()
Returns the formulas of the implication.Implication.getFormulas()
Returns the formulas of the implication.AssociativePlFormula.getLiterals()
Equivalence.getLiterals()
Implication.getLiterals()
Negation.getLiterals()
PlFormula.getLiterals()
Returns all literals, i.e.Proposition.getLiterals()
SpecialFormula.getLiterals()
PlFormula.getPrimeImplicants()
Returns the set of prime implicants of this formula.AssociativePlFormula.iterator()
AssociativePlFormula.listIterator()
AssociativePlFormula.listIterator
(int index) AssociativePlFormula.subList
(int fromIndex, int toIndex) Methods in org.tweetyproject.logics.pl.syntax with parameters of type PlFormulaModifier and TypeMethodDescriptionvoid
boolean
boolean
Adds the specified elements to the end of this collection (optional operation).boolean
Negation.hasLowerBindingPriority
(PlFormula other) Return whether the formula has a lower binding priorityConjunction.replace
(Proposition p, PlFormula f, int i) Disjunction.replace
(Proposition p, PlFormula f, int i) Equivalence.replace
(Proposition p, PlFormula f, int i) ExclusiveDisjunction.replace
(Proposition p, PlFormula f, int i) Implication.replace
(Proposition p, PlFormula f, int i) Negation.replace
(Proposition p, PlFormula f, int i) abstract PlFormula
PlFormula.replace
(Proposition p, PlFormula f, int i) Replaces the ith instance of the proposition p by f.Proposition.replace
(Proposition p, PlFormula f, int i) SpecialFormula.replace
(Proposition p, PlFormula f, int i) boolean
PlFormula.resolvableWith
(PlFormula other) Checks whether this formula (which must be a conjunction of literals) is resolvable with the given formula (which is also a conjunction of literals), i.e.PlFormula.resolveWith
(PlFormula other) Resolves this formula with the given one (both have to be conjunctive clauses) and returns some resolvent.void
Implication.setFirstFormula
(PlFormula left) Sets the left side formula of the implication left => right.void
Equivalence.setFormulas
(PlFormula formula1, PlFormula formula2) Sets the formulas of the equivalence.void
Implication.setFormulas
(PlFormula left, PlFormula right) Sets the formulas of the implication.void
Implication.setSecondFormula
(PlFormula right) Sets the right side formula of the implication left => rightMethod parameters in org.tweetyproject.logics.pl.syntax with type arguments of type PlFormulaModifier and TypeMethodDescriptionboolean
AssociativePlFormula.addAll
(int index, Collection<? extends PlFormula> c) boolean
AssociativePlFormula.addAll
(Collection<? extends PlFormula> c) static PlSignature
PlSignature.getSignature
(Collection<? extends PlFormula> formulas) Returns the set of atoms appearing in the given collection of formulas.void
Equivalence.setFormulas
(Pair<PlFormula, PlFormula> formulas) Sets the formulas of the equivalence.void
Equivalence.setFormulas
(Pair<PlFormula, PlFormula> formulas) Sets the formulas of the equivalence.void
Implication.setFormulas
(Pair<PlFormula, PlFormula> formulas) Sets the formulas of the implication.void
Implication.setFormulas
(Pair<PlFormula, PlFormula> formulas) Sets the formulas of the implication.Constructors in org.tweetyproject.logics.pl.syntax with parameters of type PlFormulaModifierConstructorDescriptionAssociativePlFormula
(PlFormula first, PlFormula second) Creates a new associative formula with the two given formulaeConjunction
(PlFormula first, PlFormula second) Creates a new conjunction with the two given formulaeDisjunction
(PlFormula... formulas) constructorDisjunction
(PlFormula first, PlFormula second) Creates a new disjunction with the two given formulaeEquivalence
(PlFormula a, PlFormula b) Creates a new equivalence with the given two formulasExclusiveDisjunction
(PlFormula first, PlFormula second) Creates a new exclusive disjunction with the two given formulaeImplication
(PlFormula a, PlFormula b) Creates a new implication a=>b with the two given formulasCreates a new negation with the given formula.Constructor parameters in org.tweetyproject.logics.pl.syntax with type arguments of type PlFormulaModifierConstructorDescriptionAssociativePlFormula
(Collection<? extends PlFormula> formulas) Creates a new associative formula with the given inner formulas.Conjunction
(Collection<? extends PlFormula> formulas) Creates a new conjunction with the given inner formulas.Disjunction
(Collection<? extends PlFormula> formulas) Creates a new disjunction with the given inner formulas.Equivalence
(Pair<PlFormula, PlFormula> formulas) Creates a new equivalence with the given pair of formulasEquivalence
(Pair<PlFormula, PlFormula> formulas) Creates a new equivalence with the given pair of formulasExclusiveDisjunction
(Collection<? extends PlFormula> formulas) Creates a new XOR formula with the given inner formulas.Implication
(Pair<PlFormula, PlFormula> formulas) Creates a new implication with the given pair of formulasImplication
(Pair<PlFormula, PlFormula> formulas) Creates a new implication with the given pair of formulasPlBeliefSet
(Collection<? extends PlFormula> formulas) Creates a new knowledge base with the given set of formulas. -
Uses of PlFormula in org.tweetyproject.logics.pl.util
Subclasses with type arguments of type PlFormula in org.tweetyproject.logics.pl.utilModifier and TypeClassDescriptionclass
A simple sampler for propositional belief bases.class
Generates random propositional belief base with a given inconsistency measure (for the contension inconsistency measure) and of a given size.class
Generates random propositional belief base with a given inconsistency measure (for the Hs inconsistency measure) and of a given size.class
Generates random propositional belief base with a given inconsistency measure (for the MI inconsistency measure) and of a given size.class
This sampler generates random belief sets by selecting, for each formula a random set of possible worlds as its models.class
A sampler for uniform random k-SAT instances.class
This sampler implements a random generation algorithm for generating formulas, based on the syntax tree of propositional formulas.Classes in org.tweetyproject.logics.pl.util that implement interfaces with type arguments of type PlFormulaModifier and TypeClassDescriptionclass
Provides an iterator on all syntactically equivalent knowledge bases.class
This sampler enumerates all possible propositional belief bases of the given signature.class
Generates all syntactic variations of knowledge basesclass
Enumerates all belief bases from a text file; the file contains one belief base per line.Methods in org.tweetyproject.logics.pl.util that return PlFormulaModifier and TypeMethodDescriptionCnfSampler.sampleFormula()
Returns a random formulaSyntacticRandomSampler.sampleFormula
(ProbabilityFunction<Byte> prob) Samples a single formula. -
Uses of PlFormula in org.tweetyproject.logics.pl.writer
Constructors in org.tweetyproject.logics.pl.writer with parameters of type PlFormula -
Uses of PlFormula in org.tweetyproject.logics.qbf.parser
Subclasses with type arguments of type PlFormula in org.tweetyproject.logics.qbf.parserModifier and TypeClassDescriptionclass
This class implements a parser for the QCIR (Quantified CIRcuit) format.Methods in org.tweetyproject.logics.qbf.parser that return PlFormulaModifier and TypeMethodDescriptionQCirParser.getOutputVariable()
Return the output gate of this QCir problem.QbfParser.parseFormula
(Reader reader) QCirParser.parseFormula
(Reader reader) -
Uses of PlFormula in org.tweetyproject.logics.qbf.reasoner
Classes in org.tweetyproject.logics.qbf.reasoner that implement interfaces with type arguments of type PlFormulaModifier and TypeClassDescriptionclass
Abstract QBF sat solver to be implemented by concrete solvers.Methods in org.tweetyproject.logics.qbf.reasoner with parameters of type PlFormulaModifier and TypeMethodDescriptionboolean
QbfSolver.isConsistent
(PlFormula formula) NaiveQbfReasoner.query
(PlBeliefSet beliefbase, PlFormula formula) Method parameters in org.tweetyproject.logics.qbf.reasoner with type arguments of type PlFormulaModifier and TypeMethodDescriptionboolean
QbfSolver.isConsistent
(Collection<PlFormula> formulas) boolean
QbfSolver.isConsistent
(BeliefSet<PlFormula, ?> beliefSet) boolean
CadetSolver.isSatisfiable
(Collection<PlFormula> kb) boolean
CaqeSolver.isSatisfiable
(Collection<PlFormula> kb) boolean
GhostQSolver.isSatisfiable
(Collection<PlFormula> kb) abstract boolean
QbfSolver.isSatisfiable
(Collection<PlFormula> formulas) Checks whether the given set of formulas is satisfiable.boolean
QuteSolver.isSatisfiable
(Collection<PlFormula> kb) -
Uses of PlFormula in org.tweetyproject.logics.qbf.semantics
Subclasses with type arguments of type PlFormula in org.tweetyproject.logics.qbf.semanticsModifier and TypeClassDescriptionclass
This class represents a possible world of quantified boolean logic, i.e.Methods in org.tweetyproject.logics.qbf.semantics that return types with arguments of type PlFormulaModifier and TypeMethodDescriptionQbPossibleWorld.substitute
(PlFormula f, Proposition v) Substitutes all occurrences of the proposition v with the possible truth values and returns a set of the possible substitutions.Methods in org.tweetyproject.logics.qbf.semantics with parameters of type PlFormulaModifier and TypeMethodDescriptionboolean
Checks whether this interpretation satisfies the given formula.QbPossibleWorld.substitute
(PlFormula f, Proposition v) Substitutes all occurrences of the proposition v with the possible truth values and returns a set of the possible substitutions.Method parameters in org.tweetyproject.logics.qbf.semantics with type arguments of type PlFormulaModifier and TypeMethodDescriptionboolean
QbPossibleWorld.satisfies
(Collection<PlFormula> formulas) Checks whether this interpretation satisfies the given formula. -
Uses of PlFormula in org.tweetyproject.logics.qbf.syntax
Subclasses of PlFormula in org.tweetyproject.logics.qbf.syntaxModifier and TypeClassDescriptionclass
This class represents existential quantification for boolean formulas.class
This class represents universal quantification for boolean formulas.Methods in org.tweetyproject.logics.qbf.syntax that return PlFormulaModifier and TypeMethodDescriptionExistsQuantifiedFormula.clone()
ForallQuantifiedFormula.clone()
ExistsQuantifiedFormula.collapseAssociativeFormulas()
ForallQuantifiedFormula.collapseAssociativeFormulas()
ExistsQuantifiedFormula.getFormula()
Return the quantified formulaForallQuantifiedFormula.getFormula()
Return the quantified formulaExistsQuantifiedFormula.replace
(Proposition p, PlFormula f, int i) ForallQuantifiedFormula.replace
(Proposition p, PlFormula f, int i) ExistsQuantifiedFormula.toNnf()
ForallQuantifiedFormula.toNnf()
ExistsQuantifiedFormula.trim()
ForallQuantifiedFormula.trim()
Methods in org.tweetyproject.logics.qbf.syntax that return types with arguments of type PlFormulaModifier and TypeMethodDescriptionExistsQuantifiedFormula.getLiterals()
ForallQuantifiedFormula.getLiterals()
Methods in org.tweetyproject.logics.qbf.syntax with parameters of type PlFormulaModifier and TypeMethodDescriptionExistsQuantifiedFormula.replace
(Proposition p, PlFormula f, int i) ForallQuantifiedFormula.replace
(Proposition p, PlFormula f, int i) Constructors in org.tweetyproject.logics.qbf.syntax with parameters of type PlFormulaModifierConstructorDescriptionExistsQuantifiedFormula
(PlFormula f, Set<Proposition> variables) Create a new existential boolean quantification.ExistsQuantifiedFormula
(PlFormula f, Proposition variable) Create a new existential boolean quantification.ForallQuantifiedFormula
(PlFormula f, Set<Proposition> variables) Create a new universal boolean quantification.ForallQuantifiedFormula
(PlFormula f, Proposition variable) Create a new universal boolean quantification. -
Uses of PlFormula in org.tweetyproject.logics.translators.adfcl
Methods in org.tweetyproject.logics.translators.adfcl that return PlFormulaModifier and TypeMethodDescriptionConverterADF2CL.getFormulaFromAcc
(AcceptanceCondition ac) Translate "Acceptance Condition" into "PlFormula" Recursive function: Case distinction by class name -
Uses of PlFormula in org.tweetyproject.logics.translators.adfconditional
Subclasses with type arguments of type PlFormula in org.tweetyproject.logics.translators.adfconditionalModifier and TypeClassDescriptionclass
This class models a four-valued interpretation for propositional logic Formulas are interpreted using completions Every atom is assigned one of the four truth values: TRUE, FALSE, UNDECIDED, INCONSISTENTclass
This class models a three-valued interpretation for propositional logic Formulas are interpreted using completions Every atom is assigned one of the three truth values: TRUE, FALSE, UNDECIDED.Classes in org.tweetyproject.logics.translators.adfconditional that implement interfaces with type arguments of type PlFormulaModifier and TypeClassDescriptionclass
This class iterates over all 4-valued interpretations of a given signature.Methods in org.tweetyproject.logics.translators.adfconditional that return types with arguments of type PlFormulaModifier and TypeMethodDescriptionFourValuedWorldIterator.reset()
FourValuedWorldIterator.reset
(Collection<? extends Formula> formulas) Methods in org.tweetyproject.logics.translators.adfconditional with parameters of type PlFormulaModifier and TypeMethodDescriptionboolean
boolean
ThreeValuedWorld.satisfies3VL
(PlFormula formula) Determines the 3-valued truth value of the given formula.FourValuedWorld.satisfies4VL
(PlFormula formula) Determines the 4-valued truth value of the given formula.Method parameters in org.tweetyproject.logics.translators.adfconditional with type arguments of type PlFormulaModifier and TypeMethodDescriptionstatic Collection
<FourValuedWorld> CADFSemantics.gammaOperator
(ArrayList<PlFormula> statementFormulas, ArrayList<PlFormula> acceptanceFormulas, PlSignature sig, FourValuedWorld worldInput) Implementation of the gamma operator: calculate a new set of (output) interpretations given a cADF and an (input) interpretationstatic Collection
<FourValuedWorld> CADFSemantics.gammaPrimeOperator
(Collection<FourValuedWorld> inputCollection, ArrayList<PlFormula> statementFormulas, ArrayList<PlFormula> acceptanceFormulas, PlSignature sig) Implementation of the Gamma Prime Operator: Calculate the union of the Gamma Operator of all input worlds and then reduce those worlds to the least informative onesstatic boolean
CADFSemantics.isComplete
(FourValuedWorld inputWorld, Collection<FourValuedWorld> outputWorlds, ArrayList<PlFormula> statementFormulas, ArrayList<PlFormula> acceptanceFormulas) Check whether a given world constitutes a complete interpretation -
Uses of PlFormula in org.tweetyproject.logics.translators.adfpossibilistic
Methods in org.tweetyproject.logics.translators.adfpossibilistic that return types with arguments of type PlFormulaModifier and TypeMethodDescriptionPossibilisticGammaOperator.sortByValue
(Map<PlFormula, Double> map) Convert an unsorted Map to a map sorted by value in ascending orderMethods in org.tweetyproject.logics.translators.adfpossibilistic with parameters of type PlFormulaModifier and TypeMethodDescriptionPossibilityDistribution.getNecessity
(PlFormula formula) Gets the necessity measure of the given formula.PossibilityDistribution.getPossibility
(PlFormula formula) Gets the possibility measure of the given formula.Method parameters in org.tweetyproject.logics.translators.adfpossibilistic with type arguments of type PlFormula -
Uses of PlFormula in org.tweetyproject.logics.translators.adfrevision
Subclasses of PlFormula in org.tweetyproject.logics.translators.adfrevisionModifier and TypeClassDescriptionclass
This class models an indecision operator for 3-valued propositional logic as proposed in [Heyninck 2020] Indecision(a) is true, if formula a is undecided Indecision(a) is false, if formula a is true or false Adapted from the class "Negation"class
This class models a weak negation for 3-valued propositional logic as proposed in [Heyninck 2020] Adapted from the class "Negation"Subclasses with type arguments of type PlFormula in org.tweetyproject.logics.translators.adfrevisionModifier and TypeClassDescriptionclass
Adapted from "PlParser" for the use of 3-valued logic (WeakNegation and Indecision-Operator):class
This class models a three-valued interpretation for propositional logic from Priest's three valued logic (3VL) [Priest, G.: Logic of paradox.Classes in org.tweetyproject.logics.translators.adfrevision that implement interfaces with type arguments of type PlFormulaModifier and TypeClassDescriptionclass
This class iterates effectively over all interpretation sets worlds of a given signature.Methods in org.tweetyproject.logics.translators.adfrevision that return PlFormulaModifier and TypeMethodDescriptionIndecision.clone()
WeakNegation.clone()
Indecision.collapseAssociativeFormulas()
WeakNegation.collapseAssociativeFormulas()
Indecision.getFormula()
Returns the formula within this negation.WeakNegation.getFormula()
Returns the formula within this negation.PlParserThreeValued.parseFormula
(Reader reader) Indecision.replace
(Proposition p, PlFormula f, int i) WeakNegation.replace
(Proposition p, PlFormula f, int i) Indecision.toNnf()
WeakNegation.toNnf()
Indecision.trim()
WeakNegation.trim()
Methods in org.tweetyproject.logics.translators.adfrevision that return types with arguments of type PlFormulaModifier and TypeMethodDescriptionIndecision.getLiterals()
WeakNegation.getLiterals()
PriestWorldIterator.reset()
PriestWorldIterator.reset
(Collection<? extends Formula> formulas) Methods in org.tweetyproject.logics.translators.adfrevision with parameters of type PlFormulaModifier and TypeMethodDescriptionboolean
Indecision.hasLowerBindingPriority
(PlFormula other) Return returns falseboolean
WeakNegation.hasLowerBindingPriority
(PlFormula other) Return hasLowerBindingPriorityGets the rank of the given formula.Indecision.replace
(Proposition p, PlFormula f, int i) WeakNegation.replace
(Proposition p, PlFormula f, int i) boolean
PriestWorldAdapted.satisfies3VL
(PlFormula formula) Determines the 3-valued truth value of the given formula.Method parameters in org.tweetyproject.logics.translators.adfrevision with type arguments of type PlFormulaModifier and TypeMethodDescriptionvoid
RankingFunctionThreeValued.forceStrictness
(Set<PlFormula> formulas) Sets the rank of every interpretation i that does not satisfy the given set of formulas to RankingFunction.INFINITY.Constructors in org.tweetyproject.logics.translators.adfrevision with parameters of type PlFormulaModifierConstructorDescriptionIndecision
(PlFormula formula) Creates a new negation with the given formula.WeakNegation
(PlFormula formula) Creates a new negation with the given formula. -
Uses of PlFormula in org.tweetyproject.logics.translators.folprop
Methods in org.tweetyproject.logics.translators.folprop that return PlFormulaModifier and TypeMethodDescriptionFOLPropTranslator.toPropositional
(FolFormula folFormula) Return PlFormula toPropositionalMethods in org.tweetyproject.logics.translators.folprop with parameters of type PlFormulaModifier and TypeMethodDescriptionReturn FolFormula toFOL