Uses of Interface
edu.uky.ai.logic.Proposition
Packages that use Proposition
Package
Description
Contains objects for representing logical formulas.
Contains objects for representing planning problems, planning algorithms, and plans.
Contains objects for representing forward and backward state space
search and state space planners.
-
Uses of Proposition in edu.uky.ai.logic
Subinterfaces of Proposition in edu.uky.ai.logicModifier and TypeInterfaceDescriptioninterface
An atom is the smallest indivisible unit of a logical language that has a truth value.interface
A literal is anAtom
or anegated atom
.Classes in edu.uky.ai.logic that implement PropositionModifier and TypeClassDescriptionclass
An individual statement that has a truth value (the atoms of propositional logic).class
The parent class of all Boolean expressions, whose truth value is defined by combining other expressions.class
A conjunction, or logical AND statement, is true just when all of its arguments are true.class
A disjunction, or logical OR statement, is true just when one or more of its arguments are true.class
An implication, or logical IF statement, is defined by the truth value of its two parts, the antecedent and the consequent.class
class
Represents the negation (or opposite) of a proposition.class
The atoms of predicate logic, which are composed of statements that express relationships between things in the world (i.e.Fields in edu.uky.ai.logic declared as PropositionModifier and TypeFieldDescriptionfinal Proposition
Implication.antecedent
The first part of the implicationfinal Proposition
Negation.argument
The proposition this formula is the opposite offinal Proposition
Implication.consequent
The second part of the implication, which is implied by the antecedentFields in edu.uky.ai.logic with type parameters of type PropositionModifier and TypeFieldDescriptionfinal ImmutableArray<Proposition>
BooleanProposition.arguments
The other propositions that are part of this Boolean propositionMethods in edu.uky.ai.logic that return PropositionModifier and TypeMethodDescriptionImplication.negate()
Negation.negate()
Proposition.negate()
Returns a proposition whose truth values are opposite of this proposition (i.e.Conjunction.simplify()
Disjunction.simplify()
Implication.simplify()
Negation.simplify()
Proposition.simplify()
Returns an equivalent proposition which may be simpler.Conjunction.substitute
(Substitution substitution) Disjunction.substitute
(Substitution substitution) Implication.substitute
(Substitution substitution) Negation.substitute
(Substitution substitution) Proposition.substitute
(Substitution substitution) Conjunction.toCNF()
Disjunction.toCNF()
Implication.toCNF()
Negation.toCNF()
Proposition.toCNF()
Converts this proposition to Conjunctive Normal Form (CNF).Conjunction.toDNF()
Disjunction.toDNF()
Implication.toDNF()
Negation.toDNF()
Proposition.toDNF()
Converts this proposition to Disjunctive Normal Form (DNF).default Proposition
State.toProposition()
Represents this state as a proposition which would be true in this state and false in any other state (typically aConjunction
of allAtom
s that are currently true).Methods in edu.uky.ai.logic that return types with arguments of type PropositionModifier and TypeMethodDescriptionprotected ImmutableArray<Proposition>
BooleanProposition.negateArguments()
Returns the arguments of this formula after negating each of them.protected ImmutableArray<Proposition>
BooleanProposition.substituteArguments
(Substitution substitution) Returns the arguments of this formula after applying the given substitution.Constructors in edu.uky.ai.logic with parameters of type PropositionModifierConstructorDescriptionConjunction
(Proposition... arguments) Constructs a conjunction from a group of arguments.Disjunction
(Proposition... arguments) Constructs a disjunction from a group of arguments.Implication
(Proposition antecedent, Proposition consequent) Constructs an implication from a given antecedent and consequent.Negation
(Proposition argument) Constructs a new negation with the given proposition.Constructor parameters in edu.uky.ai.logic with type arguments of type PropositionModifierConstructorDescriptionBooleanProposition
(ImmutableArray<Proposition> arguments) Constructs a new Boolean proposition with the given arguments.Conjunction
(ImmutableArray<Proposition> arguments) Constructs a conjunction from a group of arguments.Conjunction
(Iterable<? extends Proposition> arguments) Constructs a conjunction from a group of arguments.Disjunction
(ImmutableArray<Proposition> arguments) Constructs a disjunction from a group of arguments.Disjunction
(Iterable<? extends Proposition> arguments) Constructs a disjunction from a group of arguments. -
Uses of Proposition in edu.uky.ai.planning
Fields in edu.uky.ai.planning declared as PropositionModifier and TypeFieldDescriptionfinal Proposition
Operator.effect
What becomes true after the action is takenfinal Proposition
Step.effect
What becomes true after the step has been takenfinal Proposition
Problem.goal
Some goal that needs to be achieved by any solution to this problemfinal Proposition
Operator.precondition
What must be true before the action can be takenfinal Proposition
Step.precondition
What must be true before the step can be takenMethods in edu.uky.ai.planning with parameters of type PropositionModifier and TypeMethodDescriptionUtilities.asLiterals
(Proposition proposition) Since the precondition and effect of an action should be either a literal or a conjunction of literals, this utility method takes such a proposition and converts it into anIterable
.static final void
Utilities.forEachLiteral
(Proposition proposition, Consumer<? super Literal> consumer) Since the precondition and effect of an action should be either a literal or a conjunction of literals, this utility method takes such a proposition and feeds each of its literals to aConsumer
.static final Literal[]
Utilities.toLiterals
(Proposition proposition) Since the precondition and effect of an action should be either a literal or a conjunction of literals, this utility method takes such a proposition and converts it into an array of literals.Constructors in edu.uky.ai.planning with parameters of type PropositionModifierConstructorDescriptionOperator
(String name, Variable[] parameters, Proposition precondition, Proposition effect) Constructs a new action template.Operator
(String name, ImmutableArray<Variable> parameters, Proposition precondition, Proposition effect) Constructs a new action template.Constructs a new problem.Problem
(String name, Domain domain, ImmutableArray<Constant> objects, State initial, Proposition goal) Constructs a new problem.Step
(String name, Proposition precondition, Proposition effect) Constructs a new step. -
Uses of Proposition in edu.uky.ai.planning.ss
Methods in edu.uky.ai.planning.ss with parameters of type PropositionModifier and TypeMethodDescriptiondouble
StateSpaceHeuristic.evaluate
(StateSpaceProblem problem, State state, Proposition goal) For a given problem, estimate the distance between the given state and the given goal proposition in number of steps.