Uses of Class
net.sf.tweety.logics.pl.syntax.PlFormula
-
-
-
Uses of PlFormula in net.sf.tweety.logics.pl.analysis
Methods in net.sf.tweety.logics.pl.analysis that return PlFormula Modifier and Type Method Description PlFormulaSimplePlInterpolantEnumerator. getStrongestInterpolant(Collection<PlFormula> k1, Collection<PlFormula> k2)PlFormulaSimplePlInterpolantEnumerator. getWeakestInterpolant(Collection<PlFormula> k1, Collection<PlFormula> k2)Methods in net.sf.tweety.logics.pl.analysis that return types with arguments of type PlFormula Modifier and Type Method Description static net.sf.tweety.logics.commons.analysis.InconsistencyMeasure<net.sf.tweety.commons.BeliefSet<PlFormula,?>>InconsistencyMeasureFactory. getInconsistencyMeasure(InconsistencyMeasureFactory.Measure im)Creates a new inconsistency measure of the given type with default settings.Collection<PlFormula>SimplePlInterpolantEnumerator. getInterpolants(Collection<PlFormula> k1, Collection<PlFormula> k2)Collection<Set<PlFormula>>IcebergInconsistencyMeasure. getStarConflicts(Collection<PlFormula> beliefSet)Computes all *-conflicts of a given belief base.Methods in net.sf.tweety.logics.pl.analysis with parameters of type PlFormula Modifier and Type Method Description doublePossibleWorldDistance. distance(PlFormula f, PossibleWorld b)booleanSimplePlInterpolantEnumerator. isInterpolant(PlFormula candidate, Collection<PlFormula> k1, Collection<PlFormula> k2)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 Collection<PlFormula>SimplePlInterpolantEnumerator. getInterpolants(Collection<PlFormula> k1, Collection<PlFormula> k2)FuzzyInterpretationFuzzyInconsistencyMeasure. getOptimalInterpretation(Collection<PlFormula> formulas)Returns an optimal interpretation as a witness for the inconsistency value.Collection<Set<PlFormula>>IcebergInconsistencyMeasure. getStarConflicts(Collection<PlFormula> beliefSet)Computes all *-conflicts of a given belief base.PlFormulaSimplePlInterpolantEnumerator. getStrongestInterpolant(Collection<PlFormula> k1, Collection<PlFormula> k2)PlFormulaSimplePlInterpolantEnumerator. getWeakestInterpolant(Collection<PlFormula> k1, Collection<PlFormula> k2)DoubleContensionInconsistencyMeasure. inconsistencyMeasure(Collection<PlFormula> formulas)DoubleFbInconsistencyMeasure. inconsistencyMeasure(Collection<PlFormula> formulas)DoubleFuzzyInconsistencyMeasure. inconsistencyMeasure(Collection<PlFormula> formulas)DoubleIcebergInconsistencyMeasure. inconsistencyMeasure(Collection<PlFormula> formulas)DoubleMusVarInconsistencyMeasure. inconsistencyMeasure(Collection<PlFormula> formulas)DoublePmInconsistencyMeasure. inconsistencyMeasure(Collection<PlFormula> formulas)booleanSimplePlInterpolantEnumerator. isInterpolant(PlFormula candidate, Collection<PlFormula> k1, Collection<PlFormula> k2) -
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 protected PlFormulaPlParser. parseDisjunction(List<Object> l)Parses a simple formula as a list of String tokens or formulas into a propositional formula.protected PlFormulaPlParser. parseExclusiveDisjunction(List<Object> l)Parses a simple formula as a list of String tokens or formulas into a propositional formula.PlFormulaPlParser. parseFormula(Reader reader)Methods in net.sf.tweety.logics.pl.parser that return types with arguments of type PlFormula Modifier and Type Method Description static net.sf.tweety.commons.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(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, net.sf.tweety.logics.commons.analysis.BeliefSetInconsistencyMeasure<PlFormula> ev)booleanImAdjunctionInvariance. isSatisfied(Collection<PlFormula> kb, net.sf.tweety.logics.commons.analysis.BeliefSetInconsistencyMeasure<PlFormula> ev)booleanImAttenuation. isSatisfied(Collection<PlFormula> kb, net.sf.tweety.logics.commons.analysis.BeliefSetInconsistencyMeasure<PlFormula> ev)booleanImAttenuation. isSatisfied(Collection<PlFormula> kb, net.sf.tweety.logics.commons.analysis.BeliefSetInconsistencyMeasure<PlFormula> ev)booleanImConsistency. isSatisfied(Collection<PlFormula> kb, net.sf.tweety.logics.commons.analysis.BeliefSetInconsistencyMeasure<PlFormula> ev)booleanImConsistency. isSatisfied(Collection<PlFormula> kb, net.sf.tweety.logics.commons.analysis.BeliefSetInconsistencyMeasure<PlFormula> ev)booleanImContradiction. isSatisfied(Collection<PlFormula> kb, net.sf.tweety.logics.commons.analysis.BeliefSetInconsistencyMeasure<PlFormula> ev)booleanImContradiction. isSatisfied(Collection<PlFormula> kb, net.sf.tweety.logics.commons.analysis.BeliefSetInconsistencyMeasure<PlFormula> ev)booleanImDominance. isSatisfied(Collection<PlFormula> kb, net.sf.tweety.logics.commons.analysis.BeliefSetInconsistencyMeasure<PlFormula> ev)booleanImDominance. isSatisfied(Collection<PlFormula> kb, net.sf.tweety.logics.commons.analysis.BeliefSetInconsistencyMeasure<PlFormula> ev)booleanImEqualConflict. isSatisfied(Collection<PlFormula> kb, net.sf.tweety.logics.commons.analysis.BeliefSetInconsistencyMeasure<PlFormula> ev)booleanImEqualConflict. isSatisfied(Collection<PlFormula> kb, net.sf.tweety.logics.commons.analysis.BeliefSetInconsistencyMeasure<PlFormula> ev)booleanImExchange. isSatisfied(Collection<PlFormula> kb, net.sf.tweety.logics.commons.analysis.BeliefSetInconsistencyMeasure<PlFormula> ev)booleanImExchange. isSatisfied(Collection<PlFormula> kb, net.sf.tweety.logics.commons.analysis.BeliefSetInconsistencyMeasure<PlFormula> ev)booleanImFreeFormulaDilution. isSatisfied(Collection<PlFormula> kb, net.sf.tweety.logics.commons.analysis.BeliefSetInconsistencyMeasure<PlFormula> ev)booleanImFreeFormulaDilution. isSatisfied(Collection<PlFormula> kb, net.sf.tweety.logics.commons.analysis.BeliefSetInconsistencyMeasure<PlFormula> ev)booleanImFreeFormulaIndependence. isSatisfied(Collection<PlFormula> kb, net.sf.tweety.logics.commons.analysis.BeliefSetInconsistencyMeasure<PlFormula> ev)booleanImFreeFormulaIndependence. isSatisfied(Collection<PlFormula> kb, net.sf.tweety.logics.commons.analysis.BeliefSetInconsistencyMeasure<PlFormula> ev)booleanImIrrelevanceOfSyntax. isSatisfied(Collection<PlFormula> kb, net.sf.tweety.logics.commons.analysis.BeliefSetInconsistencyMeasure<PlFormula> ev)booleanImIrrelevanceOfSyntax. isSatisfied(Collection<PlFormula> kb, net.sf.tweety.logics.commons.analysis.BeliefSetInconsistencyMeasure<PlFormula> ev)booleanImMINormalization. isSatisfied(Collection<PlFormula> kb, net.sf.tweety.logics.commons.analysis.BeliefSetInconsistencyMeasure<PlFormula> ev)booleanImMINormalization. isSatisfied(Collection<PlFormula> kb, net.sf.tweety.logics.commons.analysis.BeliefSetInconsistencyMeasure<PlFormula> ev)booleanImMISeparability. isSatisfied(Collection<PlFormula> kb, net.sf.tweety.logics.commons.analysis.BeliefSetInconsistencyMeasure<PlFormula> ev)booleanImMISeparability. isSatisfied(Collection<PlFormula> kb, net.sf.tweety.logics.commons.analysis.BeliefSetInconsistencyMeasure<PlFormula> ev)booleanImMonotony. isSatisfied(Collection<PlFormula> kb, net.sf.tweety.logics.commons.analysis.BeliefSetInconsistencyMeasure<PlFormula> ev)booleanImMonotony. isSatisfied(Collection<PlFormula> kb, net.sf.tweety.logics.commons.analysis.BeliefSetInconsistencyMeasure<PlFormula> ev)booleanImNormalization. isSatisfied(Collection<PlFormula> kb, net.sf.tweety.logics.commons.analysis.BeliefSetInconsistencyMeasure<PlFormula> ev)booleanImNormalization. isSatisfied(Collection<PlFormula> kb, net.sf.tweety.logics.commons.analysis.BeliefSetInconsistencyMeasure<PlFormula> ev)booleanImPenalty. isSatisfied(Collection<PlFormula> kb, net.sf.tweety.logics.commons.analysis.BeliefSetInconsistencyMeasure<PlFormula> ev)booleanImPenalty. isSatisfied(Collection<PlFormula> kb, net.sf.tweety.logics.commons.analysis.BeliefSetInconsistencyMeasure<PlFormula> ev)booleanImPostulate. isSatisfied(Collection<PlFormula> kb, net.sf.tweety.commons.postulates.PostulateEvaluatable<PlFormula> ev)booleanImPostulate. isSatisfied(Collection<PlFormula> kb, net.sf.tweety.commons.postulates.PostulateEvaluatable<PlFormula> ev)abstract booleanImPostulate. isSatisfied(Collection<PlFormula> kb, net.sf.tweety.logics.commons.analysis.BeliefSetInconsistencyMeasure<PlFormula> ev)abstract booleanImPostulate. isSatisfied(Collection<PlFormula> kb, net.sf.tweety.logics.commons.analysis.BeliefSetInconsistencyMeasure<PlFormula> ev)booleanImSafeFormulaIndependence. isSatisfied(Collection<PlFormula> kb, net.sf.tweety.logics.commons.analysis.BeliefSetInconsistencyMeasure<PlFormula> ev)booleanImSafeFormulaIndependence. isSatisfied(Collection<PlFormula> kb, net.sf.tweety.logics.commons.analysis.BeliefSetInconsistencyMeasure<PlFormula> ev)booleanImSuperAdditivity. isSatisfied(Collection<PlFormula> kb, net.sf.tweety.logics.commons.analysis.BeliefSetInconsistencyMeasure<PlFormula> ev)booleanImSuperAdditivity. isSatisfied(Collection<PlFormula> kb, net.sf.tweety.logics.commons.analysis.BeliefSetInconsistencyMeasure<PlFormula> ev)booleanImWeakDominance. isSatisfied(Collection<PlFormula> kb, net.sf.tweety.logics.commons.analysis.BeliefSetInconsistencyMeasure<PlFormula> ev)booleanImWeakDominance. isSatisfied(Collection<PlFormula> kb, net.sf.tweety.logics.commons.analysis.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 Collection<Collection<PlFormula>>AbstractPlReasoner. getKernels(Collection<PlFormula> formulas, PlFormula formula)Methods in net.sf.tweety.logics.pl.reasoner with parameters of type PlFormula Modifier and Type Method Description Collection<Collection<PlFormula>>AbstractPlReasoner. 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)booleanAbstractPlReasoner. query(PlFormula formula, PlFormula formula2)Checks whether the first formula entails the second.BooleanSatReasoner. query(PlBeliefSet beliefbase, PlFormula formula)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 Collection<Collection<PlFormula>>AbstractPlReasoner. getKernels(Collection<PlFormula> formulas, PlFormula formula) -
Uses of PlFormula in net.sf.tweety.logics.pl.sat
Methods in net.sf.tweety.logics.pl.sat that return types with arguments of type PlFormula Modifier and Type Method Description static net.sf.tweety.commons.util.Pair<String,List<PlFormula>>SatSolver. convertToDimacs(Collection<PlFormula> formulas)Converts the given set of formulas to their string representation in Dimacs CNF.protected static net.sf.tweety.commons.util.Pair<File,List<PlFormula>>SatSolver. createTmpDimacsFile(Collection<PlFormula> formulas)Creates a temporary file in Dimacs format and also returns a mapping between formulas and clauses.static net.sf.tweety.logics.commons.analysis.AbstractMusEnumerator<PlFormula>PlMusEnumerator. getDefaultEnumerator()Returns the default MUS enumerator.
If a default MUS enumerator has been configured this enumerator is returned by this method.net.sf.tweety.commons.Interpretation<PlBeliefSet,PlFormula>LingelingSolver. getWitness(Collection<PlFormula> formulas)net.sf.tweety.commons.Interpretation<PlBeliefSet,PlFormula>MaxSatSolver. getWitness(Collection<PlFormula> formulas)abstract net.sf.tweety.commons.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)net.sf.tweety.commons.Interpretation<PlBeliefSet,PlFormula>OpenWboSolver. getWitness(Collection<PlFormula> hardConstraints, Map<PlFormula,Integer> softConstraints)net.sf.tweety.commons.Interpretation<PlBeliefSet,PlFormula>Sat4jSolver. getWitness(Collection<PlFormula> formulas)abstract net.sf.tweety.commons.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.net.sf.tweety.commons.Interpretation<PlBeliefSet,PlFormula>SatSolver. getWitness(net.sf.tweety.commons.BeliefSet<PlFormula,?> bs)net.sf.tweety.commons.Interpretation<PlBeliefSet,PlFormula>SatSolver. getWitness(PlFormula formula)net.sf.tweety.commons.Interpretation<PlBeliefSet,PlFormula>SimpleDpllSolver. getWitness(Collection<PlFormula> formulas)Collection<Collection<PlFormula>>MarcoMusEnumerator. minimalInconsistentSubsets(Collection<PlFormula> formulas)Collection<Collection<PlFormula>>MimusMusEnumerator. minimalInconsistentSubsets(Collection<PlFormula> formulas)abstract Collection<Collection<PlFormula>>PlMusEnumerator. minimalInconsistentSubsets(Collection<PlFormula> formulas)Methods in net.sf.tweety.logics.pl.sat with parameters of type PlFormula Modifier and Type Method Description net.sf.tweety.commons.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 net.sf.tweety.commons.util.Pair<String,List<PlFormula>>SatSolver. convertToDimacs(Collection<PlFormula> formulas)Converts the given set of formulas to their string representation in Dimacs CNF.static StringSatSolver. convertToDimacs(Collection<PlFormula> formulas, List<Proposition> props)Converts the given set of formulas to their string representation in Dimacs CNF.protected static StringMaxSatSolver. convertToDimacsWcnf(Collection<PlFormula> hardConstraints, Map<PlFormula,Integer> softConstraints, List<Proposition> props)Converts the given MaxSAT instance (i.e.protected static StringMaxSatSolver. convertToDimacsWcnf(Collection<PlFormula> hardConstraints, Map<PlFormula,Integer> softConstraints, List<Proposition> props)Converts the given MaxSAT instance (i.e.static intMaxSatSolver. costOf(net.sf.tweety.commons.Interpretation<PlBeliefSet,PlFormula> interpretation, Collection<PlFormula> hardConstraints, Map<PlFormula,Integer> softConstraints)Returns the cost of the given interpretation, i.e.static intMaxSatSolver. costOf(net.sf.tweety.commons.Interpretation<PlBeliefSet,PlFormula> interpretation, Collection<PlFormula> hardConstraints, Map<PlFormula,Integer> softConstraints)Returns the cost of the given interpretation, i.e.static intMaxSatSolver. costOf(net.sf.tweety.commons.Interpretation<PlBeliefSet,PlFormula> interpretation, Collection<PlFormula> hardConstraints, Map<PlFormula,Integer> softConstraints)Returns the cost of the given interpretation, i.e.protected static net.sf.tweety.commons.util.Pair<File,List<PlFormula>>SatSolver. createTmpDimacsFile(Collection<PlFormula> formulas)Creates a temporary file in Dimacs format and also returns a mapping between formulas and clauses.protected static FileSatSolver. createTmpDimacsFile(Collection<PlFormula> formulas, List<Proposition> props)Creates a temporary file in Dimacs format with the given proposition2variable mapping.protected static FileMaxSatSolver. createTmpDimacsWcnfFile(Collection<PlFormula> hardConstraints, Map<PlFormula,Integer> softConstraints, List<Proposition> props)Converts the given MaxSAT instance (i.e.protected static FileMaxSatSolver. createTmpDimacsWcnfFile(Collection<PlFormula> hardConstraints, Map<PlFormula,Integer> softConstraints, List<Proposition> props)Converts the given MaxSAT instance (i.e.net.sf.tweety.commons.Interpretation<PlBeliefSet,PlFormula>LingelingSolver. getWitness(Collection<PlFormula> formulas)net.sf.tweety.commons.Interpretation<PlBeliefSet,PlFormula>MaxSatSolver. getWitness(Collection<PlFormula> formulas)abstract net.sf.tweety.commons.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 net.sf.tweety.commons.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)net.sf.tweety.commons.Interpretation<PlBeliefSet,PlFormula>OpenWboSolver. getWitness(Collection<PlFormula> hardConstraints, Map<PlFormula,Integer> softConstraints)net.sf.tweety.commons.Interpretation<PlBeliefSet,PlFormula>OpenWboSolver. getWitness(Collection<PlFormula> hardConstraints, Map<PlFormula,Integer> softConstraints)net.sf.tweety.commons.Interpretation<PlBeliefSet,PlFormula>Sat4jSolver. getWitness(Collection<PlFormula> formulas)abstract net.sf.tweety.commons.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.net.sf.tweety.commons.Interpretation<PlBeliefSet,PlFormula>SatSolver. getWitness(net.sf.tweety.commons.BeliefSet<PlFormula,?> bs)net.sf.tweety.commons.Interpretation<PlBeliefSet,PlFormula>SimpleDpllSolver. getWitness(Collection<PlFormula> formulas)booleanSatSolver. isConsistent(Collection<PlFormula> formulas)booleanSatSolver. isConsistent(net.sf.tweety.commons.BeliefSet<PlFormula,?> beliefSet)booleanLingelingSolver. isSatisfiable(Collection<PlFormula> formulas)booleanMaxSatSolver. isSatisfiable(Collection<PlFormula> formulas)booleanSat4jSolver. isSatisfiable(Collection<PlFormula> formulas)abstract booleanSatSolver. isSatisfiable(Collection<PlFormula> formulas)Checks whether the given set of formulas is satisfiable.booleanSimpleDpllSolver. isSatisfiable(Collection<PlFormula> formulas)Collection<Collection<PlFormula>>MarcoMusEnumerator. minimalInconsistentSubsets(Collection<PlFormula> formulas)Collection<Collection<PlFormula>>MimusMusEnumerator. minimalInconsistentSubsets(Collection<PlFormula> formulas)abstract Collection<Collection<PlFormula>>PlMusEnumerator. minimalInconsistentSubsets(Collection<PlFormula> formulas)static voidPlMusEnumerator. setDefaultEnumerator(net.sf.tweety.logics.commons.analysis.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 net.sf.tweety.commons.InterpretationIterator<PlFormula,PlBeliefSet,PossibleWorld>PossibleWorldIterator. reset()net.sf.tweety.commons.InterpretationIterator<PlFormula,PlBeliefSet,PossibleWorld>PossibleWorldIterator. reset(Collection<? extends net.sf.tweety.commons.Formula> formulas)net.sf.tweety.commons.InterpretationIterator<PlFormula,PlBeliefSet,PossibleWorld>PossibleWorldIterator. reset(net.sf.tweety.commons.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(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.classExclusiveDisjunctionThis class represents an exclusive disjunction (XOR) in 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 with type parameters of type PlFormula Modifier and Type Field Description protected net.sf.tweety.logics.commons.syntax.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()PlFormulaExclusiveDisjunction. clone()PlFormulaNegation. clone()abstract PlFormulaPlFormula. clone()PlFormulaConjunction. collapseAssociativeFormulas()PlFormulaDisjunction. collapseAssociativeFormulas()PlFormulaEquivalence. collapseAssociativeFormulas()PlFormulaExclusiveDisjunction. 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)PlFormulaExclusiveDisjunction. 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()PlFormulaExclusiveDisjunction. 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()PlFormulaExclusiveDisjunction. 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 List<PlFormula>PlBeliefSet. getCanonicalOrdering()Force ordering on belief set based on comparison of hash codes.List<PlFormula>AssociativePlFormula. getFormulas()net.sf.tweety.commons.util.Pair<PlFormula,PlFormula>Equivalence. getFormulas()Returns the formulas of the equivalence.net.sf.tweety.commons.util.Pair<PlFormula,PlFormula>Equivalence. getFormulas()Returns the formulas of the equivalence.net.sf.tweety.commons.util.Pair<PlFormula,PlFormula>Implication. getFormulas()Returns the formulas of the implication.net.sf.tweety.commons.util.Pair<PlFormula,PlFormula>Implication. getFormulas()Returns the formulas of the implication.Set<PlFormula>AssociativePlFormula. getLiterals()Set<PlFormula>Equivalence. getLiterals()Set<PlFormula>Implication. getLiterals()Set<PlFormula>Negation. getLiterals()abstract Set<PlFormula>PlFormula. getLiterals()Returns all literals, i.e.Set<PlFormula>Proposition. getLiterals()Set<PlFormula>SpecialFormula. getLiterals()Collection<PlFormula>PlFormula. getPrimeImplicants()Returns the set of prime implicants of this formula.Iterator<PlFormula>AssociativePlFormula. iterator()ListIterator<PlFormula>AssociativePlFormula. listIterator()ListIterator<PlFormula>AssociativePlFormula. listIterator(int index)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)booleanAssociativePlFormula. add(PlFormula... formulas)Adds the specified elements to the end of this collection (optional operation).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)PlFormulaExclusiveDisjunction. 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.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 net.sf.tweety.logics.pl.syntax with type arguments of type PlFormula Modifier and Type Method Description booleanAssociativePlFormula. 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(net.sf.tweety.commons.util.Pair<PlFormula,PlFormula> formulas)Sets the formulas of the equivalence.voidEquivalence. setFormulas(net.sf.tweety.commons.util.Pair<PlFormula,PlFormula> formulas)Sets the formulas of the equivalence.voidImplication. setFormulas(net.sf.tweety.commons.util.Pair<PlFormula,PlFormula> formulas)Sets the formulas of the implication.voidImplication. setFormulas(net.sf.tweety.commons.util.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 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 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(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(net.sf.tweety.commons.util.Pair<PlFormula,PlFormula> formulas)Creates a new equivalence with the given pair of formulasEquivalence(net.sf.tweety.commons.util.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(net.sf.tweety.commons.util.Pair<PlFormula,PlFormula> formulas)Creates a new implication with the given pair of formulasImplication(net.sf.tweety.commons.util.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 net.sf.tweety.logics.pl.util
Methods in net.sf.tweety.logics.pl.util that return PlFormula Modifier and Type Method Description PlFormulaCnfSampler. sampleFormula()Returns a random formulaPlFormulaSyntacticRandomSampler. sampleFormula(net.sf.tweety.math.probability.ProbabilityFunction<Byte> prob)Samples a single formula. -
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)
-