Uses of Class
edu.uky.cs.nil.tt.world.Proposition
Packages that use Proposition
Package
Description
Story
worlds define the objects, concepts, and actions that
exist in a story, and story world models define the logic
for when actions can happen, how actions change the current state of world,
when endings happen, etc.-
Uses of Proposition in edu.uky.cs.nil.tt.world
Fields in edu.uky.cs.nil.tt.world declared as PropositionModifier and TypeFieldDescriptionfinal PropositionEffect.conditionA condition which, if true, means this effect will occurstatic final PropositionProposition.FALSEA proposition that is alwaysfalsestatic final PropositionProposition.TRUEA proposition that is alwaystrueMethods in edu.uky.cs.nil.tt.world that return PropositionModifier and TypeMethodDescriptionLogicalWorld.getCondition(Ending ending) Returns a logical proposition that defines when an ending should occur.LogicalWorld.getPrecondition(Action action) Returns a logical proposition that defines when an action can be taken.LogicalWorld.getVisibility(Action action) Returns a logical proposition that defines when theplayerwould see an action happen.LogicalWorld.getVisibility(Entity entity) Returns a logical proposition that defines when theplayercan see an entity.LogicalWorld.getVisibility(Variable variable) Returns a logical proposition that defines when theplayercan see a varaiable's value.Proposition.substitute(Function<Object, Object> substitution) Methods in edu.uky.cs.nil.tt.world with parameters of type PropositionModifier and TypeMethodDescriptionvoidLogicalWorld.setCondition(Ending ending, Proposition condition) Sets the logical proposition that defines when an ending should occur.voidLogicalWorld.setPrecondition(Action action, Proposition precondition) Sets the logical proposition that defines when an action can be taken.voidLogicalWorld.setVisibility(Action action, Proposition visibility) Sets the logical proposition that defines when theplayercan see an action happen.voidLogicalWorld.setVisibility(Entity entity, Proposition visibility) Sets the logical proposition that defines when theplayercan see an entity.voidLogicalWorld.setVisibility(Variable variable, Proposition visibility) Sets the logical proposition that defines when theplayercan see the value of a variable.Constructors in edu.uky.cs.nil.tt.world with parameters of type PropositionModifierConstructorDescriptionEffect(Proposition condition, Variable variable, Expression value) Constructs a new effect with a condition, variable, and value.