Uses of Class
org.tweetyproject.logics.fol.syntax.FolFormula
Packages that use FolFormula
Package
Description
-
Uses of FolFormula in org.tweetyproject.action.description.syntax
Methods in org.tweetyproject.action.description.syntax that return FolFormulaModifier and TypeMethodDescriptionDynamicLaw.getAfterFormula()
Retrieves the after formula of this causal law.CLaw.getHeadFormula()
Retrieves the head formula of this causal law.CLaw.getIfFormula()
Retrieves the conditional (if) formula of this causal law.Methods in org.tweetyproject.action.description.syntax that return types with arguments of type FolFormulaModifier and TypeMethodDescriptionabstract Set
<FolFormula> CLaw.getFormulas()
Returns the set of formulas contained in this causal law, e.g.DynamicLaw.getFormulas()
StaticLaw.getFormulas()
Constructors in org.tweetyproject.action.description.syntax with parameters of type FolFormulaModifierConstructorDescriptionCLaw
(FolFormula headFormula) Creates a causal law of the form "caused headFormula if True"CLaw
(FolFormula headFormula, Set<GroundingRequirement> requirements) Creates a causal law of the form "caused headFormula if True requires requirements"CLaw
(FolFormula headFormula, FolFormula ifFormula) Creates a causal law of the form "caused headFormula if ifFormula"CLaw
(FolFormula headFormula, FolFormula ifFormula, Set<GroundingRequirement> requirements) Creates a causal law of the form "caused headFormula if ifFormula requires requirements"DynamicLaw
(FolFormula headFormula, FolFormula afterFormula) Creates a new dynamic law of the form "caused headFormula after afterFormula"DynamicLaw
(FolFormula headFormula, FolFormula afterFormula, 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 afterFormula"DynamicLaw
(FolFormula headFormula, FolFormula ifFormula, FolFormula afterFormula, Set<GroundingRequirement> requirements) Creates a new dynamic law of the form: "caused headFormula if ifFormula after afterFormula requires requirements"StaticLaw
(FolFormula headFormula) Creates an empty static law of the form "caused headFormula if True"StaticLaw
(FolFormula headFormula, Set<GroundingRequirement> requirements) Creates an empty static law of the form "caused headFormula if True requires requirements"StaticLaw
(FolFormula headFormula, FolFormula ifFormula) Creates an empty static law of the form "caused headFormula if ifFormula"StaticLaw
(FolFormula headFormula, FolFormula ifFormula, Set<GroundingRequirement> requirements) Creates an empty static law of the form "caused headFormula if ifFormula" requires requirements -
Uses of FolFormula in org.tweetyproject.action.query.syntax
Methods in org.tweetyproject.action.query.syntax that return FolFormulaModifier and TypeMethodDescriptionQueryProposition.getInnerFormula()
Returns the inner formula of this query proposition, e.g.Methods in org.tweetyproject.action.query.syntax that return types with arguments of type FolFormulaModifier and TypeMethodDescriptionSActionQuery.getInnerFormulas()
Returns all inner formulas that are contained in query propositions in this action query.Constructors in org.tweetyproject.action.query.syntax with parameters of type FolFormulaModifierConstructorDescriptionAlwaysQuery
(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, 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, 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 org.tweetyproject.action.signature
Constructors in org.tweetyproject.action.signature with parameters of type FolFormulaModifierConstructorDescriptionCreates a new ActionSignature for a single first-order formula. -
Uses of FolFormula in org.tweetyproject.arg.aspic.ruleformulagenerator
Methods in org.tweetyproject.arg.aspic.ruleformulagenerator that return FolFormulaModifier and TypeMethodDescriptionFolFormulaGenerator.getRuleFormula
(DefeasibleInferenceRule<FolFormula> r) Method parameters in org.tweetyproject.arg.aspic.ruleformulagenerator with type arguments of type FolFormulaModifier and TypeMethodDescriptionFolFormulaGenerator.getRuleFormula
(DefeasibleInferenceRule<FolFormula> r) -
Uses of FolFormula in org.tweetyproject.arg.delp.parser
Methods in org.tweetyproject.arg.delp.parser that return FolFormulaModifier and TypeMethodDescriptionfinal FolFormula
DelpParser.Formula
(FolSignature signature) Parses a formula from the given signature.final FolFormula
DelpParser.Literal
(DefeasibleLogicProgram delp, FolSignature signature) Parses a literal, which could be an atom or its negation. -
Uses of FolFormula in org.tweetyproject.arg.delp.reasoner
Methods in org.tweetyproject.arg.delp.reasoner with parameters of type FolFormulaModifier and TypeMethodDescriptionstatic Set
<DelpArgument> DelpReasoner.getArgumentsWithConclusion
(DefeasibleLogicProgram delp, FolFormula f) Returns all arguments with the given conclusion from the delp.DelpReasoner.query
(DefeasibleLogicProgram delp, FolFormula f) -
Uses of FolFormula in org.tweetyproject.arg.delp.syntax
Methods in org.tweetyproject.arg.delp.syntax that return FolFormulaModifier and TypeMethodDescriptionDelpArgument.getConclusion()
returns the conclusion of this argumentDelpRule.getConclusion()
Methods in org.tweetyproject.arg.delp.syntax that return types with arguments of type FolFormulaModifier and TypeMethodDescriptionDelpArgument.getAttackOpportunities
(DefeasibleLogicProgram delp) Computes the set of literals that disagree with the conclusion of a subargument of this argumentCollection
<? extends FolFormula> DelpRule.getPremise()
DefeasibleLogicProgram.getStrictClosure()
Computes the strict closure of the program, i.e., the set of all strictly derivable literals.DefeasibleLogicProgram.getStrictClosure
(Set<FolFormula> literals) Computes the strict closure of the program, i.e., the set of all strictly derivable literals.DefeasibleLogicProgram.getStrictClosure
(Set<FolFormula> literals, Set<DefeasibleRule> defeasibleRules) Computes the strict closure of the program, i.e., the set of all strictly derivable literals.DefeasibleLogicProgram.getStrictClosure
(Set<FolFormula> literals, Set<DefeasibleRule> defeasibleRules, boolean usefacts) Computes the strict closure of the program, i.e., the set of all strictly derivable literals.Methods in org.tweetyproject.arg.delp.syntax with parameters of type FolFormulaModifier and TypeMethodDescriptionvoid
DelpRule.addPremise
(FolFormula premise) DelpArgument.getDisagreementSubargument
(FolFormula lit, DefeasibleLogicProgram delp) Computes the disagreement subargument of this argument for the given literalDefeasibleLogicProgram.getRulesWithHead
(FolFormula l) Returns all defeasible and strict rules appearing in this program with the given literal as headDelpArgument.getRulesWithHead
(FolFormula l) Returns all defeasible rules of the support of this argument with the given literal as headvoid
DelpRule.setConclusion
(FolFormula conclusion) Method parameters in org.tweetyproject.arg.delp.syntax with type arguments of type FolFormulaModifier and TypeMethodDescriptionvoid
DelpRule.addPremises
(Collection<? extends FolFormula> premises) boolean
DefeasibleLogicProgram.disagree
(Set<FolFormula> literals) Checks whether the given set of literals disagree with respect to the strict part of this program.DefeasibleLogicProgram.getStrictClosure
(Set<FolFormula> literals) Computes the strict closure of the program, i.e., the set of all strictly derivable literals.DefeasibleLogicProgram.getStrictClosure
(Set<FolFormula> literals, Set<DefeasibleRule> defeasibleRules) Computes the strict closure of the program, i.e., the set of all strictly derivable literals.DefeasibleLogicProgram.getStrictClosure
(Set<FolFormula> literals, Set<DefeasibleRule> defeasibleRules, boolean usefacts) Computes the strict closure of the program, i.e., the set of all strictly derivable literals.boolean
DelpRule.isApplicable
(Collection<? extends FolFormula> literals) Checks whether this rule is applicaple in the given contextliterals
,Constructors in org.tweetyproject.arg.delp.syntax with parameters of type FolFormulaModifierConstructorDescriptionDefeasibleRule
(FolFormula head, Set<FolFormula> body) Initializes the defeasible rule with the given parametersDelpArgument
(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 literalStrictRule
(FolFormula head, Set<FolFormula> body) Default constructor; initializes head and body of the strict ruleConstructor parameters in org.tweetyproject.arg.delp.syntax with type arguments of type FolFormulaModifierConstructorDescriptionDefeasibleRule
(FolFormula head, Set<FolFormula> body) Initializes the defeasible rule with the given parametersStrictRule
(FolFormula head, Set<FolFormula> body) Default constructor; initializes head and body of the strict rule -
Uses of FolFormula in org.tweetyproject.logics.fol.parser
Methods in org.tweetyproject.logics.fol.parser that return FolFormulaModifier and TypeMethodDescriptionFolParser.parseFormula
(Reader reader) TPTPParser.parseFormula
(Reader reader) -
Uses of FolFormula in org.tweetyproject.logics.fol.reasoner
Methods in org.tweetyproject.logics.fol.reasoner with parameters of type FolFormulaModifier and TypeMethodDescriptionboolean
EFOLReasoner.equivalent
(FolBeliefSet kb, FolFormula a, FolFormula b) abstract boolean
FolReasoner.equivalent
(FolBeliefSet kb, FolFormula a, FolFormula b) This method determines whether two formulas are equivalent wrt.boolean
Prover9FolReasoner.equivalent
(FolBeliefSet kb, FolFormula a, FolFormula b) boolean
SimpleFolReasoner.equivalent
(FolBeliefSet kb, FolFormula f1, FolFormula f2) boolean
SpassFolReasoner.equivalent
(FolBeliefSet kb, FolFormula a, FolFormula b) EFOLReasoner.query
(FolBeliefSet kb, FolFormula query) abstract Boolean
FolReasoner.query
(FolBeliefSet beliefbase, FolFormula formula) Prover9FolReasoner.query
(FolBeliefSet kb, FolFormula query) SimpleFolReasoner.query
(FolBeliefSet kb, FolFormula formula) SpassFolReasoner.query
(FolBeliefSet kb, FolFormula query) -
Uses of FolFormula in org.tweetyproject.logics.fol.semantics
Methods in org.tweetyproject.logics.fol.semantics with parameters of type FolFormulaModifier and TypeMethodDescriptionboolean
HerbrandInterpretation.satisfies
(FolFormula formula) Checks whether this Herbrand interpretation satisfies the given formula.Method parameters in org.tweetyproject.logics.fol.semantics with type arguments of type FolFormulaModifier and TypeMethodDescriptionboolean
HerbrandInterpretation.satisfies
(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 org.tweetyproject.logics.fol.syntax
Subclasses of FolFormula in org.tweetyproject.logics.fol.syntaxModifier and TypeClassDescriptionclass
This class captures the common functionalities first order associative formulas like conjunction, disjunction, etc.class
The classical conjunction of first-order logic.class
A contradictory formula.class
The classical disjunction of first-order logic.class
The equivalence of first-order logic.class
The exclusive disjunction (XOR) in first-order logic.class
Exists-quantified first-order logic formula.class
An atom in first-order logic, i.e.class
For-All-quantified first-order logic formula.class
The implication of first-order logic.class
The classical negation of first-order logic.class
This class captures the common functionalities of the special formulas tautology and contradiction.class
A tautological formula.Methods in org.tweetyproject.logics.fol.syntax that return FolFormulaModifier and TypeMethodDescriptionabstract FolFormula
FolFormula.clone()
ExistsQuantifiedFormula.collapseAssociativeFormulas()
FolAtom.collapseAssociativeFormulas()
ForallQuantifiedFormula.collapseAssociativeFormulas()
Negation.collapseAssociativeFormulas()
SpecialFormula.collapseAssociativeFormulas()
ExistsQuantifiedFormula.getFormula()
returns formulaForallQuantifiedFormula.getFormula()
returns formulaNegation.getFormula()
Equivalence.substitute
(Term<?> v, Term<?> t) abstract FolFormula
FolFormula.substitute
(Term<?> v, Term<?> t) Implication.substitute
(Term<?> v, Term<?> t) SpecialFormula.substitute
(Term<?> v, Term<?> t) FolFormula.toDnf()
Makes a disjunctive normal form of this formula.Conjunction.toNnf()
Disjunction.toNnf()
Equivalence.toNnf()
ExclusiveDisjunction.toNnf()
ExistsQuantifiedFormula.toNnf()
FolAtom.toNnf()
abstract FolFormula
FolFormula.toNnf()
Makes the negation normal form of this formula.ForallQuantifiedFormula.toNnf()
Implication.toNnf()
Negation.toNnf()
SpecialFormula.toNnf()
Methods in org.tweetyproject.logics.fol.syntax that return types with arguments of type FolFormulaModifier and TypeMethodDescriptionExistsQuantifiedFormula.getQuantifiedFormulas()
Return quantified formulasForallQuantifiedFormula.getQuantifiedFormulas()
Return the quantified formularsSpecialFormula.getQuantifiedFormulas()
Return formulasMethods in org.tweetyproject.logics.fol.syntax with parameters of type FolFormulaModifier and TypeMethodDescriptionboolean
AssociativeFolFormula.add
(FolFormula... formulas) Adds the specified elements to the end of this collection (optional operation).boolean
FolSignature.isRepresentable
(FolFormula folFormula) Checks whether the given formula can be represented by this signature.void
ExistsQuantifiedFormula.setFormula
(FolFormula formula) set formulavoid
ForallQuantifiedFormula.setFormula
(FolFormula formula) sets formulaConstructor parameters in org.tweetyproject.logics.fol.syntax with type arguments of type FolFormulaModifierConstructorDescriptionFolBeliefSet
(Collection<FolFormula> formulas) Creates a new first-order knowledge base with the given set of formulas. -
Uses of FolFormula in org.tweetyproject.logics.fol.writer
Methods in org.tweetyproject.logics.fol.writer with parameters of type FolFormulaModifier and TypeMethodDescriptionvoid
FolWriter.printEquivalence
(FolFormula a, FolFormula b) Prints an Equivalence.void
Prover9Writer.printEquivalence
(FolFormula a, FolFormula b) void
StandardFolWriter.printEquivalence
(FolFormula a, FolFormula b) void
TPTPWriter.printEquivalence
(FolFormula a, FolFormula b) void
FolWriter.printQuery
(FolFormula query) Prints formatted representation of a query.void
Prover9Writer.printQuery
(FolFormula query) void
StandardFolWriter.printQuery
(FolFormula query) void
TPTPWriter.printQuery
(FolFormula query) -
Uses of FolFormula in org.tweetyproject.logics.ml.reasoner
Methods in org.tweetyproject.logics.ml.reasoner with parameters of type FolFormulaModifier and TypeMethodDescriptionabstract Boolean
AbstractMlReasoner.query
(MlBeliefSet beliefbase, FolFormula formula) MleanCoPReasoner.query
(MlBeliefSet beliefbase, FolFormula formula) SimpleMlReasoner.query
(MlBeliefSet mbs, FolFormula formula) SPASSMlReasoner.query
(MlBeliefSet kb, FolFormula query) -
Uses of FolFormula in org.tweetyproject.logics.ml.semantics
Methods in org.tweetyproject.logics.ml.semantics that return types with arguments of type FolFormulaModifier and TypeMethodDescriptionAccessibilityRelation.getNodes()
Returns all interpretations of the accessibility relation.AccessibilityRelation.getSuccessors
(Interpretation<FolBeliefSet, FolFormula> i) Returns all interpretations that are accessible to a given interpretation i.Methods in org.tweetyproject.logics.ml.semantics with parameters of type FolFormulaModifier and TypeMethodDescriptionboolean
KripkeModel.satisfies
(FolFormula formula) boolean
MlHerbrandInterpretation.satisfies
(FolFormula formula) Method parameters in org.tweetyproject.logics.ml.semantics with type arguments of type FolFormulaModifier and TypeMethodDescriptionAccessibilityRelation.getSuccessors
(Interpretation<FolBeliefSet, FolFormula> i) Returns all interpretations that are accessible to a given interpretation i.boolean
MlHerbrandInterpretation.satisfies
(Set<FolFormula> formulas) Checks whether this Herbrand interpretation satisfies each of the formulas in the given set of first-order formulas.boolean
MlHerbrandInterpretation.satisfies
(Formula formula, Set<Interpretation<FolBeliefSet, FolFormula>> successors) Checks whether this Herbrand interpretation satisfies the given formula.Constructor parameters in org.tweetyproject.logics.ml.semantics with type arguments of type FolFormulaModifierConstructorDescriptionAccessibilityRelation
(Set<Pair<Interpretation<FolBeliefSet, FolFormula>, Interpretation<FolBeliefSet, FolFormula>>> tuples) Constructs a new accessibility relation.AccessibilityRelation
(Set<Pair<Interpretation<FolBeliefSet, FolFormula>, Interpretation<FolBeliefSet, FolFormula>>> tuples) Constructs a new accessibility relation.KripkeModel
(Set<? extends Interpretation<FolBeliefSet, FolFormula>> possibleWorlds, AccessibilityRelation accRelation) Creates a new Kripke model. -
Uses of FolFormula in org.tweetyproject.logics.ml.syntax
Subclasses of FolFormula in org.tweetyproject.logics.ml.syntaxModifier and TypeClassDescriptionclass
This class models a modal formula, i.e.class
This class models the necessity modality.class
This class models the possibility modality.Methods in org.tweetyproject.logics.ml.syntax that return FolFormulaModifier and TypeMethodDescriptionNecessity.clone()
Possibility.clone()
Necessity.substitute
(Term<?> v, Term<?> t) Possibility.substitute
(Term<?> v, Term<?> t) Necessity.toNnf()
Possibility.toNnf()
-
Uses of FolFormula in org.tweetyproject.logics.mln.reasoner
Methods in org.tweetyproject.logics.mln.reasoner with parameters of type FolFormulaModifier and TypeMethodDescriptiondouble
AlchemyMlnReasoner.doQuery
(MarkovLogicNetwork mln, FolFormula query, FolSignature signature) double
SimpleMlnReasoner.doQuery
(MarkovLogicNetwork mln, FolFormula query, FolSignature signature) AbstractMlnReasoner.query
(MarkovLogicNetwork mln, FolFormula query) AbstractMlnReasoner.query
(MarkovLogicNetwork mln, FolFormula query, FolSignature signature) Queries the given MLN wrt. -
Uses of FolFormula in org.tweetyproject.logics.mln.syntax
Methods in org.tweetyproject.logics.mln.syntax that return FolFormulaConstructors in org.tweetyproject.logics.mln.syntax with parameters of type FolFormulaModifierConstructorDescriptionMlnFormula
(FolFormula formula) Creates a new strict MLN formula with the given formula.MlnFormula
(FolFormula formula, 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 org.tweetyproject.logics.rcl.reasoner
Methods in org.tweetyproject.logics.rcl.reasoner with parameters of type FolFormulaModifier and TypeMethodDescriptionSimpleRelationalCReasoner.query
(RclBeliefSet bs, FolFormula query) SimpleRelationalCReasoner.query
(RclBeliefSet bs, FolFormula query, FolSignature signature) Queries the given belief set wrt. -
Uses of FolFormula in org.tweetyproject.logics.rcl.semantics
Methods in org.tweetyproject.logics.rcl.semantics with parameters of type FolFormulaModifier and TypeMethodDescriptionRelationalRankingFunction.rank
(FolFormula formula) Gets the rank of the given sentence (ground formula). -
Uses of FolFormula in org.tweetyproject.logics.rcl.syntax
Methods in org.tweetyproject.logics.rcl.syntax that return FolFormulaMethods in org.tweetyproject.logics.rcl.syntax that return types with arguments of type FolFormulaModifier and TypeMethodDescriptionCollection
<? extends FolFormula> RelationalConditional.getPremise()
Methods in org.tweetyproject.logics.rcl.syntax with parameters of type FolFormulaModifier and TypeMethodDescriptionvoid
RelationalConditional.addPremise
(FolFormula premise) void
RelationalConditional.setConclusion
(FolFormula conclusion) Method parameters in org.tweetyproject.logics.rcl.syntax with type arguments of type FolFormulaModifier and TypeMethodDescriptionvoid
RelationalConditional.addPremises
(Collection<? extends FolFormula> premises) Constructors in org.tweetyproject.logics.rcl.syntax with parameters of type FolFormulaModifierConstructorDescriptionRelationalConditional
(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 org.tweetyproject.logics.rdl.reasoner
Methods in org.tweetyproject.logics.rdl.reasoner with parameters of type FolFormulaModifier and TypeMethodDescriptionSimpleDefaultReasoner.query
(DefaultTheory theory, FolFormula query) SimpleDefaultReasoner.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 org.tweetyproject.logics.rdl.semantics
Methods in org.tweetyproject.logics.rdl.semantics that return types with arguments of type FolFormulaModifier and TypeMethodDescriptionDefaultSequence.getIn()
Return the sequence's in setDefaultSequence.getOut()
Return the sequence's out setExtension.iterator()
Methods in org.tweetyproject.logics.rdl.semantics with parameters of type FolFormulaModifier and TypeMethodDescriptionboolean
Extension.add
(FolFormula e) boolean
Extension.satisfies
(FolFormula formula) Method parameters in org.tweetyproject.logics.rdl.semantics with type arguments of type FolFormulaConstructor parameters in org.tweetyproject.logics.rdl.semantics with type arguments of type FolFormulaModifierConstructorDescriptionExtension
(Collection<FolFormula> formulas) Creates a new extension with the given set of formulas. -
Uses of FolFormula in org.tweetyproject.logics.rdl.syntax
Methods in org.tweetyproject.logics.rdl.syntax that return FolFormulaModifier and TypeMethodDescriptionDefaultRule.getConclusion()
Return the default's conclusionDefaultRule.getPrerequisite()
Return the default's prerequisiteMethods in org.tweetyproject.logics.rdl.syntax that return types with arguments of type FolFormulaModifier and TypeMethodDescriptionDefaultRule.getJustification()
Return the default's justificationConstructors in org.tweetyproject.logics.rdl.syntax with parameters of type FolFormulaModifierConstructorDescriptionDefaultRule
(FolFormula pre, Collection<FolFormula> jus, FolFormula conc) Creates a new DefaultRuleDefaultRule
(FolFormula pre, FolFormula jus, FolFormula conc) Creates a new DefaultRuleConstructor parameters in org.tweetyproject.logics.rdl.syntax with type arguments of type FolFormulaModifierConstructorDescriptionDefaultRule
(FolFormula pre, Collection<FolFormula> jus, FolFormula conc) Creates a new DefaultRule -
Uses of FolFormula in org.tweetyproject.logics.rpcl.reasoner
Methods in org.tweetyproject.logics.rpcl.reasoner with parameters of type FolFormulaModifier and TypeMethodDescriptionRpclMeReasoner.query
(RpclBeliefSet beliefbase, FolFormula formula) RpclMeReasoner.query
(RpclBeliefSet beliefbase, FolFormula query, FolSignature signature) Queries the knowledge base wrt. -
Uses of FolFormula in org.tweetyproject.logics.rpcl.semantics
Classes in org.tweetyproject.logics.rpcl.semantics with type parameters of type FolFormulaModifier and TypeClassDescriptionclass
Objects of this class represent probability distributions on the interpretations of an underlying first-order signature for a relational probabilistic conditional knowledge base.Methods in org.tweetyproject.logics.rpcl.semantics with parameters of type FolFormulaModifier and TypeMethodDescriptionReferenceWorld.getMultiplicator
(FolFormula f) Returns the multiplicator of this reference world for the given formula, i.e.CondensedProbabilityDistribution.probability
(FolFormula f) RpclProbabilityDistribution.probability
(FolFormula f) Gets the probability of the given closed formula, i.e.boolean
ReferenceWorld.satisfies
(FolFormula formula) Method parameters in org.tweetyproject.logics.rpcl.semantics with type arguments of type FolFormulaModifier and TypeMethodDescriptionabstract Statement
AbstractRpclSemantics.getSatisfactionStatement
(RelationalProbabilisticConditional r, FolSignature signature, Map<Interpretation<FolBeliefSet, FolFormula>, FloatVariable> worlds2vars) AggregatingSemantics.getSatisfactionStatement
(RelationalProbabilisticConditional r, FolSignature signature, Map<Interpretation<FolBeliefSet, FolFormula>, FloatVariable> worlds2vars) AveragingSemantics.getSatisfactionStatement
(RelationalProbabilisticConditional r, FolSignature signature, Map<Interpretation<FolBeliefSet, FolFormula>, FloatVariable> worlds2vars) RpclSemantics.getSatisfactionStatement
(RelationalProbabilisticConditional r, FolSignature signature, Map<Interpretation<FolBeliefSet, FolFormula>, FloatVariable> worlds2vars) Returns the mathematical statement corresponding to the satisfaction of the given conditional wrt. -
Uses of FolFormula in org.tweetyproject.logics.rpcl.syntax
Constructors in org.tweetyproject.logics.rpcl.syntax with parameters of type FolFormulaModifierConstructorDescriptionRelationalProbabilisticConditional
(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 org.tweetyproject.logics.translators.aspfol
Methods in org.tweetyproject.logics.translators.aspfol that return FolFormulaModifier and TypeMethodDescriptionAspFolTranslator.toFOL
(ASPLiteral source) Translates an ASPLiteral to a FolFormula.Methods in org.tweetyproject.logics.translators.aspfol with parameters of type FolFormulaModifier and TypeMethodDescriptionAspFolTranslator.toASP
(FolFormula source) Translates a FolFormula to an ASPLiteral. -
Uses of FolFormula in org.tweetyproject.logics.translators.folprop
Methods in org.tweetyproject.logics.translators.folprop that return FolFormulaModifier and TypeMethodDescriptionReturn FolFormula toFOLMethods in org.tweetyproject.logics.translators.folprop with parameters of type FolFormulaModifier and TypeMethodDescriptionFOLPropTranslator.toPropositional
(FolFormula folFormula) Return PlFormula toPropositional -
Uses of FolFormula in org.tweetyproject.lp.nlp.syntax
Subclasses of FolFormula in org.tweetyproject.lp.nlp.syntaxModifier and TypeClassDescriptionclass
A default negation of a first order formula, nested logic programs only allow not quantified formulas.Methods in org.tweetyproject.lp.nlp.syntax that return FolFormulaMethods in org.tweetyproject.lp.nlp.syntax that return types with arguments of type FolFormulaModifier and TypeMethodDescriptionNLPProgram.getFacts()
Retrieves a set of facts from the nested logic program.NLPRule.getPremise()
Methods in org.tweetyproject.lp.nlp.syntax with parameters of type FolFormulaModifier and TypeMethodDescriptionvoid
NLPProgram.addFact
(FolFormula fact) Adds a fact to the nested logic program.void
NLPProgram.addFacts
(FolFormula... facts) Adds multiple facts to the nested logic program.void
NLPRule.addPremise
(FolFormula premise) void
NLPRule.setConclusion
(FolFormula conclusion) Method parameters in org.tweetyproject.lp.nlp.syntax with type arguments of type FolFormulaModifier and TypeMethodDescriptionvoid
NLPRule.addPremises
(Collection<? extends FolFormula> premises) Constructors in org.tweetyproject.lp.nlp.syntax with parameters of type FolFormulaModifierConstructorDescriptionNLPNot
(FolFormula inner) Ctor: Creates a new default not for nested logic programs by using the given FOL formula as inner formula.NLPRule
(FolFormula conclusion) Constructor that creates a `NLPRule` with a specified conclusion.NLPRule
(FolFormula conclusion, Collection<FolFormula> premise) Constructor that creates a `NLPRule` with a specified conclusion and a collection of premises.NLPRule
(FolFormula conclusion, FolFormula premise) Constructor that creates a `NLPRule` with a specified conclusion and a single premise.Constructor parameters in org.tweetyproject.lp.nlp.syntax with type arguments of type FolFormulaModifierConstructorDescriptionNLPRule
(FolFormula conclusion, Collection<FolFormula> premise) Constructor that creates a `NLPRule` with a specified conclusion and a collection of premises.