Uses of Class
net.sf.tweety.logics.pl.syntax.PlFormula
- 
 - 
- 
Uses of PlFormula in net.sf.tweety.action.query.analysis
Methods in net.sf.tweety.action.query.analysis that return types with arguments of type PlFormula Modifier and Type Method Description private java.util.Set<PlFormula>SActionQuerySatisfactionTester. getQueryParts(PlFormula formula)Calculates the set of all subformulas of an action query down to propositions (holds, always, necessarily)Methods in net.sf.tweety.action.query.analysis with parameters of type PlFormula Modifier and Type Method Description private java.lang.StringSActionQuerySatisfactionTester. getQueryPartRules(PlFormula queryPart)Calculates the translation of an action query to rules of a normal logic program according to the translation sheme presented in [1].private java.util.Set<PlFormula>SActionQuerySatisfactionTester. getQueryParts(PlFormula formula)Calculates the set of all subformulas of an action query down to propositions (holds, always, necessarily) - 
Uses of PlFormula in net.sf.tweety.action.query.parser
Methods in net.sf.tweety.action.query.parser that return PlFormula Modifier and Type Method Description private PlFormulaActionQueryParser. parseAtomic(java.util.List<java.lang.Object> l)Parses a simple formula as a list of String tokens or formulas into a propositional formula.private PlFormulaActionQueryParser. parseConjunction(java.util.List<java.lang.Object> l)Parses a simple formula as a list of String tokens or formulas into a propositional formula.private PlFormulaActionQueryParser. parseDisjunction(java.util.List<java.lang.Object> l)Parses a simple formula as a list of String tokens or formulas into a propositional formula.private PlFormulaActionQueryParser. parseNegation(java.util.List<java.lang.Object> l)Parses a simple formula as a list of String tokens or formulas into a propositional formula. - 
Uses of PlFormula in net.sf.tweety.action.query.syntax
Subclasses of PlFormula in net.sf.tweety.action.query.syntax Modifier and Type Class Description classAlwaysQueryThis class represents an always query in the action query language S.classHoldsQueryThis class represents a holds query in the action query language S.classNecessarilyQueryThis class represents a necessarily query in the action query language S.classQueryPropositionAction queries are represented as propositional formulas with three possible types of propositions: holds, always and necessarily propositions.Fields in net.sf.tweety.action.query.syntax declared as PlFormula Modifier and Type Field Description protected PlFormulaSActionQuery. formulaMethods in net.sf.tweety.action.query.syntax that return PlFormula Modifier and Type Method Description PlFormulaSActionQuery. getFormula()Returns the formula represented by this action query.private static PlFormulaSActionQuery. substitutePropositions(java.util.Map<Variable,Constant> map, PlFormula formula)Utility function that walks through all parts of a propositional formula with query propositions substituting all variables with constants according to the given map.Methods in net.sf.tweety.action.query.syntax with parameters of type PlFormula Modifier and Type Method Description private static PlFormulaSActionQuery. substitutePropositions(java.util.Map<Variable,Constant> map, PlFormula formula)Utility function that walks through all parts of a propositional formula with query propositions substituting all variables with constants according to the given map.Constructors in net.sf.tweety.action.query.syntax with parameters of type PlFormula Constructor Description SActionQuery(PlFormula formula)Creates a new action query with the given propositional formula and no grounding requirements.SActionQuery(PlFormula formula, java.util.Set<GroundingRequirement> requirements)Creates a new action query with the given propositional formula and grounding requirements. - 
Uses of PlFormula in net.sf.tweety.agents.dialogues
Constructor parameters in net.sf.tweety.agents.dialogues with type arguments of type PlFormula Constructor Description ExecutableFormulaSet(java.util.Collection<? extends PlFormula> formulas)Creates a new set for the given formulas. - 
Uses of PlFormula in net.sf.tweety.agents.dialogues.oppmodels
Fields in net.sf.tweety.agents.dialogues.oppmodels with type parameters of type PlFormula Modifier and Type Field Description private DialogueTrace<PlFormula,java.util.Collection<PlFormula>>DeductiveEnvironment. traceThe current dialogue trace.private DialogueTrace<PlFormula,java.util.Collection<PlFormula>>DeductiveEnvironment. traceThe current dialogue trace.Methods in net.sf.tweety.agents.dialogues.oppmodels that return types with arguments of type PlFormula Modifier and Type Method Description DialogueTrace<PlFormula,java.util.Collection<PlFormula>>DeductiveEnvironment. getDialogueTrace()Returns the current dialogue trace.DialogueTrace<PlFormula,java.util.Collection<PlFormula>>DeductiveEnvironment. getDialogueTrace()Returns the current dialogue trace. - 
Uses of PlFormula in net.sf.tweety.arg.adf.reasoner.encodings
Method parameters in net.sf.tweety.arg.adf.reasoner.encodings with type arguments of type PlFormula Modifier and Type Method Description InterpretationSatEncodingContext. interpretationFromWitness(Interpretation<PlBeliefSet,PlFormula> witness)Constructs an ADF interpretation from the given SAT witness. - 
Uses of PlFormula in net.sf.tweety.arg.adf.sat
Fields in net.sf.tweety.arg.adf.sat with type parameters of type PlFormula Modifier and Type Field Description private java.util.Collection<PlFormula>SimpleSatSolverState. stateMethods in net.sf.tweety.arg.adf.sat that return types with arguments of type PlFormula Modifier and Type Method Description Interpretation<PlBeliefSet,PlFormula>NativeLingelingSolver. getWitness(java.util.Collection<PlFormula> formulas)Interpretation<PlBeliefSet,PlFormula>SimpleIncrementalSatSolver. getWitness(java.util.Collection<PlFormula> formulas)Interpretation<PlBeliefSet,PlFormula>NativeLingelingSolver.LingelingSolverState. witness()Interpretation<PlBeliefSet,PlFormula>SatSolverState. witness()Interpretation<PlBeliefSet,PlFormula>SimpleSatSolverState. witness()Method parameters in net.sf.tweety.arg.adf.sat with type arguments of type PlFormula Modifier and Type Method Description Interpretation<PlBeliefSet,PlFormula>NativeLingelingSolver. getWitness(java.util.Collection<PlFormula> formulas)Interpretation<PlBeliefSet,PlFormula>SimpleIncrementalSatSolver. getWitness(java.util.Collection<PlFormula> formulas)booleanNativeLingelingSolver. isSatisfiable(java.util.Collection<PlFormula> formulas)booleanSimpleIncrementalSatSolver. isSatisfiable(java.util.Collection<PlFormula> formulas) - 
Uses of PlFormula in net.sf.tweety.arg.adf.semantics
Methods in net.sf.tweety.arg.adf.semantics with parameters of type PlFormula Modifier and Type Method Description private booleanSatLinkStrategy. isAttacking(PlFormula from, PlFormula toAcc, java.util.Collection<PlFormula> clauses)private booleanSatLinkStrategy. isSupporting(PlFormula from, PlFormula toAcc, java.util.Collection<PlFormula> clauses)Method parameters in net.sf.tweety.arg.adf.semantics with type arguments of type PlFormula Modifier and Type Method Description private booleanSatLinkStrategy. isAttacking(PlFormula from, PlFormula toAcc, java.util.Collection<PlFormula> clauses)private booleanSatLinkStrategy. isSupporting(PlFormula from, PlFormula toAcc, java.util.Collection<PlFormula> clauses) - 
Uses of PlFormula in net.sf.tweety.arg.adf.transform
Fields in net.sf.tweety.arg.adf.transform with type parameters of type PlFormula Modifier and Type Field Description private java.util.function.Function<Argument,PlFormula>PlFormulaTransform. argumentToPlFormulaMethods in net.sf.tweety.arg.adf.transform that return PlFormula Modifier and Type Method Description PlFormulaPlFormulaTransform. transformArgument(Argument argument)PlFormulaPlFormulaTransform. transformConjunction(java.util.Collection<PlFormula> subconditions)PlFormulaPlFormulaTransform. transformContradiction()PlFormulaPlFormulaTransform. transformDisjunction(java.util.Collection<PlFormula> subconditions)PlFormulaPlFormulaTransform. transformEquivalence(PlFormula left, PlFormula right)PlFormulaPlFormulaTransform. transformExclusiveDisjunction(PlFormula left, PlFormula right)PlFormulaPlFormulaTransform. transformImplication(PlFormula left, PlFormula right)PlFormulaPlFormulaTransform. transformNegation(PlFormula sub)PlFormulaPlFormulaTransform. transformTautology()Methods in net.sf.tweety.arg.adf.transform with parameters of type PlFormula Modifier and Type Method Description PlFormulaPlFormulaTransform. transformEquivalence(PlFormula left, PlFormula right)PlFormulaPlFormulaTransform. transformExclusiveDisjunction(PlFormula left, PlFormula right)PlFormulaPlFormulaTransform. transformImplication(PlFormula left, PlFormula right)PlFormulaPlFormulaTransform. transformNegation(PlFormula sub)Method parameters in net.sf.tweety.arg.adf.transform with type arguments of type PlFormula Modifier and Type Method Description PlFormulaPlFormulaTransform. transformConjunction(java.util.Collection<PlFormula> subconditions)PlFormulaPlFormulaTransform. transformDisjunction(java.util.Collection<PlFormula> subconditions)Constructor parameters in net.sf.tweety.arg.adf.transform with type arguments of type PlFormula Constructor Description PlFormulaTransform(java.util.function.Function<Argument,PlFormula> argumentToPlFormula) - 
Uses of PlFormula in net.sf.tweety.arg.adf.util
Methods in net.sf.tweety.arg.adf.util that return types with arguments of type PlFormula Modifier and Type Method Description static java.util.stream.Collector<PlFormula,?,Conjunction>PlCollectors. toConjunction()static java.util.stream.Collector<java.util.Collection<? extends PlFormula>,?,Conjunction>PlCollectors. toConjunctionOfDisjunctions()static java.util.stream.Collector<Pair<? extends PlFormula,? extends PlFormula>,?,Conjunction>PlCollectors. toConjunctionOfDisjunctivePairs()static java.util.stream.Collector<Pair<? extends PlFormula,? extends PlFormula>,?,Conjunction>PlCollectors. toConjunctionOfDisjunctivePairs()static java.util.stream.Collector<Triple<? extends PlFormula,? extends PlFormula,? extends PlFormula>,?,Conjunction>PlCollectors. toConjunctionOfDisjunctiveTriples()static java.util.stream.Collector<Triple<? extends PlFormula,? extends PlFormula,? extends PlFormula>,?,Conjunction>PlCollectors. toConjunctionOfDisjunctiveTriples()static java.util.stream.Collector<Triple<? extends PlFormula,? extends PlFormula,? extends PlFormula>,?,Conjunction>PlCollectors. toConjunctionOfDisjunctiveTriples()static java.util.stream.Collector<PlFormula,?,Disjunction>PlCollectors. toDisjunction()static java.util.stream.Collector<java.util.Collection<? extends PlFormula>,?,Disjunction>PlCollectors. toDisjunctionOfConjunctions()static java.util.stream.Collector<Pair<? extends PlFormula,? extends PlFormula>,?,Disjunction>PlCollectors. toDisjunctionOfConjunctivePairs()static java.util.stream.Collector<Pair<? extends PlFormula,? extends PlFormula>,?,Disjunction>PlCollectors. toDisjunctionOfConjunctivePairs()static java.util.stream.Collector<Triple<? extends PlFormula,? extends PlFormula,? extends PlFormula>,?,Disjunction>PlCollectors. toDisjunctionOfConjunctiveTriples()static java.util.stream.Collector<Triple<? extends PlFormula,? extends PlFormula,? extends PlFormula>,?,Disjunction>PlCollectors. toDisjunctionOfConjunctiveTriples()static java.util.stream.Collector<Triple<? extends PlFormula,? extends PlFormula,? extends PlFormula>,?,Disjunction>PlCollectors. toDisjunctionOfConjunctiveTriples() - 
Uses of PlFormula in net.sf.tweety.arg.aspic.ruleformulagenerator
Methods in net.sf.tweety.arg.aspic.ruleformulagenerator that return PlFormula Modifier and Type Method Description PlFormulaPlFormulaGenerator. getRuleFormula(DefeasibleInferenceRule<PlFormula> r)Method parameters in net.sf.tweety.arg.aspic.ruleformulagenerator with type arguments of type PlFormula Modifier and Type Method Description PlFormulaPlFormulaGenerator. getRuleFormula(DefeasibleInferenceRule<PlFormula> r) - 
Uses of PlFormula in net.sf.tweety.arg.aspic.util
Methods in net.sf.tweety.arg.aspic.util that return types with arguments of type PlFormula Modifier and Type Method Description static AspicArgumentationTheory<PlFormula>RandomAspicArgumentationTheoryGenerator. next(int numPropositions, int numFormulas, int maxBodyLiterals, double probStrict)Generates a random ASPIC argumentation theory withnumPropositionsandnumFormulasformulas (inference rules). - 
Uses of PlFormula in net.sf.tweety.arg.deductive.reasoner
Methods in net.sf.tweety.arg.deductive.reasoner with parameters of type PlFormula Modifier and Type Method Description java.lang.DoubleAbstractDeductiveArgumentationReasoner. query(DeductiveKnowledgeBase kb, PlFormula f)Method parameters in net.sf.tweety.arg.deductive.reasoner with type arguments of type PlFormula Modifier and Type Method Description private ArgumentTreeSimpleDeductiveReasoner. getArgumentTree(DeductiveKnowledgeBase kb, DeductiveArgumentNode argNode, java.util.Set<PlFormula> support)Computes the argument tree of the given argument. - 
Uses of PlFormula in net.sf.tweety.arg.deductive.semantics
Fields in net.sf.tweety.arg.deductive.semantics declared as PlFormula Modifier and Type Field Description private PlFormulaDeductiveArgument. claimThe claim of this argument.Fields in net.sf.tweety.arg.deductive.semantics with type parameters of type PlFormula Modifier and Type Field Description private java.util.Collection<? extends PlFormula>DeductiveArgument. supportThe support of this argument.Methods in net.sf.tweety.arg.deductive.semantics that return PlFormula Modifier and Type Method Description PlFormulaDeductiveArgument. getClaim()Returns the claim of this argument.Methods in net.sf.tweety.arg.deductive.semantics that return types with arguments of type PlFormula Modifier and Type Method Description java.util.Collection<? extends PlFormula>DeductiveArgument. getSupport()Returns the support of this argument.Constructors in net.sf.tweety.arg.deductive.semantics with parameters of type PlFormula Constructor Description DeductiveArgument(java.util.Collection<? extends PlFormula> support, PlFormula claim)Creates a new deductive argument with the given support and claim.DeductiveArgumentNode(java.util.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 net.sf.tweety.arg.deductive.semantics with type arguments of type PlFormula Constructor Description CompilationNode(java.util.Collection<? extends PlFormula> formulas)Creates a new compilation node with the given set of formulas.DeductiveArgument(java.util.Collection<? extends PlFormula> support, PlFormula claim)Creates a new deductive argument with the given support and claim.DeductiveArgumentNode(java.util.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 net.sf.tweety.arg.deductive.syntax
Fields in net.sf.tweety.arg.deductive.syntax declared as PlFormula Modifier and Type Field Description private PlFormulaSimplePlLogicArgument. claimprivate PlFormulaSimplePlRule. claimFields in net.sf.tweety.arg.deductive.syntax with type parameters of type PlFormula Modifier and Type Field Description private java.util.Set<PlFormula>SimplePlRule. supportMethods in net.sf.tweety.arg.deductive.syntax that return PlFormula Modifier and Type Method Description PlFormulaSimplePlLogicArgument. getClaim()PlFormulaSimplePlRule. getConclusion()Methods in net.sf.tweety.arg.deductive.syntax that return types with arguments of type PlFormula Modifier and Type Method Description java.util.Collection<? extends PlFormula>SimplePlRule. getPremise()Methods in net.sf.tweety.arg.deductive.syntax with parameters of type PlFormula Modifier and Type Method Description voidSimplePlRule. addPremise(PlFormula arg0)java.util.Set<DeductiveArgument>DeductiveKnowledgeBase. getDeductiveArguments(PlFormula claim)Computes all deductive arguments for the given claim.voidSimplePlRule. setConclusion(PlFormula arg0)Method parameters in net.sf.tweety.arg.deductive.syntax with type arguments of type PlFormula Modifier and Type Method Description voidSimplePlRule. addPremises(java.util.Collection<? extends PlFormula> arg0)Constructors in net.sf.tweety.arg.deductive.syntax with parameters of type PlFormula Constructor Description SimplePlLogicArgument(java.util.Collection<SimplePlRule> _support, PlFormula _claim)SimplePlRule(PlFormula _claim)SimplePlRule(PlFormula _claim, java.util.Set<PlFormula> _support)Constructor parameters in net.sf.tweety.arg.deductive.syntax with type arguments of type PlFormula Constructor Description DeductiveKnowledgeBase(java.util.Collection<? extends PlFormula> formulas)Creates a new knowledge base with the given set of formulas.SimplePlRule(PlFormula _claim, java.util.Set<PlFormula> _support) - 
Uses of PlFormula in net.sf.tweety.beliefdynamics.mas
Fields in net.sf.tweety.beliefdynamics.mas with type parameters of type PlFormula Modifier and Type Field Description private java.util.Collection<InformationObject<PlFormula>>AbstractCredibilityComparer. formulasThe information objects that hold the information which agents uttered the formulas.Methods in net.sf.tweety.beliefdynamics.mas with parameters of type PlFormula Modifier and Type Method Description protected booleanAbstractCredibilityComparer. isAtLeastAsPreferredAs(PlFormula f, java.util.Collection<? extends PlFormula> formulas)Checks whether f is at least as preferred as some formula in "formulas"protected booleanAbstractCredibilityComparer. isAtLeastAsPreferredAs(PlFormula f, PlFormula f2)Checks whether f is at least as preferred as f2Method parameters in net.sf.tweety.beliefdynamics.mas with type arguments of type PlFormula Modifier and Type Method Description protected booleanAbstractCredibilityComparer. isAtLeastAsPreferredAs(java.util.Collection<? extends PlFormula> col1, java.util.Collection<? extends PlFormula> col2)Checks whether col1 is at least as preferred as col2 wrt.protected booleanAbstractCredibilityComparer. isAtLeastAsPreferredAs(PlFormula f, java.util.Collection<? extends PlFormula> formulas)Checks whether f is at least as preferred as some formula in "formulas"Constructor parameters in net.sf.tweety.beliefdynamics.mas with type arguments of type PlFormula Constructor Description AbstractCredibilityComparer(java.util.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(java.util.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 net.sf.tweety.beliefdynamics.operators
Methods in net.sf.tweety.beliefdynamics.operators that return types with arguments of type PlFormula Modifier and Type Method Description java.util.Collection<PlFormula>ArgumentativeRevisionOperator. revise(java.util.Collection<PlFormula> base, java.util.Collection<PlFormula> formulas)java.util.Collection<InformationObject<PlFormula>>CrMasArgumentativeRevisionOperator. revise(java.util.Collection<InformationObject<PlFormula>> base, java.util.Collection<InformationObject<PlFormula>> formulas)java.util.Collection<InformationObject<PlFormula>>CrMasSimpleRevisionOperator. revise(java.util.Collection<InformationObject<PlFormula>> base, java.util.Collection<InformationObject<PlFormula>> formulas)Methods in net.sf.tweety.beliefdynamics.operators with parameters of type PlFormula Modifier and Type Method Description booleanCrMasSimpleRevisionOperator.CredibilityComparer. isFormerAtLeastAsPreferredAsLatter(PlFormula f, java.util.Collection<PlFormula> formulas)Method parameters in net.sf.tweety.beliefdynamics.operators with type arguments of type PlFormula Modifier and Type Method Description booleanCrMasSimpleRevisionOperator.CredibilityComparer. isFormerAtLeastAsPreferredAsLatter(PlFormula f, java.util.Collection<PlFormula> formulas)java.util.Collection<PlFormula>ArgumentativeRevisionOperator. revise(java.util.Collection<PlFormula> base, java.util.Collection<PlFormula> formulas)java.util.Collection<InformationObject<PlFormula>>CrMasArgumentativeRevisionOperator. revise(java.util.Collection<InformationObject<PlFormula>> base, java.util.Collection<InformationObject<PlFormula>> formulas)java.util.Collection<InformationObject<PlFormula>>CrMasSimpleRevisionOperator. revise(java.util.Collection<InformationObject<PlFormula>> base, java.util.Collection<InformationObject<PlFormula>> formulas)Constructor parameters in net.sf.tweety.beliefdynamics.operators with type arguments of type PlFormula Constructor Description CredibilityComparer(java.util.Collection<InformationObject<PlFormula>> formulas, Order<Agent> credOrder) - 
Uses of PlFormula in net.sf.tweety.beliefdynamics.selectiverevision.argumentative
Methods in net.sf.tweety.beliefdynamics.selectiverevision.argumentative that return types with arguments of type PlFormula Modifier and Type Method Description java.util.Collection<PlFormula>ArgumentativeTransformationFunction. transform(java.util.Collection<PlFormula> formulas)Method parameters in net.sf.tweety.beliefdynamics.selectiverevision.argumentative with type arguments of type PlFormula Modifier and Type Method Description java.util.Collection<PlFormula>ArgumentativeTransformationFunction. transform(java.util.Collection<PlFormula> formulas) - 
Uses of PlFormula in net.sf.tweety.logics.cl.reasoner
Methods in net.sf.tweety.logics.cl.reasoner with parameters of type PlFormula Modifier and Type Method Description java.lang.BooleanAbstractConditionalLogicReasoner. query(ClBeliefSet beliefbase, PlFormula formula)Method parameters in net.sf.tweety.logics.cl.reasoner with type arguments of type PlFormula Modifier and Type Method Description private voidSimpleCReasoner. filter(java.util.ArrayList<PlFormula> list, ClBeliefSet beliefset) - 
Uses of PlFormula in net.sf.tweety.logics.cl.semantics
Methods in net.sf.tweety.logics.cl.semantics with parameters of type PlFormula Modifier and Type Method Description java.lang.IntegerRankingFunction. rank(PlFormula formula)Gets the rank of the given formula.Method parameters in net.sf.tweety.logics.cl.semantics with type arguments of type PlFormula Modifier and Type Method Description voidRankingFunction. forceStrictness(java.util.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 net.sf.tweety.logics.cl.syntax
Fields in net.sf.tweety.logics.cl.syntax declared as PlFormula Modifier and Type Field Description private PlFormulaConditional. conclusionThe conclusion of this conditional.private PlFormulaConditional. premiseThe premise of this conditional.Methods in net.sf.tweety.logics.cl.syntax that return PlFormula Modifier and Type Method Description PlFormulaConditional. getConclusion()Methods in net.sf.tweety.logics.cl.syntax that return types with arguments of type PlFormula Modifier and Type Method Description java.util.Collection<PlFormula>Conditional. getPremise()Methods in net.sf.tweety.logics.cl.syntax with parameters of type PlFormula Modifier and Type Method Description voidConditional. addPremise(PlFormula premise)voidConditional. setConclusion(PlFormula conclusion)Method parameters in net.sf.tweety.logics.cl.syntax with type arguments of type PlFormula Modifier and Type Method Description voidConditional. addPremises(java.util.Collection<? extends PlFormula> premises)Constructors in net.sf.tweety.logics.cl.syntax with parameters of type PlFormula Constructor Description Conditional(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 net.sf.tweety.logics.pcl.reasoner
Methods in net.sf.tweety.logics.pcl.reasoner with parameters of type PlFormula Modifier and Type Method Description abstract java.lang.DoubleAbstractPclReasoner. query(PclBeliefSet beliefbase, PlFormula formula)java.lang.DoubleDefaultMeReasoner. query(PclBeliefSet beliefbase, PlFormula formula)java.lang.DoubleGeneralizedMeReasoner. query(PclBeliefSet beliefbase, PlFormula formula) - 
Uses of PlFormula in net.sf.tweety.logics.pcl.semantics
Classes in net.sf.tweety.logics.pcl.semantics with type parameters of type PlFormula Modifier and Type Class Description classProbabilityDistribution<T extends Interpretation<PlBeliefSet,PlFormula>>This class represents a probability distribution on some logical languageMethods in net.sf.tweety.logics.pcl.semantics with type parameters of type PlFormula Modifier and Type Method Description static <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(java.util.Set<S> interpretations, Signature sig)Returns the uniform distribution on the given interpretations.Methods in net.sf.tweety.logics.pcl.semantics with parameters of type PlFormula Modifier and Type Method Description ProbabilityProbabilityDistribution. probability(PlFormula f)Returns the probability of the given formulaMethod parameters in net.sf.tweety.logics.pcl.semantics with type arguments of type PlFormula Modifier and Type Method Description ProbabilityProbabilityDistribution. 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 net.sf.tweety.logics.pcl.syntax
Constructors in net.sf.tweety.logics.pcl.syntax with parameters of type PlFormula Constructor Description ProbabilisticConditional(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 net.sf.tweety.logics.pl.analysis
Fields in net.sf.tweety.logics.pl.analysis with type parameters of type PlFormula Modifier and Type Field Description private ConsistencyWitnessProvider<PlBeliefSet,PlFormula>ContensionInconsistencyMeasurementProcess. witnessProviderThe witness provider used.private ConsistencyWitnessProvider<PlBeliefSet,PlFormula>HsInconsistencyMeasurementProcess. witnessProviderThe witness provider used.Methods in net.sf.tweety.logics.pl.analysis that return types with arguments of type PlFormula Modifier and Type Method Description static InconsistencyMeasure<BeliefSet<PlFormula,?>>InconsistencyMeasureFactory. getInconsistencyMeasure(InconsistencyMeasureFactory.Measure im)Creates a new inconsistency measure of the given type with default settings.Methods in net.sf.tweety.logics.pl.analysis with parameters of type PlFormula Modifier and Type Method Description doublePossibleWorldDistance. distance(PlFormula f, PossibleWorld b)private intPmInconsistencyMeasure. getNumOfMinmalProofs(PlFormula f, java.util.Collection<PlFormula> formulas)Returns the number of minimal proofs of f in formulas.private TermFuzzyInconsistencyMeasure. getTerm(PlFormula formula, java.util.Map<Proposition,Variable> assignments)Returns a mathematical term representation of the given formula by replacing proposition by their given mathematical variables and replacing conjunction, disjunction, and negation by their fuzzy counterparts (taking the given t-norm and t-conorm into account).protected doubleContensionInconsistencyMeasurementProcess. update(PlFormula formula)protected doubleHsInconsistencyMeasurementProcess. update(PlFormula formula)Method parameters in net.sf.tweety.logics.pl.analysis with type arguments of type PlFormula Modifier and Type Method Description private Pair<java.util.Map<Variable,Term>,java.lang.Double>FuzzyInconsistencyMeasure. constructAndSolveProblem(java.util.Collection<PlFormula> formulas, java.util.Map<Proposition,Variable> assignments)Utility methodprivate intPmInconsistencyMeasure. getNumOfMinmalProofs(PlFormula f, java.util.Collection<PlFormula> formulas)Returns the number of minimal proofs of f in formulas.FuzzyInterpretationFuzzyInconsistencyMeasure. getOptimalInterpretation(java.util.Collection<PlFormula> formulas)Returns an optimal interpretation as a witness for the inconsistency value.java.lang.DoubleContensionInconsistencyMeasure. inconsistencyMeasure(java.util.Collection<PlFormula> formulas)java.lang.DoubleFbInconsistencyMeasure. inconsistencyMeasure(java.util.Collection<PlFormula> formulas)java.lang.DoubleFuzzyInconsistencyMeasure. inconsistencyMeasure(java.util.Collection<PlFormula> formulas)java.lang.DoubleMusVarInconsistencyMeasure. inconsistencyMeasure(java.util.Collection<PlFormula> formulas)java.lang.DoublePmInconsistencyMeasure. inconsistencyMeasure(java.util.Collection<PlFormula> formulas) - 
Uses of PlFormula in net.sf.tweety.logics.pl.parser
Methods in net.sf.tweety.logics.pl.parser that return PlFormula Modifier and Type Method Description private PlFormulaPlParser. parseAtomic(java.util.List<java.lang.Object> l)Parses a simple formula as a list of String tokens or formulas into a propositional formula.private PlFormulaPlParser. parseConjunction(java.util.List<java.lang.Object> l)Parses a simple formula as a list of String tokens or formulas into a propositional formula.protected PlFormulaPlParser. parseDisjunction(java.util.List<java.lang.Object> l)Parses a simple formula as a list of String tokens or formulas into a propositional formula.private PlFormulaPlParser. parseEquivalence(java.util.List<java.lang.Object> l)Parses a simple formula as a list of String tokens or formulas into a propositional formula.PlFormulaPlParser. parseFormula(java.io.Reader reader)private PlFormulaPlParser. parseImplication(java.util.List<java.lang.Object> l)Parses a simple formula as a list of String tokens or formulas into a propositional formula.private PlFormulaPlParser. parseNegation(java.util.List<java.lang.Object> l)Parses a simple formula as a list of String tokens or formulas into a propositional formula.Methods in net.sf.tweety.logics.pl.parser that return types with arguments of type PlFormula Modifier and Type Method Description static Parser<PlBeliefSet,PlFormula>PlParserFactory. getParserForFormat(PlParserFactory.Format f)Retrieves an appropriate parser for the given format. - 
Uses of PlFormula in net.sf.tweety.logics.pl.postulates
Method parameters in net.sf.tweety.logics.pl.postulates with type arguments of type PlFormula Modifier and Type Method Description booleanImAdjunctionInvariance. isApplicable(java.util.Collection<PlFormula> kb)booleanImAttenuation. isApplicable(java.util.Collection<PlFormula> kb)booleanImConsistency. isApplicable(java.util.Collection<PlFormula> kb)booleanImContradiction. isApplicable(java.util.Collection<PlFormula> kb)booleanImDominance. isApplicable(java.util.Collection<PlFormula> kb)booleanImEqualConflict. isApplicable(java.util.Collection<PlFormula> kb)booleanImExchange. isApplicable(java.util.Collection<PlFormula> kb)booleanImFreeFormulaDilution. isApplicable(java.util.Collection<PlFormula> kb)booleanImFreeFormulaIndependence. isApplicable(java.util.Collection<PlFormula> kb)booleanImIrrelevanceOfSyntax. isApplicable(java.util.Collection<PlFormula> kb)booleanImMINormalization. isApplicable(java.util.Collection<PlFormula> kb)booleanImMonotony. isApplicable(java.util.Collection<PlFormula> kb)booleanImNormalization. isApplicable(java.util.Collection<PlFormula> kb)booleanImPenalty. isApplicable(java.util.Collection<PlFormula> kb)abstract booleanImPostulate. isApplicable(java.util.Collection<PlFormula> kb)booleanImSafeFormulaIndependence. isApplicable(java.util.Collection<PlFormula> kb)booleanImSuperAdditivity. isApplicable(java.util.Collection<PlFormula> kb)booleanImAdjunctionInvariance. isSatisfied(java.util.Collection<PlFormula> kb, BeliefSetInconsistencyMeasure<PlFormula> ev)booleanImAdjunctionInvariance. isSatisfied(java.util.Collection<PlFormula> kb, BeliefSetInconsistencyMeasure<PlFormula> ev)booleanImAttenuation. isSatisfied(java.util.Collection<PlFormula> kb, BeliefSetInconsistencyMeasure<PlFormula> ev)booleanImAttenuation. isSatisfied(java.util.Collection<PlFormula> kb, BeliefSetInconsistencyMeasure<PlFormula> ev)booleanImConsistency. isSatisfied(java.util.Collection<PlFormula> kb, BeliefSetInconsistencyMeasure<PlFormula> ev)booleanImConsistency. isSatisfied(java.util.Collection<PlFormula> kb, BeliefSetInconsistencyMeasure<PlFormula> ev)booleanImContradiction. isSatisfied(java.util.Collection<PlFormula> kb, BeliefSetInconsistencyMeasure<PlFormula> ev)booleanImContradiction. isSatisfied(java.util.Collection<PlFormula> kb, BeliefSetInconsistencyMeasure<PlFormula> ev)booleanImDominance. isSatisfied(java.util.Collection<PlFormula> kb, BeliefSetInconsistencyMeasure<PlFormula> ev)booleanImDominance. isSatisfied(java.util.Collection<PlFormula> kb, BeliefSetInconsistencyMeasure<PlFormula> ev)booleanImEqualConflict. isSatisfied(java.util.Collection<PlFormula> kb, BeliefSetInconsistencyMeasure<PlFormula> ev)booleanImEqualConflict. isSatisfied(java.util.Collection<PlFormula> kb, BeliefSetInconsistencyMeasure<PlFormula> ev)booleanImExchange. isSatisfied(java.util.Collection<PlFormula> kb, BeliefSetInconsistencyMeasure<PlFormula> ev)booleanImExchange. isSatisfied(java.util.Collection<PlFormula> kb, BeliefSetInconsistencyMeasure<PlFormula> ev)booleanImFreeFormulaDilution. isSatisfied(java.util.Collection<PlFormula> kb, BeliefSetInconsistencyMeasure<PlFormula> ev)booleanImFreeFormulaDilution. isSatisfied(java.util.Collection<PlFormula> kb, BeliefSetInconsistencyMeasure<PlFormula> ev)booleanImFreeFormulaIndependence. isSatisfied(java.util.Collection<PlFormula> kb, BeliefSetInconsistencyMeasure<PlFormula> ev)booleanImFreeFormulaIndependence. isSatisfied(java.util.Collection<PlFormula> kb, BeliefSetInconsistencyMeasure<PlFormula> ev)booleanImIrrelevanceOfSyntax. isSatisfied(java.util.Collection<PlFormula> kb, BeliefSetInconsistencyMeasure<PlFormula> ev)booleanImIrrelevanceOfSyntax. isSatisfied(java.util.Collection<PlFormula> kb, BeliefSetInconsistencyMeasure<PlFormula> ev)booleanImMINormalization. isSatisfied(java.util.Collection<PlFormula> kb, BeliefSetInconsistencyMeasure<PlFormula> ev)booleanImMINormalization. isSatisfied(java.util.Collection<PlFormula> kb, BeliefSetInconsistencyMeasure<PlFormula> ev)booleanImMonotony. isSatisfied(java.util.Collection<PlFormula> kb, BeliefSetInconsistencyMeasure<PlFormula> ev)booleanImMonotony. isSatisfied(java.util.Collection<PlFormula> kb, BeliefSetInconsistencyMeasure<PlFormula> ev)booleanImNormalization. isSatisfied(java.util.Collection<PlFormula> kb, BeliefSetInconsistencyMeasure<PlFormula> ev)booleanImNormalization. isSatisfied(java.util.Collection<PlFormula> kb, BeliefSetInconsistencyMeasure<PlFormula> ev)booleanImPenalty. isSatisfied(java.util.Collection<PlFormula> kb, BeliefSetInconsistencyMeasure<PlFormula> ev)booleanImPenalty. isSatisfied(java.util.Collection<PlFormula> kb, BeliefSetInconsistencyMeasure<PlFormula> ev)booleanImPostulate. isSatisfied(java.util.Collection<PlFormula> kb, PostulateEvaluatable<PlFormula> ev)booleanImPostulate. isSatisfied(java.util.Collection<PlFormula> kb, PostulateEvaluatable<PlFormula> ev)abstract booleanImPostulate. isSatisfied(java.util.Collection<PlFormula> kb, BeliefSetInconsistencyMeasure<PlFormula> ev)abstract booleanImPostulate. isSatisfied(java.util.Collection<PlFormula> kb, BeliefSetInconsistencyMeasure<PlFormula> ev)booleanImSafeFormulaIndependence. isSatisfied(java.util.Collection<PlFormula> kb, BeliefSetInconsistencyMeasure<PlFormula> ev)booleanImSafeFormulaIndependence. isSatisfied(java.util.Collection<PlFormula> kb, BeliefSetInconsistencyMeasure<PlFormula> ev)booleanImSuperAdditivity. isSatisfied(java.util.Collection<PlFormula> kb, BeliefSetInconsistencyMeasure<PlFormula> ev)booleanImSuperAdditivity. isSatisfied(java.util.Collection<PlFormula> kb, BeliefSetInconsistencyMeasure<PlFormula> ev) - 
Uses of PlFormula in net.sf.tweety.logics.pl.reasoner
Methods in net.sf.tweety.logics.pl.reasoner that return types with arguments of type PlFormula Modifier and Type Method Description java.util.Collection<java.util.Collection<PlFormula>>AbstractPlReasoner. getKernels(java.util.Collection<PlFormula> formulas, PlFormula formula)Methods in net.sf.tweety.logics.pl.reasoner with parameters of type PlFormula Modifier and Type Method Description java.util.Collection<java.util.Collection<PlFormula>>AbstractPlReasoner. getKernels(java.util.Collection<PlFormula> formulas, PlFormula formula)booleanAbstractPlReasoner. isEquivalent(PlFormula p1, PlFormula p2)Checks whether the two formulas are equivalentabstract java.lang.BooleanAbstractPlReasoner. query(PlBeliefSet beliefbase, PlFormula formula)booleanAbstractPlReasoner. query(PlFormula formula, PlFormula formula2)Checks whether the first formula entails the second.java.lang.BooleanSatReasoner. query(PlBeliefSet beliefbase, PlFormula formula)java.lang.BooleanSimplePlReasoner. query(PlBeliefSet beliefbase, PlFormula formula)Method parameters in net.sf.tweety.logics.pl.reasoner with type arguments of type PlFormula Modifier and Type Method Description java.util.Collection<java.util.Collection<PlFormula>>AbstractPlReasoner. getKernels(java.util.Collection<PlFormula> formulas, PlFormula formula) - 
Uses of PlFormula in net.sf.tweety.logics.pl.sat
Fields in net.sf.tweety.logics.pl.sat with type parameters of type PlFormula Modifier and Type Field Description private static AbstractMusEnumerator<PlFormula>PlMusEnumerator. defaultEnumeratorThe default MUS enumerator.Methods in net.sf.tweety.logics.pl.sat that return types with arguments of type PlFormula Modifier and Type Method Description static Pair<java.lang.String,java.util.List<PlFormula>>SatSolver. convertToDimacs(java.util.Collection<PlFormula> formulas)Converts the given set of formulas to their string representation in Dimacs CNF.protected static Pair<java.io.File,java.util.List<PlFormula>>SatSolver. createTmpDimacsFile(java.util.Collection<PlFormula> formulas)Creates a temporary file in Dimacs format and also returns a mapping between formulas and clauses.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.Interpretation<PlBeliefSet,PlFormula>LingelingSolver. getWitness(java.util.Collection<PlFormula> formulas)Interpretation<PlBeliefSet,PlFormula>MaxSatSolver. getWitness(java.util.Collection<PlFormula> formulas)abstract Interpretation<PlBeliefSet,PlFormula>MaxSatSolver. getWitness(java.util.Collection<PlFormula> hardConstraints, java.util.Map<PlFormula,java.lang.Integer> softConstraints)Returns an interpretation with maximal weight on the soft constraints (or null if the hard constraints are not satisfiable)Interpretation<PlBeliefSet,PlFormula>OpenWboSolver. getWitness(java.util.Collection<PlFormula> hardConstraints, java.util.Map<PlFormula,java.lang.Integer> softConstraints)Interpretation<PlBeliefSet,PlFormula>Sat4jSolver. getWitness(java.util.Collection<PlFormula> formulas)abstract Interpretation<PlBeliefSet,PlFormula>SatSolver. getWitness(java.util.Collection<PlFormula> formulas)If the collection of formulas is consistent this method returns some model of it or, if it is inconsistent, null.Interpretation<PlBeliefSet,PlFormula>SatSolver. getWitness(BeliefSet<PlFormula,?> bs)Interpretation<PlBeliefSet,PlFormula>SatSolver. getWitness(PlFormula formula)Interpretation<PlBeliefSet,PlFormula>SimpleDpllSolver. getWitness(java.util.Collection<PlFormula> formulas)java.util.Collection<java.util.Collection<PlFormula>>MarcoMusEnumerator. minimalInconsistentSubsets(java.util.Collection<PlFormula> formulas)java.util.Collection<java.util.Collection<PlFormula>>MimusMusEnumerator. minimalInconsistentSubsets(java.util.Collection<PlFormula> formulas)abstract java.util.Collection<java.util.Collection<PlFormula>>PlMusEnumerator. minimalInconsistentSubsets(java.util.Collection<PlFormula> formulas)Methods in net.sf.tweety.logics.pl.sat with parameters of type PlFormula Modifier and Type Method Description Interpretation<PlBeliefSet,PlFormula>SatSolver. getWitness(PlFormula formula)booleanSatSolver. isConsistent(PlFormula formula)Method parameters in net.sf.tweety.logics.pl.sat with type arguments of type PlFormula Modifier and Type Method Description static Pair<java.lang.String,java.util.List<PlFormula>>SatSolver. convertToDimacs(java.util.Collection<PlFormula> formulas)Converts the given set of formulas to their string representation in Dimacs CNF.protected static java.lang.StringSatSolver. convertToDimacs(java.util.Collection<PlFormula> formulas, java.util.List<Proposition> props)Converts the given set of formulas to their string representation in Dimacs CNF.protected static java.lang.StringMaxSatSolver. convertToDimacsWcnf(java.util.Collection<PlFormula> hardConstraints, java.util.Map<PlFormula,java.lang.Integer> softConstraints, java.util.List<Proposition> props)Converts the given MaxSAT instance (i.e.protected static java.lang.StringMaxSatSolver. convertToDimacsWcnf(java.util.Collection<PlFormula> hardConstraints, java.util.Map<PlFormula,java.lang.Integer> softConstraints, java.util.List<Proposition> props)Converts the given MaxSAT instance (i.e.static intMaxSatSolver. costOf(Interpretation<PlBeliefSet,PlFormula> interpretation, java.util.Collection<PlFormula> hardConstraints, java.util.Map<PlFormula,java.lang.Integer> softConstraints)Returns the cost of the given interpretation, i.e.static intMaxSatSolver. costOf(Interpretation<PlBeliefSet,PlFormula> interpretation, java.util.Collection<PlFormula> hardConstraints, java.util.Map<PlFormula,java.lang.Integer> softConstraints)Returns the cost of the given interpretation, i.e.static intMaxSatSolver. costOf(Interpretation<PlBeliefSet,PlFormula> interpretation, java.util.Collection<PlFormula> hardConstraints, java.util.Map<PlFormula,java.lang.Integer> softConstraints)Returns the cost of the given interpretation, i.e.protected static Pair<java.io.File,java.util.List<PlFormula>>SatSolver. createTmpDimacsFile(java.util.Collection<PlFormula> formulas)Creates a temporary file in Dimacs format and also returns a mapping between formulas and clauses.protected static java.io.FileSatSolver. createTmpDimacsFile(java.util.Collection<PlFormula> formulas, java.util.List<Proposition> props)Creates a temporary file in Dimacs format with the given proposition2variable mapping.protected static java.io.FileMaxSatSolver. createTmpDimacsWcnfFile(java.util.Collection<PlFormula> hardConstraints, java.util.Map<PlFormula,java.lang.Integer> softConstraints, java.util.List<Proposition> props)Converts the given MaxSAT instance (i.e.protected static java.io.FileMaxSatSolver. createTmpDimacsWcnfFile(java.util.Collection<PlFormula> hardConstraints, java.util.Map<PlFormula,java.lang.Integer> softConstraints, java.util.List<Proposition> props)Converts the given MaxSAT instance (i.e.Interpretation<PlBeliefSet,PlFormula>LingelingSolver. getWitness(java.util.Collection<PlFormula> formulas)Interpretation<PlBeliefSet,PlFormula>MaxSatSolver. getWitness(java.util.Collection<PlFormula> formulas)abstract Interpretation<PlBeliefSet,PlFormula>MaxSatSolver. getWitness(java.util.Collection<PlFormula> hardConstraints, java.util.Map<PlFormula,java.lang.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(java.util.Collection<PlFormula> hardConstraints, java.util.Map<PlFormula,java.lang.Integer> softConstraints)Returns an interpretation with maximal weight on the soft constraints (or null if the hard constraints are not satisfiable)Interpretation<PlBeliefSet,PlFormula>OpenWboSolver. getWitness(java.util.Collection<PlFormula> hardConstraints, java.util.Map<PlFormula,java.lang.Integer> softConstraints)Interpretation<PlBeliefSet,PlFormula>OpenWboSolver. getWitness(java.util.Collection<PlFormula> hardConstraints, java.util.Map<PlFormula,java.lang.Integer> softConstraints)Interpretation<PlBeliefSet,PlFormula>Sat4jSolver. getWitness(java.util.Collection<PlFormula> formulas)abstract Interpretation<PlBeliefSet,PlFormula>SatSolver. getWitness(java.util.Collection<PlFormula> formulas)If the collection of formulas is consistent this method returns some model of it or, if it is inconsistent, null.Interpretation<PlBeliefSet,PlFormula>SatSolver. getWitness(BeliefSet<PlFormula,?> bs)Interpretation<PlBeliefSet,PlFormula>SimpleDpllSolver. getWitness(java.util.Collection<PlFormula> formulas)booleanSatSolver. isConsistent(java.util.Collection<PlFormula> formulas)booleanSatSolver. isConsistent(BeliefSet<PlFormula,?> beliefSet)booleanLingelingSolver. isSatisfiable(java.util.Collection<PlFormula> formulas)booleanMaxSatSolver. isSatisfiable(java.util.Collection<PlFormula> formulas)booleanSat4jSolver. isSatisfiable(java.util.Collection<PlFormula> formulas)abstract booleanSatSolver. isSatisfiable(java.util.Collection<PlFormula> formulas)Checks whether the given set of formulas is satisfiable.booleanSimpleDpllSolver. isSatisfiable(java.util.Collection<PlFormula> formulas)java.util.Collection<java.util.Collection<PlFormula>>MarcoMusEnumerator. minimalInconsistentSubsets(java.util.Collection<PlFormula> formulas)java.util.Collection<java.util.Collection<PlFormula>>MimusMusEnumerator. minimalInconsistentSubsets(java.util.Collection<PlFormula> formulas)abstract java.util.Collection<java.util.Collection<PlFormula>>PlMusEnumerator. minimalInconsistentSubsets(java.util.Collection<PlFormula> formulas)static voidPlMusEnumerator. setDefaultEnumerator(AbstractMusEnumerator<PlFormula> enumerator)Sets the default MUS enumerator. - 
Uses of PlFormula in net.sf.tweety.logics.pl.semantics
Methods in net.sf.tweety.logics.pl.semantics that return PlFormula Modifier and Type Method Description PlFormulaPossibleWorld. getCompleteConjunction(PlSignature sig)Returns the complete conjunction representing this possible world wrt.Methods in net.sf.tweety.logics.pl.semantics that return types with arguments of type PlFormula Modifier and Type Method Description InterpretationIterator<PlFormula,PlBeliefSet,PossibleWorld>PossibleWorldIterator. reset()InterpretationIterator<PlFormula,PlBeliefSet,PossibleWorld>PossibleWorldIterator. reset(java.util.Collection<? extends Formula> formulas)InterpretationIterator<PlFormula,PlBeliefSet,PossibleWorld>PossibleWorldIterator. reset(Signature sig)Methods in net.sf.tweety.logics.pl.semantics with parameters of type PlFormula Modifier and Type Method Description booleanFuzzyInterpretation. satisfies(PlFormula formula)booleanNicePossibleWorld. satisfies(PlFormula formula)booleanPossibleWorld. satisfies(PlFormula formula)booleanPriestWorld. satisfies(PlFormula formula)PriestWorld.TruthValuePriestWorld. satisfies3VL(PlFormula formula)Determines the 3-valued truth value of the given formula.Method parameters in net.sf.tweety.logics.pl.semantics with type arguments of type PlFormula Modifier and Type Method Description booleanPossibleWorld. satisfies(java.util.Collection<PlFormula> formulas) - 
Uses of PlFormula in net.sf.tweety.logics.pl.syntax
Subclasses of PlFormula in net.sf.tweety.logics.pl.syntax Modifier and Type Class Description classAssociativePlFormulaThis class captures the common functionalities of formulas with an associative operation like conjunction, disjunction, etc.classConjunctionThis class represents a conjunction in propositional logic.classContradictionA contradictory formula.classDisjunctionThis class represents a disjunction in propositional logic.classEquivalenceThis class models equivalence of propositional logic.classImplicationThis class models the implication of propositional logic.classNegationThis class models classical negation of propositional logic.classPropositionThis class represents a simple proposition in propositional logic.classSpecialFormulaThis class captures the common functionalities of the special formulas tautology and contradiction.classTautologyA tautological formula.Fields in net.sf.tweety.logics.pl.syntax declared as PlFormula Modifier and Type Field Description private PlFormulaNegation. formulaThe formula within this negation.Fields in net.sf.tweety.logics.pl.syntax with type parameters of type PlFormula Modifier and Type Field Description private Pair<PlFormula,PlFormula>Equivalence. formulasThe pair of formulas that are part of the equivalence.private Pair<PlFormula,PlFormula>Equivalence. formulasThe pair of formulas that are part of the equivalence.private Pair<PlFormula,PlFormula>Implication. formulasThe pair of formulas that are part of the implication.private Pair<PlFormula,PlFormula>Implication. formulasThe pair of formulas that are part of the implication.protected AssociativeFormulaSupport<PlFormula>AssociativePlFormula. supportThe inner formulas of this formulaMethods in net.sf.tweety.logics.pl.syntax that return PlFormula Modifier and Type Method Description PlFormulaDisjunction. clone()PlFormulaNegation. clone()abstract PlFormulaPlFormula. clone()PlFormulaConjunction. collapseAssociativeFormulas()PlFormulaDisjunction. collapseAssociativeFormulas()PlFormulaEquivalence. collapseAssociativeFormulas()PlFormulaImplication. collapseAssociativeFormulas()PlFormulaNegation. collapseAssociativeFormulas()abstract PlFormulaPlFormula. collapseAssociativeFormulas()This method collapses all associative operations appearing in this term, e.g.PlFormulaProposition. collapseAssociativeFormulas()PlFormulaSpecialFormula. collapseAssociativeFormulas()PlFormulaAssociativePlFormula. get(int index)PlFormulaNegation. getFormula()Returns the formula within this negation.PlFormulaAssociativePlFormula. remove(int index)PlFormulaConjunction. replace(Proposition p, PlFormula f, int i)PlFormulaDisjunction. replace(Proposition p, PlFormula f, int i)PlFormulaEquivalence. replace(Proposition p, PlFormula f, int i)PlFormulaImplication. replace(Proposition p, PlFormula f, int i)PlFormulaNegation. 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.PlFormulaProposition. replace(Proposition p, PlFormula f, int i)PlFormulaSpecialFormula. replace(Proposition p, PlFormula f, int i)PlFormulaAssociativePlFormula. set(int index, PlFormula element)PlFormulaPlFormula. toBlakeCanonicalForm()This method returns this formula in Blake canonical form.PlFormulaPlFormula. toDnf()This method returns this formula in disjunctive normal form (DNF).PlFormulaConjunction. toNnf()PlFormulaDisjunction. toNnf()PlFormulaEquivalence. toNnf()PlFormulaImplication. toNnf()PlFormulaNegation. toNnf()abstract PlFormulaPlFormula. toNnf()This method returns this formula in negation normal form (NNF).PlFormulaProposition. toNnf()PlFormulaSpecialFormula. toNnf()PlFormulaConjunction. trim()PlFormulaDisjunction. trim()PlFormulaEquivalence. trim()PlFormulaImplication. trim()PlFormulaNegation. trim()abstract PlFormulaPlFormula. trim()Removes duplicates (identical formulas) from conjunctions and disjunctions and removes duplicate negations.PlFormulaProposition. trim()PlFormulaSpecialFormula. trim()Methods in net.sf.tweety.logics.pl.syntax that return types with arguments of type PlFormula Modifier and Type Method Description java.util.List<PlFormula>PlBeliefSet. getCanonicalOrdering()Force ordering on belief set based on comparison of hash codes.java.util.List<PlFormula>AssociativePlFormula. getFormulas()Pair<PlFormula,PlFormula>Equivalence. getFormulas()Returns the formulas of the equivalence.Pair<PlFormula,PlFormula>Equivalence. getFormulas()Returns the formulas of the equivalence.Pair<PlFormula,PlFormula>Implication. getFormulas()Returns the formulas of the implication.Pair<PlFormula,PlFormula>Implication. getFormulas()Returns the formulas of the implication.java.util.Set<PlFormula>AssociativePlFormula. getLiterals()java.util.Set<PlFormula>Equivalence. getLiterals()java.util.Set<PlFormula>Implication. getLiterals()java.util.Set<PlFormula>Negation. getLiterals()abstract java.util.Set<PlFormula>PlFormula. getLiterals()Returns all literals, i.e.java.util.Set<PlFormula>Proposition. getLiterals()java.util.Set<PlFormula>SpecialFormula. getLiterals()java.util.Collection<PlFormula>PlFormula. getPrimeImplicants()Returns the set of prime implicants of this formula.java.util.Iterator<PlFormula>AssociativePlFormula. iterator()java.util.ListIterator<PlFormula>AssociativePlFormula. listIterator()java.util.ListIterator<PlFormula>AssociativePlFormula. listIterator(int index)java.util.List<PlFormula>AssociativePlFormula. subList(int fromIndex, int toIndex)Methods in net.sf.tweety.logics.pl.syntax with parameters of type PlFormula Modifier and Type Method Description voidAssociativePlFormula. add(int index, PlFormula element)booleanAssociativePlFormula. add(PlFormula f)intPlBeliefSet.PlFormulaHashCodeComparator. compare(PlFormula p1, PlFormula p2)booleanNegation. hasLowerBindingPriority(PlFormula other)PlFormulaConjunction. replace(Proposition p, PlFormula f, int i)PlFormulaDisjunction. replace(Proposition p, PlFormula f, int i)PlFormulaEquivalence. replace(Proposition p, PlFormula f, int i)PlFormulaImplication. replace(Proposition p, PlFormula f, int i)PlFormulaNegation. 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.PlFormulaProposition. replace(Proposition p, PlFormula f, int i)PlFormulaSpecialFormula. 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 formulas (which is also a conjunction of literals, i.e.ConjunctionPlFormula. resolveWith(PlFormula other)Resolves this formula with the given one (both have to be conjunctive clauses) and returns some resolvent.PlFormulaAssociativePlFormula. set(int index, PlFormula element)voidImplication. setFirstFormula(PlFormula left)Sets the left side formula of the implication left => right.voidImplication. setSecondFormula(PlFormula right)Sets the right side formula of the implication left => rightMethod parameters in net.sf.tweety.logics.pl.syntax with type arguments of type PlFormula Modifier and Type Method Description booleanAssociativePlFormula. addAll(int index, java.util.Collection<? extends PlFormula> c)booleanAssociativePlFormula. addAll(java.util.Collection<? extends PlFormula> c)static PlSignaturePlSignature. getSignature(java.util.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 net.sf.tweety.logics.pl.syntax with parameters of type PlFormula Constructor Description AssociativePlFormula(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 first, PlFormula second)Creates a new disjunction with the two given formulaeEquivalence(PlFormula a, PlFormula b)Creates a new equivalence with the given two formulasImplication(PlFormula a, PlFormula b)Creates a new implication a=>b with the two given formulasNegation(PlFormula formula)Creates a new negation with the given formula.Constructor parameters in net.sf.tweety.logics.pl.syntax with type arguments of type PlFormula Constructor Description AssociativePlFormula(java.util.Collection<? extends PlFormula> formulas)Creates a new associative formula with the given inner formulas.Conjunction(java.util.Collection<? extends PlFormula> formulas)Creates a new conjunction with the given inner formulas.Disjunction(java.util.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 formulasImplication(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(java.util.Collection<? extends PlFormula> formulas)Creates a new knowledge base with the given set of formulas. - 
Uses of PlFormula in net.sf.tweety.logics.pl.test
Fields in net.sf.tweety.logics.pl.test with type parameters of type PlFormula Modifier and Type Field Description private CspInconsistencyMeasure<PlFormula>CspInconsistencyMeasureTest. m - 
Uses of PlFormula in net.sf.tweety.logics.pl.util
Methods in net.sf.tweety.logics.pl.util that return PlFormula Modifier and Type Method Description private PlFormulaRandomSampler. randomFormula()Returns a random formula.PlFormulaCnfSampler. sampleFormula()Returns a random formulaPlFormulaSyntacticRandomSampler. sampleFormula(ProbabilityFunction<java.lang.Byte> prob)Samples a single formula.Methods in net.sf.tweety.logics.pl.util that return types with arguments of type PlFormula Modifier and Type Method Description private java.util.List<PlFormula>HsSampler. getCanonicalFormulas(int num, PlSignature sig)For a signature {a1,...,an} creates num different canonical and mutually exclusive formulas of the form a1a2a3, a1a2-a3, a1-a2a3, etc.private Pair<java.util.Collection<PlFormula>,java.lang.Integer>CanonicalIterator. parseAssociativeFormula(java.util.BitSet s, int idx, int numOfTerms, PlSignature sig)Parses an associate formula from the given bitset starting at index idx, with the given number of terms and the given signatureprivate Pair<PlFormula,java.lang.Integer>CanonicalIterator. parseFormula(java.util.BitSet s, int idx, PlSignature sig)Reads the next formula of the given bitset, starting at the given index.private Pair<PlFormula,java.lang.Integer>CanonicalIterator. parseProposition(java.util.BitSet s, int idx, PlSignature sig)Parses a proposition in bitset s starting from idx.Methods in net.sf.tweety.logics.pl.util with parameters of type PlFormula Modifier and Type Method Description private static java.lang.StringCanonicalIterator. formula2String(PlFormula f, java.util.Map<Proposition,java.lang.Integer> prop)Encodes the given formula as a bitstring. - 
Uses of PlFormula in net.sf.tweety.logics.pl.writer
Constructors in net.sf.tweety.logics.pl.writer with parameters of type PlFormula Constructor Description PlWriter(PlFormula plFormula) - 
Uses of PlFormula in net.sf.tweety.logics.qbf.parser
Fields in net.sf.tweety.logics.qbf.parser with type parameters of type PlFormula Modifier and Type Field Description private java.util.Map<java.lang.String,PlFormula>QCirParser. gate_variablesKeeps track of the formulas that are assigned to specific gate variables.Methods in net.sf.tweety.logics.qbf.parser that return PlFormula Modifier and Type Method Description PlFormulaQCirParser. getOutputVariable()private PlFormulaQCirParser. parseAssociativeFormula(java.lang.String prefix, java.lang.String innerFormula)Parses an associative formula, i.e.private PlFormulaQbfParser. parseEquivalence(java.util.List<java.lang.Object> l)PlFormulaQbfParser. parseFormula(java.io.Reader reader)PlFormulaQCirParser. parseFormula(java.io.Reader reader)private PlFormulaQCirParser. parseGateFormula(java.lang.String formula)This method parses a gate formula, meaning a conjunction, disjunction, quantification, xor-construct or if-then-else-construct.private PlFormulaQCirParser. parseIfThenElse(java.lang.String innerFormula)Parses an if-then-else construct.private PlFormulaQbfParser. parseImplication(java.util.List<java.lang.Object> l)private PlFormulaQCirParser. parseLiteral(java.lang.String literal, boolean parseGateVariables)Parses variables and their negations.private PlFormulaQbfParser. parseQuantification(java.util.List<java.lang.Object> l)Parses a quantificationprivate PlFormulaQCirParser. parseQuantification(java.lang.String prefix, java.lang.String innerFormula)Parses a quantified formula.private PlFormulaQCirParser. parseXor(java.lang.String innerFormula)Parses an xor construct. - 
Uses of PlFormula in net.sf.tweety.logics.qbf.reasoner
Methods in net.sf.tweety.logics.qbf.reasoner with parameters of type PlFormula Modifier and Type Method Description booleanQbfSolver. isConsistent(PlFormula formula)java.lang.BooleanNaiveQbfReasoner. query(PlBeliefSet beliefbase, PlFormula formula)Method parameters in net.sf.tweety.logics.qbf.reasoner with type arguments of type PlFormula Modifier and Type Method Description booleanQbfSolver. isConsistent(java.util.Collection<PlFormula> formulas)booleanQbfSolver. isConsistent(BeliefSet<PlFormula,?> beliefSet)booleanCadetSolver. isSatisfiable(java.util.Collection<PlFormula> kb)booleanCaqeSolver. isSatisfiable(java.util.Collection<PlFormula> kb)booleanGhostQSolver. isSatisfiable(java.util.Collection<PlFormula> kb)abstract booleanQbfSolver. isSatisfiable(java.util.Collection<PlFormula> formulas)Checks whether the given set of formulas is satisfiable.booleanQuteSolver. isSatisfiable(java.util.Collection<PlFormula> kb) - 
Uses of PlFormula in net.sf.tweety.logics.qbf.semantics
Methods in net.sf.tweety.logics.qbf.semantics that return types with arguments of type PlFormula Modifier and Type Method Description java.util.Set<PlFormula>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.Methods in net.sf.tweety.logics.qbf.semantics with parameters of type PlFormula Modifier and Type Method Description booleanQbPossibleWorld. satisfies(PlFormula formula)Checks whether this interpretation satisfies the given formula.java.util.Set<PlFormula>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 net.sf.tweety.logics.qbf.semantics with type arguments of type PlFormula Modifier and Type Method Description booleanQbPossibleWorld. satisfies(java.util.Collection<PlFormula> formulas)Checks whether this interpretation satisfies the given formula. - 
Uses of PlFormula in net.sf.tweety.logics.qbf.syntax
Subclasses of PlFormula in net.sf.tweety.logics.qbf.syntax Modifier and Type Class Description classExistsQuantifiedFormulaThis class represents existential quantification for boolean formulas.classForallQuantifiedFormulaThis class represents universal quantification for boolean formulas.Fields in net.sf.tweety.logics.qbf.syntax declared as PlFormula Modifier and Type Field Description private PlFormulaExistsQuantifiedFormula. innerFormulaThe quantified formula.private PlFormulaForallQuantifiedFormula. innerFormulaThe quantified formula.Methods in net.sf.tweety.logics.qbf.syntax that return PlFormula Modifier and Type Method Description PlFormulaExistsQuantifiedFormula. clone()PlFormulaForallQuantifiedFormula. clone()PlFormulaExistsQuantifiedFormula. collapseAssociativeFormulas()PlFormulaForallQuantifiedFormula. collapseAssociativeFormulas()PlFormulaExistsQuantifiedFormula. getFormula()PlFormulaForallQuantifiedFormula. getFormula()PlFormulaExistsQuantifiedFormula. replace(Proposition p, PlFormula f, int i)PlFormulaForallQuantifiedFormula. replace(Proposition p, PlFormula f, int i)PlFormulaExistsQuantifiedFormula. toNnf()PlFormulaForallQuantifiedFormula. toNnf()PlFormulaExistsQuantifiedFormula. trim()PlFormulaForallQuantifiedFormula. trim()Methods in net.sf.tweety.logics.qbf.syntax that return types with arguments of type PlFormula Modifier and Type Method Description java.util.Set<PlFormula>ExistsQuantifiedFormula. getLiterals()java.util.Set<PlFormula>ForallQuantifiedFormula. getLiterals()Methods in net.sf.tweety.logics.qbf.syntax with parameters of type PlFormula Modifier and Type Method Description PlFormulaExistsQuantifiedFormula. replace(Proposition p, PlFormula f, int i)PlFormulaForallQuantifiedFormula. replace(Proposition p, PlFormula f, int i)Constructors in net.sf.tweety.logics.qbf.syntax with parameters of type PlFormula Constructor Description ExistsQuantifiedFormula(PlFormula f, java.util.Set<Proposition> variables)Create a new existential boolean quantification.ExistsQuantifiedFormula(PlFormula f, Proposition variable)Create a new existential boolean quantification.ForallQuantifiedFormula(PlFormula f, java.util.Set<Proposition> variables)Create a new universal boolean quantification.ForallQuantifiedFormula(PlFormula f, Proposition variable)Create a new universal boolean quantification. - 
Uses of PlFormula in net.sf.tweety.logics.translators.folprop
Methods in net.sf.tweety.logics.translators.folprop that return PlFormula Modifier and Type Method Description PlFormulaFOLPropTranslator. toPropositional(FolFormula folFormula)Methods in net.sf.tweety.logics.translators.folprop with parameters of type PlFormula Modifier and Type Method Description FolFormulaFOLPropTranslator. toFOL(PlFormula propFormula) - 
Uses of PlFormula in net.sf.tweety.web.services
Fields in net.sf.tweety.web.services with type parameters of type PlFormula Modifier and Type Field Description (package private) BeliefSet<PlFormula,PlSignature>InconsistencyMeasurementService.MeasurementCallee. beliefSet(package private) InconsistencyMeasure<BeliefSet<PlFormula,?>>InconsistencyMeasurementService.MeasurementCallee. measurestatic AbstractMusEnumerator<PlFormula>InconsistencyMeasurementService. musEnumeratorThe MUS enumerator configured for this service.Constructor parameters in net.sf.tweety.web.services with type arguments of type PlFormula Constructor Description MeasurementCallee(InconsistencyMeasure<BeliefSet<PlFormula,?>> measure, BeliefSet<PlFormula,PlSignature> beliefSet)MeasurementCallee(InconsistencyMeasure<BeliefSet<PlFormula,?>> measure, BeliefSet<PlFormula,PlSignature> beliefSet) 
 -