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 TypeClassDescriptionclassThis class represents an always query in the action query language S.classThis class represents a holds query in the action query language S.classThis class represents a necessarily query in the action query language S.classAction 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 TypeClassDescriptionclassThis 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 TypeClassDescriptionclassImplementsRuleFormulaGeneratorfor 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 TypeMethodDescriptionbooleanConstrainedArgumentationFramework.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 TypeClassDescriptionclassThis 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 TypeClassDescriptionclassRepresents a simple propositional logic rule.classRepresents 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 TypeMethodDescriptionvoidSimplePlRule.addPremise(PlFormula arg0) Adds a premise to the rule.DeductiveKnowledgeBase.getDeductiveArguments(PlFormula claim) Computes all deductive arguments for the given claim.voidSimplePlRule.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 TypeMethodDescriptionvoidSimplePlRule.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 TypeClassDescriptionclassGenerates 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 TypeMethodDescriptionbooleanbooleanbooleanKnowledgeBase.addAssumption(PlFormula assumption) Adds a background assumption to this knowledge base.booleanThis 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.booleanComputes if a specified conclusion could be drawn from adding the specified premises to this instance.booleanKnowledgeBase.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 TypeMethodDescriptionbooleanCausalModel.addAll(Collection<? extends PlFormula> formulas) booleanComputes 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 TypeClassDescriptionclassThis 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 TypeClassDescriptionclassThis 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 categorizerclassThis 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 categorizerclassThis 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.classThis 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 TypeClassDescriptionclassThis 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 TypeClassDescriptionclassAbstract 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 TypeMethodDescriptionvoidRankingFunction.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 TypeClassDescriptionclassThis class represents a basic conditional (B|A) with formulas A,B.classThis 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 TypeMethodDescriptionvoidConditional.addPremise(PlFormula premise) voidConditional.setConclusion(PlFormula conclusion) Method parameters in org.tweetyproject.logics.cl.syntax with type arguments of type PlFormulaModifier and TypeMethodDescriptionvoidConditional.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 DoubleAbstractPclReasoner.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 TypeClassDescriptionclassProbabilityDistribution<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 TypeClassDescriptionclassProvides an interface to a command line based inconsistency measure analyzerclassThis class implements the contension inconsistency measure, cf.classImplements an approximation algorithm for the Contension inconsistency measure on streams.classImplements the forgetting-based inconsistency measure from [Besnard.classThis measure implements the approach presented in [Thimm, Measuring Inconsistency with Many-Valued Logics.classImplements an approximation algorithm for the Hs inconsistency measure on streams.classThis class implements the inconsistency measures proposed in [De Bona, Hunter.classThis class implements the "MUS-variable based inconsistency measure" proposed in [Xiao,Ma.classA window inconsistency measurement process for propositional logic (this class needs to be there as no generics are allowed when instantiating a DefaultStreamBasedInconsistencyMeasure.classThis class implements the inconsistency measure I_{P_m} proposed in [Jabbour, Raddaoui.classcomputes the inconsistency measure of theclassA 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 TypeClassDescriptionclassThis class refines interpretation distances to distance on possible worlds.classcomptes all minimal models given a set of modelsclassImplements 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.minModelProviderminimal model providerSimpleMinimalModelProvider.modelProvidermodel 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 TypeMethodDescriptiondoublePossibleWorldDistance.distance(PlFormula f, PossibleWorld b) SimpleMinimalModelProvider.getMinModels(PlFormula f) booleanSimplePlInterpolantEnumerator.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) booleanSimplePlInterpolantEnumerator.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 TypeClassDescriptionclassParser a file in Dimacs format into a PlBeliefSet.classThis 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 TypeClassDescriptionclassAn 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 TypeMethodDescriptionbooleanImAdjunctionInvariance.isApplicable(Collection<PlFormula> kb) booleanImAttenuation.isApplicable(Collection<PlFormula> kb) booleanImConsistency.isApplicable(Collection<PlFormula> kb) booleanImContradiction.isApplicable(Collection<PlFormula> kb) booleanImDominance.isApplicable(Collection<PlFormula> kb) booleanImEqualConflict.isApplicable(Collection<PlFormula> kb) booleanImExchange.isApplicable(Collection<PlFormula> kb) booleanImFreeFormulaDilution.isApplicable(Collection<PlFormula> kb) booleanImFreeFormulaIndependence.isApplicable(Collection<PlFormula> kb) booleanImIrrelevanceOfSyntax.isApplicable(Collection<PlFormula> kb) booleanImMINormalization.isApplicable(Collection<PlFormula> kb) booleanImMISeparability.isApplicable(Collection<PlFormula> kb) booleanImMonotony.isApplicable(Collection<PlFormula> kb) booleanImNormalization.isApplicable(Collection<PlFormula> kb) booleanImPenalty.isApplicable(Collection<PlFormula> kb) abstract booleanImPostulate.isApplicable(Collection<PlFormula> kb) booleanImSafeFormulaIndependence.isApplicable(Collection<PlFormula> kb) booleanImSuperAdditivity.isApplicable(Collection<PlFormula> kb) booleanImWeakDominance.isApplicable(Collection<PlFormula> kb) booleanImAdjunctionInvariance.isSatisfied(Collection<PlFormula> kb, BeliefSetInconsistencyMeasure<PlFormula> ev) booleanImAdjunctionInvariance.isSatisfied(Collection<PlFormula> kb, BeliefSetInconsistencyMeasure<PlFormula> ev) booleanImAttenuation.isSatisfied(Collection<PlFormula> kb, BeliefSetInconsistencyMeasure<PlFormula> ev) booleanImAttenuation.isSatisfied(Collection<PlFormula> kb, BeliefSetInconsistencyMeasure<PlFormula> ev) booleanImConsistency.isSatisfied(Collection<PlFormula> kb, BeliefSetInconsistencyMeasure<PlFormula> ev) booleanImConsistency.isSatisfied(Collection<PlFormula> kb, BeliefSetInconsistencyMeasure<PlFormula> ev) booleanImContradiction.isSatisfied(Collection<PlFormula> kb, BeliefSetInconsistencyMeasure<PlFormula> ev) booleanImContradiction.isSatisfied(Collection<PlFormula> kb, BeliefSetInconsistencyMeasure<PlFormula> ev) booleanImDominance.isSatisfied(Collection<PlFormula> kb, BeliefSetInconsistencyMeasure<PlFormula> ev) booleanImDominance.isSatisfied(Collection<PlFormula> kb, BeliefSetInconsistencyMeasure<PlFormula> ev) booleanImEqualConflict.isSatisfied(Collection<PlFormula> kb, BeliefSetInconsistencyMeasure<PlFormula> ev) booleanImEqualConflict.isSatisfied(Collection<PlFormula> kb, BeliefSetInconsistencyMeasure<PlFormula> ev) booleanImExchange.isSatisfied(Collection<PlFormula> kb, BeliefSetInconsistencyMeasure<PlFormula> ev) booleanImExchange.isSatisfied(Collection<PlFormula> kb, BeliefSetInconsistencyMeasure<PlFormula> ev) booleanImFreeFormulaDilution.isSatisfied(Collection<PlFormula> kb, BeliefSetInconsistencyMeasure<PlFormula> ev) booleanImFreeFormulaDilution.isSatisfied(Collection<PlFormula> kb, BeliefSetInconsistencyMeasure<PlFormula> ev) booleanImFreeFormulaIndependence.isSatisfied(Collection<PlFormula> kb, BeliefSetInconsistencyMeasure<PlFormula> ev) booleanImFreeFormulaIndependence.isSatisfied(Collection<PlFormula> kb, BeliefSetInconsistencyMeasure<PlFormula> ev) booleanImIrrelevanceOfSyntax.isSatisfied(Collection<PlFormula> kb, BeliefSetInconsistencyMeasure<PlFormula> ev) booleanImIrrelevanceOfSyntax.isSatisfied(Collection<PlFormula> kb, BeliefSetInconsistencyMeasure<PlFormula> ev) booleanImMINormalization.isSatisfied(Collection<PlFormula> kb, BeliefSetInconsistencyMeasure<PlFormula> ev) booleanImMINormalization.isSatisfied(Collection<PlFormula> kb, BeliefSetInconsistencyMeasure<PlFormula> ev) booleanImMISeparability.isSatisfied(Collection<PlFormula> kb, BeliefSetInconsistencyMeasure<PlFormula> ev) booleanImMISeparability.isSatisfied(Collection<PlFormula> kb, BeliefSetInconsistencyMeasure<PlFormula> ev) booleanImMonotony.isSatisfied(Collection<PlFormula> kb, BeliefSetInconsistencyMeasure<PlFormula> ev) booleanImMonotony.isSatisfied(Collection<PlFormula> kb, BeliefSetInconsistencyMeasure<PlFormula> ev) booleanImNormalization.isSatisfied(Collection<PlFormula> kb, BeliefSetInconsistencyMeasure<PlFormula> ev) booleanImNormalization.isSatisfied(Collection<PlFormula> kb, BeliefSetInconsistencyMeasure<PlFormula> ev) booleanImPenalty.isSatisfied(Collection<PlFormula> kb, BeliefSetInconsistencyMeasure<PlFormula> ev) booleanImPenalty.isSatisfied(Collection<PlFormula> kb, BeliefSetInconsistencyMeasure<PlFormula> ev) booleanImPostulate.isSatisfied(Collection<PlFormula> kb, PostulateEvaluatable<PlFormula> ev) booleanImPostulate.isSatisfied(Collection<PlFormula> kb, PostulateEvaluatable<PlFormula> ev) abstract booleanImPostulate.isSatisfied(Collection<PlFormula> kb, BeliefSetInconsistencyMeasure<PlFormula> ev) Return whether the formulas are satisfiedabstract booleanImPostulate.isSatisfied(Collection<PlFormula> kb, BeliefSetInconsistencyMeasure<PlFormula> ev) Return whether the formulas are satisfiedbooleanImSafeFormulaIndependence.isSatisfied(Collection<PlFormula> kb, BeliefSetInconsistencyMeasure<PlFormula> ev) booleanImSafeFormulaIndependence.isSatisfied(Collection<PlFormula> kb, BeliefSetInconsistencyMeasure<PlFormula> ev) booleanImSuperAdditivity.isSatisfied(Collection<PlFormula> kb, BeliefSetInconsistencyMeasure<PlFormula> ev) booleanImSuperAdditivity.isSatisfied(Collection<PlFormula> kb, BeliefSetInconsistencyMeasure<PlFormula> ev) booleanImWeakDominance.isSatisfied(Collection<PlFormula> kb, BeliefSetInconsistencyMeasure<PlFormula> ev) booleanImWeakDominance.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 TypeClassDescriptionclassAbstract class for propositional logic reasoners.classAbstract 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) booleanAbstractPlReasoner.isEquivalent(PlFormula p1, PlFormula p2) Checks whether the two formulas are equivalentabstract BooleanAbstractPlReasoner.query(PlBeliefSet beliefbase, PlFormula formula) booleanChecks 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 TypeClassDescriptionclassThis 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 TypeClassDescriptionclassAbstract class for specifying SAT solvers.classAbstract class for specifying SAT solvers.classenumerates all models naivlyclassenumerates 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) booleanSatSolver.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 intMaxSatSolver.costOf(Interpretation<PlBeliefSet, PlFormula> interpretation, Collection<PlFormula> hardConstraints, Map<PlFormula, Integer> softConstraints) Returns the cost of the given interpretation, i.e.static intMaxSatSolver.costOf(Interpretation<PlBeliefSet, PlFormula> interpretation, Collection<PlFormula> hardConstraints, Map<PlFormula, Integer> softConstraints) Returns the cost of the given interpretation, i.e.static intMaxSatSolver.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) booleanSatSolver.isConsistent(Collection<PlFormula> formulas) booleanSatSolver.isConsistent(BeliefSet<PlFormula, ?> beliefSet) booleanCmdLineSatSolver.isSatisfiable(Collection<PlFormula> formulas, Map<Proposition, Integer> prop_index, List<String> additional_clauses) booleanDimacsMaxSatSolver.isSatisfiable(Collection<PlFormula> formulas) abstract booleanDimacsMaxSatSolver.isSatisfiable(Collection<PlFormula> formulas, Map<Proposition, Integer> prop_index) Return "true" if the set is consistent.booleanDimacsSatSolver.isSatisfiable(Collection<PlFormula> formulas) Checks whether the given set of formulas is satisfiable.abstract booleanDimacsSatSolver.isSatisfiable(Collection<PlFormula> formulas, Map<Proposition, Integer> prop_index, List<String> additional_clauses) Checks whether the given set of formulas is satisfiable.abstract booleanMaxSatSolver.isSatisfiable(Collection<PlFormula> formulas) booleanOpenWboSolver.isSatisfiable(Collection<PlFormula> formulas, Map<Proposition, Integer> prop_index) booleanSat4jSolver.isSatisfiable(Collection<PlFormula> formulas, Map<Proposition, Integer> prop_index, List<String> additional_clauses) abstract booleanSatSolver.isSatisfiable(Collection<PlFormula> formulas) Checks whether the given set of formulas is satisfiable.booleanSimpleDpllSolver.isSatisfiable(Collection<PlFormula> formulas) MarcoMusEnumerator.minimalInconsistentSubsets(Collection<PlFormula> formulas) MimusMusEnumerator.minimalInconsistentSubsets(Collection<PlFormula> formulas) abstract Collection<Collection<PlFormula>> PlMusEnumerator.minimalInconsistentSubsets(Collection<PlFormula> formulas) static voidPlMusEnumerator.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 TypeClassDescriptionclassA fuzzy interpretation for propositional logic.classWrapper 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.classThis class represents a possible world of propositional logic, i.e.classA 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 TypeClassDescriptionclassIterates 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 TypeMethodDescriptionbooleanbooleanbooleanbooleanPriestWorld.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 TypeMethodDescriptionbooleanPossibleWorld.satisfies(Collection<PlFormula> formulas) -
Uses of PlFormula in org.tweetyproject.logics.pl.syntax
Subclasses of PlFormula in org.tweetyproject.logics.pl.syntaxModifier and TypeClassDescriptionclassThis class captures the common functionalities of formulas with an associative operation like conjunction, disjunction, etc.classThis class represents a conjunction in propositional logic.classA contradictory formula.classThis class represents a disjunction in propositional logic.classThis class models equivalence of propositional logic.classThis class represents an exclusive disjunction (XOR) in propositional logic.classThis class models the implication of propositional logic.classThis class models classical negation of propositional logic.classThis class represents a simple proposition in propositional logic.classThis class captures the common functionalities of the special formulas tautology and contradiction.classA tautological formula.Subclasses with type arguments of type PlFormula in org.tweetyproject.logics.pl.syntaxModifier and TypeClassDescriptionclassThis 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 TypeClassDescriptionclassThis class captures the common functionalities of formulas with an associative operation like conjunction, disjunction, etc.classThis 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 PlFormulaPlFormula.clone()Conjunction.collapseAssociativeFormulas()Disjunction.collapseAssociativeFormulas()Equivalence.collapseAssociativeFormulas()ExclusiveDisjunction.collapseAssociativeFormulas()Implication.collapseAssociativeFormulas()Negation.collapseAssociativeFormulas()abstract PlFormulaPlFormula.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 PlFormulaPlFormula.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 PlFormulaPlFormula.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 PlFormulaPlFormula.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 TypeMethodDescriptionvoidbooleanbooleanAdds the specified elements to the end of this collection (optional operation).booleanNegation.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 PlFormulaPlFormula.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) booleanPlFormula.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.voidImplication.setFirstFormula(PlFormula left) Sets the left side formula of the implication left => right.voidEquivalence.setFormulas(PlFormula formula1, PlFormula formula2) Sets the formulas of the equivalence.voidImplication.setFormulas(PlFormula left, PlFormula right) Sets the formulas of the implication.voidImplication.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 TypeMethodDescriptionbooleanAssociativePlFormula.addAll(int index, Collection<? extends PlFormula> c) booleanAssociativePlFormula.addAll(Collection<? extends PlFormula> c) static PlSignaturePlSignature.getSignature(Collection<? extends PlFormula> formulas) Returns the set of atoms appearing in the given collection of formulas.voidEquivalence.setFormulas(Pair<PlFormula, PlFormula> formulas) Sets the formulas of the equivalence.voidEquivalence.setFormulas(Pair<PlFormula, PlFormula> formulas) Sets the formulas of the equivalence.voidImplication.setFormulas(Pair<PlFormula, PlFormula> formulas) Sets the formulas of the implication.voidImplication.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 TypeClassDescriptionclassA simple sampler for propositional belief bases.classGenerates random propositional belief base with a given inconsistency measure (for the contension inconsistency measure) and of a given size.classGenerates random propositional belief base with a given inconsistency measure (for the Hs inconsistency measure) and of a given size.classGenerates random propositional belief base with a given inconsistency measure (for the MI inconsistency measure) and of a given size.classThis sampler generates random belief sets by selecting, for each formula a random set of possible worlds as its models.classA sampler for uniform random k-SAT instances.classThis 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 TypeClassDescriptionclassProvides an iterator on all syntactically equivalent knowledge bases.classThis sampler enumerates all possible propositional belief bases of the given signature.classGenerates all syntactic variations of knowledge basesclassEnumerates 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 TypeClassDescriptionclassThis 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 TypeClassDescriptionclassAbstract QBF sat solver to be implemented by concrete solvers.Methods in org.tweetyproject.logics.qbf.reasoner with parameters of type PlFormulaModifier and TypeMethodDescriptionbooleanQbfSolver.isConsistent(PlFormula formula) NaiveQbfReasoner.query(PlBeliefSet beliefbase, PlFormula formula) Method parameters in org.tweetyproject.logics.qbf.reasoner with type arguments of type PlFormulaModifier and TypeMethodDescriptionbooleanQbfSolver.isConsistent(Collection<PlFormula> formulas) booleanQbfSolver.isConsistent(BeliefSet<PlFormula, ?> beliefSet) booleanCadetSolver.isSatisfiable(Collection<PlFormula> kb) booleanCaqeSolver.isSatisfiable(Collection<PlFormula> kb) booleanGhostQSolver.isSatisfiable(Collection<PlFormula> kb) abstract booleanQbfSolver.isSatisfiable(Collection<PlFormula> formulas) Checks whether the given set of formulas is satisfiable.booleanQuteSolver.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 TypeClassDescriptionclassThis 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 TypeMethodDescriptionbooleanChecks 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 TypeMethodDescriptionbooleanQbPossibleWorld.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 TypeClassDescriptionclassThis class represents existential quantification for boolean formulas.classThis 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 TypeClassDescriptionclassThis 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, INCONSISTENTclassThis 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 TypeClassDescriptionclassThis 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 TypeMethodDescriptionbooleanbooleanThreeValuedWorld.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 booleanCADFSemantics.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 TypeClassDescriptionclassThis 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"classThis 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 TypeClassDescriptionclassAdapted from "PlParser" for the use of 3-valued logic (WeakNegation and Indecision-Operator):classThis 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 TypeClassDescriptionclassThis 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 TypeMethodDescriptionbooleanIndecision.hasLowerBindingPriority(PlFormula other) Return returns falsebooleanWeakNegation.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) booleanPriestWorldAdapted.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 TypeMethodDescriptionvoidRankingFunctionThreeValued.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