Uses of Class
net.sf.tweety.logics.fol.syntax.FolFormula
-
-
-
Uses of FolFormula in net.sf.tweety.action.description.parser
Methods in net.sf.tweety.action.description.parser that return FolFormula Modifier and Type Method Description protected FolFormulaCLawParser. parseFolFormula(java.lang.String s)Parses a FolFormula from a string using the FolParser class -
Uses of FolFormula in net.sf.tweety.action.description.reasoner
Methods in net.sf.tweety.action.description.reasoner with parameters of type FolFormula Modifier and Type Method Description private java.lang.StringCTransitionSystemCalculator. getLiteralString(FolFormula f, int t, boolean negated)Utility function representing a single literal either in a direct manner or using default negation.private java.lang.StringCTransitionSystemCalculator. getRuleBodyString(FolFormula f, int t, boolean negated)Calculates the representation of an inner formula of a causal rule according to the translation in "Representing Transition Systems by Logic Programs.". -
Uses of FolFormula in net.sf.tweety.action.description.syntax
Fields in net.sf.tweety.action.description.syntax declared as FolFormula Modifier and Type Field Description protected FolFormulaDynamicLaw. afterFormulaprotected FolFormulaCLaw. headFormulaprotected FolFormulaCLaw. ifFormulaMethods in net.sf.tweety.action.description.syntax that return FolFormula Modifier and Type Method Description FolFormulaDynamicLaw. getAfterFormula()Returns the afterFormula of this causal law.FolFormulaCLaw. getHeadFormula()Returns the headFormula of this causal law.FolFormulaCLaw. getIfFormula()Returns the ifFormula of this causal law.Methods in net.sf.tweety.action.description.syntax that return types with arguments of type FolFormula Modifier and Type Method Description abstract java.util.Set<FolFormula>CLaw. getFormulas()Returns the set of formulas contained in this causal law, e.g.java.util.Set<FolFormula>DynamicLaw. getFormulas()java.util.Set<FolFormula>StaticLaw. getFormulas()Methods in net.sf.tweety.action.description.syntax with parameters of type FolFormula Modifier and Type Method Description protected booleanCLaw. isConjunctiveClause(FolFormula pl)a conjunctive clause is either a literal or a conjunction of literals.private voidDynamicLaw. setAfterFormula(FolFormula afterFormula)Sets the afterFormula of this causal lawprivate voidCLaw. setHeadFormula(FolFormula headFormula)Sets the headFormula of this causal lawprivate voidCLaw. setIfFormula(FolFormula ifFormula)Sets the IfFormula of this causal lawConstructors in net.sf.tweety.action.description.syntax with parameters of type FolFormula Constructor Description CLaw(FolFormula headFormula)Creates a causal law of the form caused headFormula if TrueCLaw(FolFormula headFormula, java.util.Set<GroundingRequirement> requirements)Creates a causal law of the form caused headFormula if True requires requirementsCLaw(FolFormula headFormula, FolFormula ifFormula)Creates a causal law of the form caused headFormula if ifFormulaCLaw(FolFormula headFormula, FolFormula ifFormula, java.util.Set<GroundingRequirement> requirements)Creates a causal law of the form caused headFormula if ifFormula requires requirementsDynamicLaw(FolFormula headFormula, FolFormula afterFormula)Creates a new dynamic law of the form caused headFormula after afterFormulaDynamicLaw(FolFormula headFormula, FolFormula afterFormula, java.util.Set<GroundingRequirement> requirements)Creates a new dynamic law of the form caused headFormula after afterFormula requires requirementsDynamicLaw(FolFormula headFormula, FolFormula ifFormula, FolFormula afterFormula)Creates a new dynamic law of the form: caused headFormula if ifFormula after afterFormulaDynamicLaw(FolFormula headFormula, FolFormula ifFormula, FolFormula afterFormula, java.util.Set<GroundingRequirement> requirements)Creates a new dynamic law of the form: caused headFormula if ifFormula after afterFormula requires requirementsStaticLaw(FolFormula headFormula)Creates an empty static law of the form caused headFormula if TrueStaticLaw(FolFormula headFormula, java.util.Set<GroundingRequirement> requirements)Creates an empty static law of the form caused headFormula if True requires requirementsStaticLaw(FolFormula headFormula, FolFormula ifFormula)Creates an empty static law of the form caused headFormula if ifFormulaStaticLaw(FolFormula headFormula, FolFormula ifFormula, java.util.Set<GroundingRequirement> requirements)Creates an empty static law of the form caused headFormula if ifFormula requires requirements -
Uses of FolFormula in net.sf.tweety.action.query.analysis
Methods in net.sf.tweety.action.query.analysis that return types with arguments of type FolFormula Modifier and Type Method Description private java.util.Set<FolFormula>SActionQuerySatisfactionTester. getStateParts(FolFormula formula)Calculates the set of all possible parts of the propositional formula given.Methods in net.sf.tweety.action.query.analysis with parameters of type FolFormula Modifier and Type Method Description private java.lang.StringSActionQuerySatisfactionTester. getStatePartRules(FolFormula statePart)This function translates a propositional formula into a logic program according to certain rules.private java.util.Set<FolFormula>SActionQuerySatisfactionTester. getStateParts(FolFormula formula)Calculates the set of all possible parts of the propositional formula given. -
Uses of FolFormula in net.sf.tweety.action.query.syntax
Fields in net.sf.tweety.action.query.syntax declared as FolFormula Modifier and Type Field Description protected FolFormulaQueryProposition. formulaMethods in net.sf.tweety.action.query.syntax that return FolFormula Modifier and Type Method Description FolFormulaQueryProposition. getInnerFormula()Returns the inner formula of this query proposition, e.g.Methods in net.sf.tweety.action.query.syntax that return types with arguments of type FolFormula Modifier and Type Method Description java.util.Set<FolFormula>SActionQuery. getInnerFormulas()Returns all inner formulas that are contained in query propositions in this action query.Constructors in net.sf.tweety.action.query.syntax with parameters of type FolFormula Constructor Description AlwaysQuery(FolFormula formula)Creates a new always query with the given inner formula.HoldsQuery(FolFormula formula)Creates a new holds query with the given inner formula.NecessarilyQuery(FolFormula formula)Creates a new necessarily query with an empty action sequence.NecessarilyQuery(FolFormula formula, java.util.List<FolAction> actions)Creates a new necessarily query with the given inner formula and list of actions.NecessarilyQuery(FolFormula formula, FolAction action)Creates a new necessarily query with the given inner formula and a single action.QueryProposition(FolFormula formula, java.lang.String name)Creates a new query proposition with the given formula and a unique name, which is used by the base class. -
Uses of FolFormula in net.sf.tweety.action.signature
Constructors in net.sf.tweety.action.signature with parameters of type FolFormula Constructor Description ActionSignature(FolFormula f)Creates a new Action Signature for a single first order formula. -
Uses of FolFormula in net.sf.tweety.arg.aspic.ruleformulagenerator
Methods in net.sf.tweety.arg.aspic.ruleformulagenerator that return FolFormula Modifier and Type Method Description FolFormulaFolFormulaGenerator. getRuleFormula(DefeasibleInferenceRule<FolFormula> r)Method parameters in net.sf.tweety.arg.aspic.ruleformulagenerator with type arguments of type FolFormula Modifier and Type Method Description FolFormulaFolFormulaGenerator. getRuleFormula(DefeasibleInferenceRule<FolFormula> r) -
Uses of FolFormula in net.sf.tweety.arg.delp
Fields in net.sf.tweety.arg.delp declared as FolFormula Modifier and Type Field Description private static FolFormulaTestArguments. FOL_FLIES_TINAprivate static FolFormulaTestArguments. FOL_NOT_FLIES_TINAFields in net.sf.tweety.arg.delp with type parameters of type FolFormula Modifier and Type Field Description (package private) static java.util.Comparator<FolFormula>Utilities. compareLiteralsCompare DeLP literals as they arise in rules, i.e., ~B < A (negation is always smaller) A < B (atoms = predicates are sorted by predicate name first...Methods in net.sf.tweety.arg.delp with parameters of type FolFormula Modifier and Type Method Description private DelpAnswer.TypeTestQueries. query(DefeasibleLogicProgram delp, FolFormula formula) -
Uses of FolFormula in net.sf.tweety.arg.delp.parser
Methods in net.sf.tweety.arg.delp.parser that return FolFormula Modifier and Type Method Description FolFormulaDelpParser. Formula(FolSignature signature)FolFormulaDelpParser. Literal(DefeasibleLogicProgram delp, FolSignature signature) -
Uses of FolFormula in net.sf.tweety.arg.delp.reasoner
Methods in net.sf.tweety.arg.delp.reasoner with parameters of type FolFormula Modifier and Type Method Description static java.util.Set<DelpArgument>DelpReasoner. getArgumentsWithConclusion(DefeasibleLogicProgram delp, FolFormula f)Returns all arguments with the given conclusion from the delp.DelpAnswer.TypeDelpReasoner. query(DefeasibleLogicProgram delp, FolFormula f) -
Uses of FolFormula in net.sf.tweety.arg.delp.semantics
Methods in net.sf.tweety.arg.delp.semantics that return types with arguments of type FolFormula Modifier and Type Method Description private java.util.Set<java.util.Set<FolFormula>>GeneralizedSpecificity. ntActSets(java.util.Set<ArgumentCompletion> argumentCompletions)Computes the activation sets of all given argument completionsprivate java.util.Set<java.util.Set<FolFormula>>GeneralizedSpecificity. ntActSets(ArgumentCompletion argument)Computes the activation sets of the given argument completion.Methods in net.sf.tweety.arg.delp.semantics with parameters of type FolFormula Modifier and Type Method Description java.util.Set<DelpRule>ArgumentCompletion. getRulesWithHead(FolFormula l)Method parameters in net.sf.tweety.arg.delp.semantics with type arguments of type FolFormula Modifier and Type Method Description private booleanGeneralizedSpecificity. actSetTest(java.util.Set<java.util.Set<FolFormula>> ntActSets, DelpArgument arg, DefeasibleLogicProgram delp)Test whether all given activation sets activate the given argument.private booleanGeneralizedSpecificity. isActivated(DelpArgument arg, java.util.Set<FolFormula> activationSet, DefeasibleLogicProgram delp)Test whether the given argument is activated by the given activation set. -
Uses of FolFormula in net.sf.tweety.arg.delp.syntax
Fields in net.sf.tweety.arg.delp.syntax declared as FolFormula Modifier and Type Field Description private FolFormulaDelpArgument. conclusionThe conclusion of this argument (must be a literal)protected FolFormulaDelpRule. headThe head of the rule (this must be a literal).Fields in net.sf.tweety.arg.delp.syntax with type parameters of type FolFormula Modifier and Type Field Description protected java.util.Set<FolFormula>DelpRule. bodyThe body of the rule (these must be a literals).Methods in net.sf.tweety.arg.delp.syntax that return FolFormula Modifier and Type Method Description FolFormulaDelpArgument. getConclusion()returns the conclusion of this argumentFolFormulaDelpRule. getConclusion()Methods in net.sf.tweety.arg.delp.syntax that return types with arguments of type FolFormula Modifier and Type Method Description java.util.Set<FolFormula>DelpArgument. getAttackOpportunities(DefeasibleLogicProgram delp)Computes the set of literals that disagree with the conclusion of a subargument of this argumentjava.util.Collection<? extends FolFormula>DelpRule. getPremise()java.util.Set<FolFormula>DefeasibleLogicProgram. getStrictClosure()Computes the strict closure of the program, i.e., the set of all strictly derivable literals.java.util.Set<FolFormula>DefeasibleLogicProgram. getStrictClosure(java.util.Set<FolFormula> literals)Computes the strict closure of the program, i.e., the set of all strictly derivable literals.java.util.Set<FolFormula>DefeasibleLogicProgram. getStrictClosure(java.util.Set<FolFormula> literals, java.util.Set<DefeasibleRule> defeasibleRules)Computes the strict closure of the program, i.e., the set of all strictly derivable literals.java.util.Set<FolFormula>DefeasibleLogicProgram. getStrictClosure(java.util.Set<FolFormula> literals, java.util.Set<DefeasibleRule> defeasibleRules, boolean usefacts)Computes the strict closure of the program, i.e., the set of all strictly derivable literals.Methods in net.sf.tweety.arg.delp.syntax with parameters of type FolFormula Modifier and Type Method Description voidDelpRule. addPremise(FolFormula premise)DelpArgumentDelpArgument. getDisagreementSubargument(FolFormula lit, DefeasibleLogicProgram delp)Computes the disagreement subargument of this argument for the given literaljava.util.Set<DelpRule>DefeasibleLogicProgram. getRulesWithHead(FolFormula l)Returns all defeasible and strict rules appearing in this program with the given literal as headjava.util.Set<DelpRule>DelpArgument. getRulesWithHead(FolFormula l)Returns all defeasible rules of the support of this argument with the given literal as headvoidDelpRule. setConclusion(FolFormula conclusion)Method parameters in net.sf.tweety.arg.delp.syntax with type arguments of type FolFormula Modifier and Type Method Description voidDelpRule. addPremises(java.util.Collection<? extends FolFormula> premises)booleanDefeasibleLogicProgram. disagree(java.util.Set<FolFormula> literals)Checks whether the given set of literals disagree with respect to the strict part of this program.java.util.Set<FolFormula>DefeasibleLogicProgram. getStrictClosure(java.util.Set<FolFormula> literals)Computes the strict closure of the program, i.e., the set of all strictly derivable literals.java.util.Set<FolFormula>DefeasibleLogicProgram. getStrictClosure(java.util.Set<FolFormula> literals, java.util.Set<DefeasibleRule> defeasibleRules)Computes the strict closure of the program, i.e., the set of all strictly derivable literals.java.util.Set<FolFormula>DefeasibleLogicProgram. getStrictClosure(java.util.Set<FolFormula> literals, java.util.Set<DefeasibleRule> defeasibleRules, boolean usefacts)Computes the strict closure of the program, i.e., the set of all strictly derivable literals.booleanDelpRule. isApplicable(java.util.Collection<? extends FolFormula> literals)Checks whether this rule is applicaple in the given contextliterals,Constructors in net.sf.tweety.arg.delp.syntax with parameters of type FolFormula Constructor Description DefeasibleRule(FolFormula head, java.util.Set<FolFormula> body)Initializes the defeasible rule with the given parametersDelpArgument(java.util.Set<DefeasibleRule> support, FolFormula conclusion)constructor; initializes this argument with the given parametersDelpArgument(FolFormula conclusion)constructor; initializes the conclusion of this argument with the given literalDelpFact(FolFormula literal)Default constructor; initializes this fact with the given literalDelpRule(FolFormula head, java.util.Collection<? extends FolFormula> body)Default constructor; initializes head and body of the ruleStrictRule(FolFormula head, java.util.Set<FolFormula> body)Default constructor; initializes head and body of the strict ruleConstructor parameters in net.sf.tweety.arg.delp.syntax with type arguments of type FolFormula Constructor Description DefeasibleRule(FolFormula head, java.util.Set<FolFormula> body)Initializes the defeasible rule with the given parametersDelpRule(FolFormula head, java.util.Collection<? extends FolFormula> body)Default constructor; initializes head and body of the ruleStrictRule(FolFormula head, java.util.Set<FolFormula> body)Default constructor; initializes head and body of the strict rule -
Uses of FolFormula in net.sf.tweety.logics.fol.parser
Methods in net.sf.tweety.logics.fol.parser that return FolFormula Modifier and Type Method Description private FolFormulaFolParser. parseAtomic(java.util.List<java.lang.Object> l)Parses a simple formula as a list of String tokens or formulas into a fol formula.private FolFormulaTPTPParser. parseAtomic(java.util.List<java.lang.Object> l)private FolFormulaFolParser. parseConjunction(java.util.List<java.lang.Object> l)Parses a simple conjunction as a list of String tokens or formulas into a fol formula.private FolFormulaTPTPParser. parseConjunction(java.util.List<java.lang.Object> l)Parses a conjunction as a list of String tokens or formulas into a fol formula.private FolFormulaFolParser. parseDisjunction(java.util.List<java.lang.Object> l)Parses a disjunction as a list of String tokens or formulas into a fol formula.private FolFormulaTPTPParser. parseDisjunction(java.util.List<java.lang.Object> l)Parses a disjunction as a list of String tokens or formulas into a fol formula.private FolFormulaFolParser. parseEquivalence(java.util.List<java.lang.Object> l)Parses an equivalence as a list of String tokens or formulas into a fol formula.private FolFormulaTPTPParser. parseEquivalence(java.util.List<java.lang.Object> l)Parses an equivalence as a list of String tokens or formulas into a fol formula.FolFormulaFolParser. parseFormula(java.io.Reader reader)FolFormulaTPTPParser. parseFormula(java.io.Reader reader)private FolFormulaFolParser. parseImplication(java.util.List<java.lang.Object> l)Parses an implication as a list of String tokens or formulas into a fol formula.private FolFormulaTPTPParser. parseImplication(java.util.List<java.lang.Object> l)Parses an implication as a list of String tokens or formulas into a fol formula.private FolFormulaFolParser. parseNegation(java.util.List<java.lang.Object> l)Parses a simple formula as a list of String tokens or formulas into a fol formula.private FolFormulaTPTPParser. parseNegation(java.util.List<java.lang.Object> l)private FolFormulaFolParser. parseQuantification(java.util.List<java.lang.Object> l)Parses a quantified formula as a list of String tokens or formulas.private FolFormulaTPTPParser. parseQuantification(java.util.List<java.lang.Object> l)Parses a quantified formula as a list of String tokens or formulas. -
Uses of FolFormula in net.sf.tweety.logics.fol.reasoner
Methods in net.sf.tweety.logics.fol.reasoner with parameters of type FolFormula Modifier and Type Method Description booleanEFOLReasoner. equivalent(FolBeliefSet kb, FolFormula a, FolFormula b)abstract booleanFolReasoner. equivalent(FolBeliefSet kb, FolFormula a, FolFormula b)This method determines whether two formulas are equivalent wrt.booleanProver9FolReasoner. equivalent(FolBeliefSet kb, FolFormula a, FolFormula b)booleanSimpleFolReasoner. equivalent(FolBeliefSet kb, FolFormula f1, FolFormula f2)booleanSpassFolReasoner. equivalent(FolBeliefSet kb, FolFormula a, FolFormula b)java.lang.BooleanEFOLReasoner. query(FolBeliefSet kb, FolFormula query)abstract java.lang.BooleanFolReasoner. query(FolBeliefSet beliefbase, FolFormula formula)java.lang.BooleanProver9FolReasoner. query(FolBeliefSet kb, FolFormula query)java.lang.BooleanSimpleFolReasoner. query(FolBeliefSet kb, FolFormula formula)java.lang.BooleanSpassFolReasoner. query(FolBeliefSet kb, FolFormula query) -
Uses of FolFormula in net.sf.tweety.logics.fol.semantics
Methods in net.sf.tweety.logics.fol.semantics with parameters of type FolFormula Modifier and Type Method Description booleanHerbrandInterpretation. satisfies(FolFormula formula)Checks whether this Herbrand interpretation satisfies the given formula.Method parameters in net.sf.tweety.logics.fol.semantics with type arguments of type FolFormula Modifier and Type Method Description booleanHerbrandInterpretation. satisfies(java.util.Set<FolFormula> formulas)Checks whether this Herbrand interpretation satisfies each of the formulas in the given set of first-order formulas. -
Uses of FolFormula in net.sf.tweety.logics.fol.syntax
Subclasses of FolFormula in net.sf.tweety.logics.fol.syntax Modifier and Type Class Description classAssociativeFolFormulaThis class captures the common functionalities first order associative formulas like conjunction, disjunction, etc.classConjunctionThe classical conjunction of first-order logic.classContradictionA contradictory formula.classDisjunctionThe classical disjunction of first-order logic.classEquivalenceThe equivalence of first-order logic.classExistsQuantifiedFormulaExists-quantified first-order logic formula.classFolAtomAn atom in first-order logic, i.e.classForallQuantifiedFormulaFor-All-quantified first-order logic formula.classImplicationThe implication of first-order logic.classNegationThe classical negation of first-order logic.classSpecialFormulaThis class captures the common functionalities of the special formulas tautology and contradiction.classTautologyA tautological formula.Fields in net.sf.tweety.logics.fol.syntax declared as FolFormula Modifier and Type Field Description private FolFormulaNegation. folFormulaFields in net.sf.tweety.logics.fol.syntax with type parameters of type FolFormula Modifier and Type Field Description protected QuantifiedFormulaSupport<FolFormula>ExistsQuantifiedFormula. supportThis helper class implements common functionalities of quantified formulas, meaning the implementation can delegate the method calls to the support class.protected QuantifiedFormulaSupport<FolFormula>ForallQuantifiedFormula. supportThis helper class implements common functionalities of quantified formulas, meaning the implementation can delegate the method calls to the support class.Methods in net.sf.tweety.logics.fol.syntax that return FolFormula Modifier and Type Method Description abstract FolFormulaFolFormula. clone()FolFormulaExistsQuantifiedFormula. collapseAssociativeFormulas()FolFormulaFolAtom. collapseAssociativeFormulas()FolFormulaForallQuantifiedFormula. collapseAssociativeFormulas()FolFormulaNegation. collapseAssociativeFormulas()FolFormulaSpecialFormula. collapseAssociativeFormulas()FolFormulaExistsQuantifiedFormula. getFormula()FolFormulaForallQuantifiedFormula. getFormula()FolFormulaNegation. getFormula()FolFormulaEquivalence. substitute(Term<?> v, Term<?> t)abstract FolFormulaFolFormula. substitute(Term<?> v, Term<?> t)FolFormulaImplication. substitute(Term<?> v, Term<?> t)FolFormulaSpecialFormula. substitute(Term<?> v, Term<?> t)FolFormulaFolFormula. toDnf()Makes a disjunctive normal form of this formula.FolFormulaConjunction. toNnf()FolFormulaDisjunction. toNnf()FolFormulaEquivalence. toNnf()FolFormulaExistsQuantifiedFormula. toNnf()FolFormulaFolAtom. toNnf()abstract FolFormulaFolFormula. toNnf()Makes the negation normal form of this formula.FolFormulaForallQuantifiedFormula. toNnf()FolFormulaImplication. toNnf()FolFormulaNegation. toNnf()FolFormulaSpecialFormula. toNnf()Methods in net.sf.tweety.logics.fol.syntax that return types with arguments of type FolFormula Modifier and Type Method Description java.util.Set<FolFormula>ExistsQuantifiedFormula. getQuantifiedFormulas()java.util.Set<FolFormula>ForallQuantifiedFormula. getQuantifiedFormulas()java.util.Set<FolFormula>SpecialFormula. getQuantifiedFormulas()Methods in net.sf.tweety.logics.fol.syntax with parameters of type FolFormula Modifier and Type Method Description booleanFolSignature. isRepresentable(FolFormula folFormula)Checks whether the given formula can be represented by this signature.voidExistsQuantifiedFormula. setFormula(FolFormula formula)voidForallQuantifiedFormula. setFormula(FolFormula formula)Constructor parameters in net.sf.tweety.logics.fol.syntax with type arguments of type FolFormula Constructor Description FolBeliefSet(java.util.Collection<FolFormula> formulas)Creates a new first-order knowledge base with the given set of formulas. -
Uses of FolFormula in net.sf.tweety.logics.fol.writer
Methods in net.sf.tweety.logics.fol.writer with parameters of type FolFormula Modifier and Type Method Description voidFolWriter. printEquivalence(FolFormula a, FolFormula b)Prints an Equivalence.voidProver9Writer. printEquivalence(FolFormula a, FolFormula b)voidStandardFolWriter. printEquivalence(FolFormula a, FolFormula b)voidTPTPWriter. printEquivalence(FolFormula a, FolFormula b)voidFolWriter. printQuery(FolFormula query)Prints formatted representation of a query.voidProver9Writer. printQuery(FolFormula query)voidStandardFolWriter. printQuery(FolFormula query)voidTPTPWriter. printQuery(FolFormula query) -
Uses of FolFormula in net.sf.tweety.logics.ml.reasoner
Methods in net.sf.tweety.logics.ml.reasoner with parameters of type FolFormula Modifier and Type Method Description abstract java.lang.BooleanAbstractMlReasoner. query(MlBeliefSet beliefbase, FolFormula formula)java.lang.BooleanMleanCoPReasoner. query(MlBeliefSet beliefbase, FolFormula formula)java.lang.BooleanSimpleMlReasoner. query(MlBeliefSet mbs, FolFormula formula)java.lang.BooleanSPASSMlReasoner. query(MlBeliefSet kb, FolFormula query) -
Uses of FolFormula in net.sf.tweety.logics.ml.semantics
Fields in net.sf.tweety.logics.ml.semantics with type parameters of type FolFormula Modifier and Type Field Description private java.util.Set<? extends Interpretation<FolBeliefSet,FolFormula>>KripkeModel. possibleWorldsThe possible worlds of this model.private java.util.Set<Pair<Interpretation<FolBeliefSet,FolFormula>,Interpretation<FolBeliefSet,FolFormula>>>AccessibilityRelation. tuplesThe actual relationprivate java.util.Set<Pair<Interpretation<FolBeliefSet,FolFormula>,Interpretation<FolBeliefSet,FolFormula>>>AccessibilityRelation. tuplesThe actual relationMethods in net.sf.tweety.logics.ml.semantics that return types with arguments of type FolFormula Modifier and Type Method Description java.util.Set<Interpretation<FolBeliefSet,FolFormula>>AccessibilityRelation. getNodes()Returns all interpretations of the accessibility relation.java.util.Set<Interpretation<FolBeliefSet,FolFormula>>AccessibilityRelation. getSuccessors(Interpretation<FolBeliefSet,FolFormula> i)Returns all interpretations that are accessible to a given interpretation i.Methods in net.sf.tweety.logics.ml.semantics with parameters of type FolFormula Modifier and Type Method Description booleanKripkeModel. satisfies(FolFormula formula)booleanMlHerbrandInterpretation. satisfies(FolFormula formula)Method parameters in net.sf.tweety.logics.ml.semantics with type arguments of type FolFormula Modifier and Type Method Description java.util.Set<Interpretation<FolBeliefSet,FolFormula>>AccessibilityRelation. getSuccessors(Interpretation<FolBeliefSet,FolFormula> i)Returns all interpretations that are accessible to a given interpretation i.booleanMlHerbrandInterpretation. satisfies(java.util.Set<FolFormula> formulas)Checks whether this Herbrand interpretation satisfies each of the formulas in the given set of first-order formulas.booleanMlHerbrandInterpretation. satisfies(Formula formula, java.util.Set<Interpretation<FolBeliefSet,FolFormula>> successors)Checks whether this Herbrand interpretation satisfies the given formula.Constructor parameters in net.sf.tweety.logics.ml.semantics with type arguments of type FolFormula Constructor Description AccessibilityRelation(java.util.Set<Pair<Interpretation<FolBeliefSet,FolFormula>,Interpretation<FolBeliefSet,FolFormula>>> tuples)Constructs a new accessibility relation.AccessibilityRelation(java.util.Set<Pair<Interpretation<FolBeliefSet,FolFormula>,Interpretation<FolBeliefSet,FolFormula>>> tuples)Constructs a new accessibility relation.KripkeModel(java.util.Set<? extends Interpretation<FolBeliefSet,FolFormula>> possibleWorlds, AccessibilityRelation accRelation)Creates a new Kripke model. -
Uses of FolFormula in net.sf.tweety.logics.ml.syntax
Subclasses of FolFormula in net.sf.tweety.logics.ml.syntax Modifier and Type Class Description classMlFormulaThis class models a modal formula, i.e.classNecessityThis class models the necessity modality.classPossibilityThis class models the possibility modality.Methods in net.sf.tweety.logics.ml.syntax that return FolFormula Modifier and Type Method Description FolFormulaNecessity. clone()FolFormulaPossibility. clone()FolFormulaNecessity. substitute(Term<?> v, Term<?> t)FolFormulaPossibility. substitute(Term<?> v, Term<?> t)FolFormulaNecessity. toNnf()FolFormulaPossibility. toNnf() -
Uses of FolFormula in net.sf.tweety.logics.mln.reasoner
Methods in net.sf.tweety.logics.mln.reasoner with parameters of type FolFormula Modifier and Type Method Description protected abstract doubleAbstractMlnReasoner. doQuery(MarkovLogicNetwork mln, FolFormula query, FolSignature signature)Performs the actual querying.doubleAlchemyMlnReasoner. doQuery(MarkovLogicNetwork mln, FolFormula query, FolSignature signature)protected doubleApproximateNaiveMlnReasoner. doQuery(MarkovLogicNetwork mln, FolFormula query, FolSignature signature)protected doubleIteratingMlnReasoner. doQuery(MarkovLogicNetwork mln, FolFormula query, FolSignature signature)doubleSimpleMlnReasoner. doQuery(MarkovLogicNetwork mln, FolFormula query, FolSignature signature)protected doubleSimpleSamplingMlnReasoner. doQuery(MarkovLogicNetwork mln, FolFormula query, FolSignature signature)protected intAbstractMlnReasoner. numberOfGroundSatisfactions(FolFormula formula, HerbrandInterpretation hInt, FolSignature signature)Computes the number of instantiations of the formula, wrt.java.lang.DoubleAbstractMlnReasoner. query(MarkovLogicNetwork mln, FolFormula query)java.lang.DoubleAbstractMlnReasoner. query(MarkovLogicNetwork mln, FolFormula query, FolSignature signature)Queries the given MLN wrt.private java.io.FileAlchemyMlnReasoner. writeAlchemyMlnFile(MarkovLogicNetwork mln, FolSignature signature, FolFormula formula)Writes the given MLN wrt. -
Uses of FolFormula in net.sf.tweety.logics.mln.syntax
Fields in net.sf.tweety.logics.mln.syntax declared as FolFormula Modifier and Type Field Description private FolFormulaMlnFormula. formulathe first-order formula.Methods in net.sf.tweety.logics.mln.syntax that return FolFormula Modifier and Type Method Description FolFormulaMlnFormula. getFormula()Returns the inner formula.Constructors in net.sf.tweety.logics.mln.syntax with parameters of type FolFormula Constructor Description MlnFormula(FolFormula formula)Creates a new strict MLN formula with the given formula.MlnFormula(FolFormula formula, java.lang.Double weight)Creates a new MLN formula with the given formula and weight.MlnFormula(FolFormula formula, Probability p)Creates a new MLN formula and estimates its weight w by the given probability p using the formula w = log(p/(1-p)*f) where "f" is the ratio of the number of worlds not satisfying the formula and the worlds satisfying the formula. -
Uses of FolFormula in net.sf.tweety.logics.rcl.reasoner
Methods in net.sf.tweety.logics.rcl.reasoner with parameters of type FolFormula Modifier and Type Method Description java.lang.BooleanSimpleRelationalCReasoner. query(RclBeliefSet bs, FolFormula query)java.lang.BooleanSimpleRelationalCReasoner. query(RclBeliefSet bs, FolFormula query, FolSignature signature)Queries the given belief set wrt. -
Uses of FolFormula in net.sf.tweety.logics.rcl.semantics
Methods in net.sf.tweety.logics.rcl.semantics with parameters of type FolFormula Modifier and Type Method Description java.lang.IntegerRelationalRankingFunction. rank(FolFormula formula)Gets the rank of the given sentence (ground formula). -
Uses of FolFormula in net.sf.tweety.logics.rcl.syntax
Fields in net.sf.tweety.logics.rcl.syntax declared as FolFormula Modifier and Type Field Description private FolFormulaRelationalConditional. conclusionThe conclusion of the conditional.private FolFormulaRelationalConditional. premiseThe premise of the conditional.Methods in net.sf.tweety.logics.rcl.syntax that return FolFormula Modifier and Type Method Description FolFormulaRelationalConditional. getConclusion()Methods in net.sf.tweety.logics.rcl.syntax that return types with arguments of type FolFormula Modifier and Type Method Description java.util.Collection<? extends FolFormula>RelationalConditional. getPremise()Methods in net.sf.tweety.logics.rcl.syntax with parameters of type FolFormula Modifier and Type Method Description voidRelationalConditional. addPremise(FolFormula premise)voidRelationalConditional. setConclusion(FolFormula conclusion)Method parameters in net.sf.tweety.logics.rcl.syntax with type arguments of type FolFormula Modifier and Type Method Description voidRelationalConditional. addPremises(java.util.Collection<? extends FolFormula> premises)Constructors in net.sf.tweety.logics.rcl.syntax with parameters of type FolFormula Constructor Description RelationalConditional(FolFormula conclusion)Creates a new conditional with the given conclusion and a tautological premise.RelationalConditional(FolFormula premise, FolFormula conclusion)Creates a new conditional with the given premise and conclusion. -
Uses of FolFormula in net.sf.tweety.logics.rdl.reasoner
Methods in net.sf.tweety.logics.rdl.reasoner with parameters of type FolFormula Modifier and Type Method Description java.lang.BooleanSimpleDefaultReasoner. query(DefaultTheory theory, FolFormula query)java.lang.BooleanSimpleDefaultReasoner. query(DefaultTheory theory, FolFormula query, InferenceMode inferenceMode)Queries the given default theory for the given query using the given inference mode. -
Uses of FolFormula in net.sf.tweety.logics.rdl.semantics
Fields in net.sf.tweety.logics.rdl.semantics with type parameters of type FolFormula Modifier and Type Field Description private java.util.Collection<FolFormula>Extension. formulasThe formulasprivate java.util.Set<FolFormula>DefaultSequence. outthe out setMethods in net.sf.tweety.logics.rdl.semantics that return types with arguments of type FolFormula Modifier and Type Method Description java.util.Collection<FolFormula>DefaultSequence. getIn()java.util.Collection<FolFormula>DefaultSequence. getOut()java.util.Iterator<FolFormula>Extension. iterator()Methods in net.sf.tweety.logics.rdl.semantics with parameters of type FolFormula Modifier and Type Method Description booleanExtension. add(FolFormula e)booleanExtension. satisfies(FolFormula formula)Method parameters in net.sf.tweety.logics.rdl.semantics with type arguments of type FolFormula Modifier and Type Method Description booleanExtension. addAll(java.util.Collection<? extends FolFormula> c)Constructor parameters in net.sf.tweety.logics.rdl.semantics with type arguments of type FolFormula Constructor Description Extension(java.util.Collection<FolFormula> formulas)Creates a new extension with the given set of formulas. -
Uses of FolFormula in net.sf.tweety.logics.rdl.syntax
Fields in net.sf.tweety.logics.rdl.syntax declared as FolFormula Modifier and Type Field Description private FolFormulaDefaultRule. concThe conclusion of the default ruleprivate FolFormulaDefaultRule. preThe prerequisite of the default ruleFields in net.sf.tweety.logics.rdl.syntax with type parameters of type FolFormula Modifier and Type Field Description private java.util.Collection<FolFormula>DefaultRule. jusThe justifications of the default ruleMethods in net.sf.tweety.logics.rdl.syntax that return FolFormula Modifier and Type Method Description FolFormulaDefaultRule. getConclusion()FolFormulaDefaultRule. getPrerequisite()Methods in net.sf.tweety.logics.rdl.syntax that return types with arguments of type FolFormula Modifier and Type Method Description java.util.Collection<FolFormula>DefaultRule. getJustification()Methods in net.sf.tweety.logics.rdl.syntax with parameters of type FolFormula Modifier and Type Method Description (package private) voidDefaultTheory. addFact(FolFormula fact)add facts to knowledge base(package private) voidDefaultTheory. removeFact(FolFormula fact)removes fact from knowledge baseConstructors in net.sf.tweety.logics.rdl.syntax with parameters of type FolFormula Constructor Description DefaultRule(FolFormula pre, java.util.Collection<FolFormula> jus, FolFormula conc)Creates a new DefaultRuleDefaultRule(FolFormula pre, FolFormula jus, FolFormula conc)Creates a new DefaultRuleConstructor parameters in net.sf.tweety.logics.rdl.syntax with type arguments of type FolFormula Constructor Description DefaultRule(FolFormula pre, java.util.Collection<FolFormula> jus, FolFormula conc)Creates a new DefaultRule -
Uses of FolFormula in net.sf.tweety.logics.rpcl.reasoner
Methods in net.sf.tweety.logics.rpcl.reasoner with parameters of type FolFormula Modifier and Type Method Description java.lang.DoubleRpclMeReasoner. query(RpclBeliefSet beliefbase, FolFormula formula)java.lang.DoubleRpclMeReasoner. query(RpclBeliefSet beliefbase, FolFormula query, FolSignature signature)Queries the knowledge base wrt. -
Uses of FolFormula in net.sf.tweety.logics.rpcl.semantics
Classes in net.sf.tweety.logics.rpcl.semantics with type parameters of type FolFormula Modifier and Type Class Description classRpclProbabilityDistribution<T extends Interpretation<FolBeliefSet,FolFormula>>Objects of this class represent probability distributions on the interpretations of an underlying first-order signature for a relational probabilistic conditional knowledge base.Fields in net.sf.tweety.logics.rpcl.semantics with type parameters of type FolFormula Modifier and Type Field Description private java.util.Map<FolFormula,java.lang.Integer>ReferenceWorld. multiplicatorsMultiplicators for formulas; saved for efficiency.Methods in net.sf.tweety.logics.rpcl.semantics with parameters of type FolFormula Modifier and Type Method Description java.lang.IntegerReferenceWorld. getMultiplicator(FolFormula f)Returns the multiplicator of this reference world for the given formula, i.e.private java.lang.IntegerReferenceWorld. getMultiplicatorForConjunction(FolFormula f)Returns the multiplicator of this reference world for the given formula (which is a conjunction of literals or a single literal), i.e.private java.lang.IntegerReferenceWorld. getNumberOfOccurences(FolFormula f, Predicate p, java.util.Collection<? extends Constant> constants, boolean positive)Determines the number of occurrences of instances of predicate "p" with a constant in "constants".ProbabilityCondensedProbabilityDistribution. probability(FolFormula f)ProbabilityRpclProbabilityDistribution. probability(FolFormula f)Gets the probability of the given closed formula, i.e.protected TermAbstractRpclSemantics. probabilityTerm(FolFormula f, java.util.Map<Interpretation<FolBeliefSet,FolFormula>,FloatVariable> worlds2vars)Constructs the term expressing the probability of the given formula "f" wrt.booleanReferenceWorld. satisfies(FolFormula formula)Method parameters in net.sf.tweety.logics.rpcl.semantics with type arguments of type FolFormula Modifier and Type Method Description abstract StatementAbstractRpclSemantics. getSatisfactionStatement(RelationalProbabilisticConditional r, FolSignature signature, java.util.Map<Interpretation<FolBeliefSet,FolFormula>,FloatVariable> worlds2vars)StatementAggregatingSemantics. getSatisfactionStatement(RelationalProbabilisticConditional r, FolSignature signature, java.util.Map<Interpretation<FolBeliefSet,FolFormula>,FloatVariable> worlds2vars)StatementAveragingSemantics. getSatisfactionStatement(RelationalProbabilisticConditional r, FolSignature signature, java.util.Map<Interpretation<FolBeliefSet,FolFormula>,FloatVariable> worlds2vars)StatementRpclSemantics. getSatisfactionStatement(RelationalProbabilisticConditional r, FolSignature signature, java.util.Map<Interpretation<FolBeliefSet,FolFormula>,FloatVariable> worlds2vars)Returns the mathematical statement corresponding to the satisfaction of the given conditional wrt.protected TermAbstractRpclSemantics. probabilityTerm(FolFormula f, java.util.Map<Interpretation<FolBeliefSet,FolFormula>,FloatVariable> worlds2vars)Constructs the term expressing the probability of the given formula "f" wrt. -
Uses of FolFormula in net.sf.tweety.logics.rpcl.syntax
Constructors in net.sf.tweety.logics.rpcl.syntax with parameters of type FolFormula Constructor Description RelationalProbabilisticConditional(FolFormula premise, FolFormula conclusion, Probability probability)Creates a new conditional with the given premise, conclusion and probability.RelationalProbabilisticConditional(FolFormula conclusion, Probability probability)Creates a new conditional with the given conclusion and probability and a tautological premise. -
Uses of FolFormula in net.sf.tweety.logics.translators.aspfol
Methods in net.sf.tweety.logics.translators.aspfol that return FolFormula Modifier and Type Method Description FolFormulaAspFolTranslator. toFOL(ASPLiteral source)Methods in net.sf.tweety.logics.translators.aspfol with parameters of type FolFormula Modifier and Type Method Description ASPLiteralAspFolTranslator. toASP(FolFormula source) -
Uses of FolFormula in net.sf.tweety.logics.translators.aspnlp
Methods in net.sf.tweety.logics.translators.aspnlp with parameters of type FolFormula Modifier and Type Method Description private voidAspNlpTranslator. bodiesFromFormula(FolFormula source, java.util.List<java.util.List<ASPBodyElement>> bodies)Helper method: Generates a list of possible bodies for the given FOL-Formula. -
Uses of FolFormula in net.sf.tweety.logics.translators.folprop
Methods in net.sf.tweety.logics.translators.folprop that return FolFormula Modifier and Type Method Description FolFormulaFOLPropTranslator. toFOL(PlFormula propFormula)Methods in net.sf.tweety.logics.translators.folprop with parameters of type FolFormula Modifier and Type Method Description PlFormulaFOLPropTranslator. toPropositional(FolFormula folFormula) -
Uses of FolFormula in net.sf.tweety.lp.nlp.syntax
Subclasses of FolFormula in net.sf.tweety.lp.nlp.syntax Modifier and Type Class Description classNLPNotA default negation of a first order formula, nested logic programs only allow not quantified formulas.Fields in net.sf.tweety.lp.nlp.syntax declared as FolFormula Modifier and Type Field Description (package private) FolFormulaNLPRule. conclusionprivate FolFormulaNLPNot. innerFields in net.sf.tweety.lp.nlp.syntax with type parameters of type FolFormula Modifier and Type Field Description (package private) java.util.Set<FolFormula>NLPRule. premiseMethods in net.sf.tweety.lp.nlp.syntax that return FolFormula Modifier and Type Method Description FolFormulaNLPRule. getConclusion()FolFormulaNLPNot. toNnf()Methods in net.sf.tweety.lp.nlp.syntax that return types with arguments of type FolFormula Modifier and Type Method Description java.util.Set<FolFormula>NLPProgram. getFacts()java.util.Collection<FolFormula>NLPRule. getPremise()Methods in net.sf.tweety.lp.nlp.syntax with parameters of type FolFormula Modifier and Type Method Description voidNLPProgram. addFact(FolFormula fact)voidNLPRule. addPremise(FolFormula premise)private voidNLPRule. checkFormula(FolFormula formula)Helper methods checks if the given FOL formula is supported by the nested logic program language, that means it checks if it contains quantifiers and if that is the case it throws a LanguageExceptionvoidNLPRule. setConclusion(FolFormula conclusion)Method parameters in net.sf.tweety.lp.nlp.syntax with type arguments of type FolFormula Modifier and Type Method Description voidNLPRule. addPremises(java.util.Collection<? extends FolFormula> premises)Constructors in net.sf.tweety.lp.nlp.syntax with parameters of type FolFormula Constructor Description NLPNot(FolFormula inner)Ctor: Creates a new default not for nested logic programs by using the given FOL formula as inner formula.NLPRule(FolFormula conclusion)NLPRule(FolFormula conclusion, java.util.Collection<FolFormula> premise)NLPRule(FolFormula conclusion, FolFormula premise)Constructor parameters in net.sf.tweety.lp.nlp.syntax with type arguments of type FolFormula Constructor Description NLPRule(FolFormula conclusion, java.util.Collection<FolFormula> premise)
-