Uses of Class
org.tweetyproject.logics.pl.syntax.Proposition
Package
Description
-
Uses of Proposition in org.tweetyproject.action.query.syntax
Modifier and TypeClassDescriptionclass
This class represents an always query in the action query language S.class
This class represents a holds query in the action query language S.class
This class represents a necessarily query in the action query language S.class
Action queries are represented as propositional formulas with three possible types of propositions: "holds", "always" and "necessarily" propositions. -
Uses of Proposition in org.tweetyproject.agents.dialogues.structured
Modifier and TypeMethodDescriptionint
CountingUtilityFunction.rank
(Collection<? extends Proposition> propositions) int
IndicatorUtilityFunction.rank
(Collection<? extends Proposition> propositions) int
MultipleIndicatorUtilityFunction.rank
(Collection<? extends Proposition> propositions) int
SasAgent.rank
(Collection<? extends Proposition> propositions) Ranks the given collection of propositions wrt.int
UtilityFunction.rank
(Collection<? extends Proposition> propositions) Rank the given collection of propositions.ModifierConstructorDescriptionCautiousArgumentationAgent
(StructuredArgumentationFramework view, UtilityFunction utility, boolean isSingleStep, Proposition focalElement) Creates a new agent with the given (local) view and utility function.CautiousArgumentationAgent
(StructuredArgumentationFramework view, UtilityFunction utility, Proposition focalElement) Creates a new (non-single-step) agent with the given (local) view and utility function.IndicatorUtilityFunction
(Proposition focalElement) Creates a new indicator utility function for the given focal element.OvercautiousArgumentationAgent
(StructuredArgumentationFramework view, UtilityFunction utility, boolean isSingleStep, Proposition focalElement) Creates a new agent with the given (local) view and utility function.OvercautiousArgumentationAgent
(StructuredArgumentationFramework view, UtilityFunction utility, Proposition focalElement) Creates a new (non-single-step) agent with the given (local) view and utility function.ModifierConstructorDescriptionCountingUtilityFunction
(Collection<? extends Proposition> focalSet) Creates a new counting utility function for the given focal set.MultipleIndicatorUtilityFunction
(Collection<? extends Proposition> focalSet) Creates a new multiple indicator utility function for the given focal set. -
Uses of Proposition in org.tweetyproject.arg.dung.causal.syntax
Modifier and TypeMethodDescriptionCausalModel.getBackGroundAtoms()
Retrieves a copy of the set of background atoms currently defined in the causal model.CausalModel.getExplainableAtoms()
Retrieves a copy of the set of explainable atoms currently defined in the causal model.InterventionalStatement.getInterventions()
Retrieves the interventions of this causal statement.Modifier and TypeMethodDescriptionboolean
CausalModel.addBackgroundAtom
(Proposition atom) Adds a specified atom to the background atoms of this instance.boolean
CausalModel.addExplainableAtom
(Proposition atom, Equivalence structuralEquation) Adds a specified atom to the explainable atoms of this instance and the specified equivalence as a structural equation for this atom.void
CausalModel.intervene
(Proposition v, boolean x) This method implements the interventional statement, by replacing all structural equations for the specified explainable atom "v" of this causal model with a formula "v = x".ModifierConstructorDescriptionCausalModel
(Set<Proposition> backGroundAtoms, Set<Proposition> explainableAtoms, Set<Equivalence> structuralEquations) Creates a causal modelCounterfactualStatement
(HashSet<PlFormula> conclusions, HashMap<Proposition, Boolean> interventions, HashSet<PlFormula> premises) Creates a new counterfactual causal statement.InterventionalStatement
(HashSet<PlFormula> conclusions, HashMap<Proposition, Boolean> interventions, HashSet<PlFormula> premises) Creates a new interventional causal statement. -
Uses of Proposition in org.tweetyproject.arg.saf.reasoner
Modifier and TypeMethodDescriptionOutputReasoner.getOutput
(StructuredArgumentationFramework saf) Returns the output this reasoner bases upon.Modifier and TypeMethodDescriptionOutputReasoner.query
(StructuredArgumentationFramework beliefbase, Proposition formula) -
Uses of Proposition in org.tweetyproject.arg.saf.syntax
Modifier and TypeMethodDescriptionArgumentStructure.getClaim()
Returns the claim of this argument structure, i.e.BasicArgument.getConclusion()
Modifier and TypeMethodDescriptionStructuredArgumentationFramework.getAllPropositions()
Retrieves all propositions from the collection of formulas in this object.BasicArgument.getPremise()
Modifier and TypeMethodDescriptionvoid
BasicArgument.addPremise
(Proposition premise) void
BasicArgument.setConclusion
(Proposition conclusion) Modifier and TypeMethodDescriptionvoid
BasicArgument.addPremises
(Collection<? extends Proposition> premises) ModifierConstructorDescriptionBasicArgument
(Proposition claim) Creates a new basic argument with the given claim and empty support.BasicArgument
(Proposition claim, Set<Proposition> support) Creates a new basic argument with the given claim and the given support.ModifierConstructorDescriptionBasicArgument
(Proposition claim, Set<Proposition> support) Creates a new basic argument with the given claim and the given support. -
Uses of Proposition in org.tweetyproject.logics.cl.semantics
Modifier and TypeMethodDescriptionConditionalStructure.getSignature()
Return An unmodifiable Collection containing all propositions that altogether form the signature of the ConditionalStructureModifier and TypeMethodDescriptionvoid
ConditionalStructure.setWorldRepresentation
(Comparator<Pair<Proposition, Boolean>> comparator) Changes the internal representations of the worlds, normally the propositions of a world are ordered alphabetically but this behavior can be changed using this method. -
Uses of Proposition in org.tweetyproject.logics.cl.syntax
-
Uses of Proposition in org.tweetyproject.logics.pl.analysis
Modifier and TypeFieldDescriptionSimplePrimeImplicantEnumerator.minModelProvider
minimal model providerSimpleMinimalModelProvider.modelProvider
model providerModifierConstructorDescriptionSimpleMinimalModelProvider
(ModelProvider<?, PlBeliefSet, InterpretationSet<Proposition, PlBeliefSet, PlFormula>> modelProvider) standard constructor with model providerSimplePrimeImplicantEnumerator
(MinimalModelProvider<Proposition, PlBeliefSet, PlFormula> minModelProvider) Constructor -
Uses of Proposition in org.tweetyproject.logics.pl.sat
Modifier and TypeMethodDescriptionSimpleModelEnumerator.getModel
(PlBeliefSet bbase) SimpleModelEnumerator.getModels
(Collection<PlFormula> formulas) Return all models satifying the formulasSimpleModelEnumerator.getModels
(PlBeliefSet bbase) Modifier and TypeMethodDescriptionDimacsSatSolver.convertToDimacs
(Collection<PlFormula> formulas, Map<Proposition, Integer> prop_index, List<String> additional_clauses) Convert to dimacsCmdLineSatSolver.getWitness
(Collection<PlFormula> formulas, Map<Proposition, Integer> prop_index, Map<Integer, Proposition> prop_inverted_index, List<String> additional_clauses) abstract Interpretation
<PlBeliefSet, PlFormula> DimacsSatSolver.getWitness
(Collection<PlFormula> formulas, Map<Proposition, Integer> prop_index, Map<Integer, Proposition> prop_inverted_index, List<String> additional_clauses) If the collection of formulas is consistent this method returns some model of it or, if it is inconsistent, null.Sat4jSolver.getWitness
(Collection<PlFormula> formulas, Map<Proposition, Integer> prop_index, Map<Integer, Proposition> prop_inverted_index, List<String> additional_clauses) boolean
CmdLineSatSolver.isSatisfiable
(Collection<PlFormula> formulas, Map<Proposition, Integer> prop_index, List<String> additional_clauses) abstract boolean
DimacsMaxSatSolver.isSatisfiable
(Collection<PlFormula> formulas, Map<Proposition, Integer> prop_index) Return "true" if the set is consistent.abstract boolean
DimacsSatSolver.isSatisfiable
(Collection<PlFormula> formulas, Map<Proposition, Integer> prop_index, List<String> additional_clauses) Checks whether the given set of formulas is satisfiable.boolean
OpenWboSolver.isSatisfiable
(Collection<PlFormula> formulas, Map<Proposition, Integer> prop_index) boolean
Sat4jSolver.isSatisfiable
(Collection<PlFormula> formulas, Map<Proposition, Integer> prop_index, List<String> additional_clauses) -
Uses of Proposition in org.tweetyproject.logics.pl.semantics
Modifier and TypeMethodDescriptionFuzzyInterpretation.entrySet()
PriestWorld.getBinarybase()
Returns the binary base of this world, i.e.PriestWorld.getConflictbase()
Returns the conflict base of this world, i.e.NicePossibleWorld.getRepresentationStructure()
Return The representation structure as a set of (proposition, boolean)FuzzyInterpretation.keySet()
Modifier and TypeMethodDescriptionPriestWorld.get
(Proposition p) Returns the truth value of the given proposition.FuzzyInterpretation.put
(Proposition arg0, Double arg1) void
PriestWorld.set
(Proposition p, PriestWorld.TruthValue val) Sets the value of the given proposition.Modifier and TypeMethodDescriptionint
NicePossibleWorld.compare
(Pair<Proposition, Boolean> o1, Pair<Proposition, Boolean> o2) static Set
<NicePossibleWorld> NicePossibleWorld.getAllPossibleWorlds
(Collection<Proposition> signature) Return all possible nice worldsstatic Set
<PossibleWorld> PossibleWorld.getAllPossibleWorlds
(Collection<Proposition> signature) Returns the set of all possible worlds for the given propositional signature.void
FuzzyInterpretation.putAll
(Map<? extends Proposition, ? extends Double> arg0) void
NicePossibleWorld.setComparator
(Comparator<Pair<Proposition, Boolean>> comparator) Changes the used comparator to sort the representation structure and resorts the representation.boolean
NicePossibleWorld.setSignature
(Collection<Proposition> signature) Changes the signature of the world.ModifierConstructorDescriptionNicePossibleWorld
(Collection<Proposition> trueInWorld, Collection<Proposition> signature) Ctor: Generates the possible world using the given set of true propositions and generated a representation of the possible world using the given signature.NicePossibleWorld
(Collection<Proposition> trueInWorld, Collection<Proposition> signature, Comparator<Pair<Proposition, Boolean>> comparator) Ctor: Generates the possible world using the given set of true propositions and generated a representation of the possible world using the given signature.NicePossibleWorld
(Collection<Proposition> trueInWorld, Collection<Proposition> signature, Comparator<Pair<Proposition, Boolean>> comparator) Ctor: Generates the possible world using the given set of true propositions and generated a representation of the possible world using the given signature.PossibleWorld
(Collection<? extends Proposition> propositions) Creates a new possible world with the given set of propositions. -
Uses of Proposition in org.tweetyproject.logics.pl.syntax
Modifier and TypeMethodDescriptionAssociativePlFormula.getAtoms()
Equivalence.getAtoms()
Implication.getAtoms()
Negation.getAtoms()
abstract Set
<Proposition> PlFormula.getAtoms()
Proposition.getAtoms()
SpecialFormula.getAtoms()
Modifier and TypeMethodDescriptionint
Proposition.compareTo
(Proposition o) int
AssociativePlFormula.numberOfOccurrences
(Proposition p) int
Equivalence.numberOfOccurrences
(Proposition p) int
Implication.numberOfOccurrences
(Proposition p) int
Negation.numberOfOccurrences
(Proposition p) abstract int
PlFormula.numberOfOccurrences
(Proposition p) Returns the number of occurrences of the given proposition within this formulaint
Proposition.numberOfOccurrences
(Proposition p) int
SpecialFormula.numberOfOccurrences
(Proposition p) Conjunction.replace
(Proposition p, PlFormula f, int i) Disjunction.replace
(Proposition p, PlFormula f, int i) Equivalence.replace
(Proposition p, PlFormula f, int i) ExclusiveDisjunction.replace
(Proposition p, PlFormula f, int i) Implication.replace
(Proposition p, PlFormula f, int i) Negation.replace
(Proposition p, PlFormula f, int i) abstract PlFormula
PlFormula.replace
(Proposition p, PlFormula f, int i) Replaces the ith instance of the proposition p by f.Proposition.replace
(Proposition p, PlFormula f, int i) SpecialFormula.replace
(Proposition p, PlFormula f, int i) ModifierConstructorDescriptionPlSignature
(Collection<? extends Proposition> propositions) Creates a new propositional signature with the given set of propositions. -
Uses of Proposition in org.tweetyproject.logics.pl.util
Modifier and TypeMethodDescriptionstatic PlBeliefSet
CardinalityConstraintEncoder.getBinomialEncoding
(Collection<Proposition> atoms, int atMost) Returns a naive SAT encoding of the given cardinality constraint.static Conjunction
CardinalityConstraintEncoder.getNaiveAtMostOneEncoding
(Collection<Proposition> atoms) Returns a naive at-most-1 encoding for the given set of atoms.static PlBeliefSet
CardinalityConstraintEncoder.getSequentialCounterEncoding
(Collection<Proposition> atoms, int atMost, String name) Returns a SAT encoding of the given cardinality constraint based on the method of [Sinz.ModifierConstructorDescriptionCardinalityConstraintEncoder
(Collection<Proposition> atoms, int atMost) Create a new at-most-n cardinality constraint with the given set of atoms and the given n. -
Uses of Proposition in org.tweetyproject.logics.qbf.semantics
Modifier and TypeMethodDescriptionQbPossibleWorld.substitute
(PlFormula f, Proposition v) Substitutes all occurrences of the proposition v with the possible truth values and returns a set of the possible substitutions.Modifier and TypeMethodDescriptionstatic Set
<QbPossibleWorld> QbPossibleWorld.getAllPossibleWorlds
(Collection<Proposition> signature) Returns the set of all possible worlds for the given propositional signature.ModifierConstructorDescriptionQbPossibleWorld
(Collection<? extends Proposition> propositions) Creates a new possible world with the given set of propositions. -
Uses of Proposition in org.tweetyproject.logics.qbf.syntax
Modifier and TypeMethodDescriptionExistsQuantifiedFormula.getAtoms()
ForallQuantifiedFormula.getAtoms()
ExistsQuantifiedFormula.getQuantifierVariables()
Return the quantifier variables (propositions)ForallQuantifiedFormula.getQuantifierVariables()
Return the quantified variables (propositions)Modifier and TypeMethodDescriptionint
ExistsQuantifiedFormula.numberOfOccurrences
(Proposition p) int
ForallQuantifiedFormula.numberOfOccurrences
(Proposition p) ExistsQuantifiedFormula.replace
(Proposition p, PlFormula f, int i) ForallQuantifiedFormula.replace
(Proposition p, PlFormula f, int i) ModifierConstructorDescriptionExistsQuantifiedFormula
(PlFormula f, Proposition variable) Create a new existential boolean quantification.ForallQuantifiedFormula
(PlFormula f, Proposition variable) Create a new universal boolean quantification.ModifierConstructorDescriptionExistsQuantifiedFormula
(PlFormula f, Set<Proposition> variables) Create a new existential boolean quantification.ForallQuantifiedFormula
(PlFormula f, Set<Proposition> variables) Create a new universal boolean quantification. -
Uses of Proposition in org.tweetyproject.logics.qbf.writer
Modifier and TypeMethodDescriptionQdimacsWriter.printVariables
(Set<Proposition> vars, Map<Proposition, Integer> mappings) Prints the variable mappings for a given set of propositions.QdimacsWriter.printVariables
(Set<Proposition> vars, Map<Proposition, Integer> mappings) Prints the variable mappings for a given set of propositions. -
Uses of Proposition in org.tweetyproject.logics.translators.adfconditional
Modifier and TypeMethodDescriptionFourValuedWorld.get
(Proposition p) Returns the truth value of the given proposition.ThreeValuedWorld.get
(Proposition p) Returns the truth value of the given proposition.void
FourValuedWorld.set
(Proposition p, FourValuedWorld.TruthValue val) Sets the value of the given proposition.void
ThreeValuedWorld.set
(Proposition p, ThreeValuedWorld.TruthValue val) Sets the value of the given proposition. -
Uses of Proposition in org.tweetyproject.logics.translators.adfrevision
Modifier and TypeMethodDescriptionIndecision.getAtoms()
WeakNegation.getAtoms()
PriestWorldAdapted.getBinarybase()
Returns the binary base of this world, i.e.PriestWorldAdapted.getConflictbase()
Returns the conflict base of this world, i.e.Modifier and TypeMethodDescriptionPriestWorldAdapted.get
(Proposition p) Returns the truth value of the given proposition.int
Indecision.numberOfOccurrences
(Proposition p) int
WeakNegation.numberOfOccurrences
(Proposition p) Indecision.replace
(Proposition p, PlFormula f, int i) WeakNegation.replace
(Proposition p, PlFormula f, int i) void
PriestWorldAdapted.set
(Proposition p, PriestWorldAdapted.TruthValue val) Sets the value of the given proposition. -
Uses of Proposition in org.tweetyproject.logics.translators.folprop
Modifier and TypeMethodDescriptionFOLPropTranslator.toPropositional
(FolAtom atom) Translates the given FOL-Atom into a PropositionModifier and TypeMethodDescriptionFOLPropTranslator.toFOL
(Proposition proposition) Translates the given proposition into a FOL-Atom