Package edu.uky.cs.nil.tt.world
package edu.uky.cs.nil.tt.world
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.-
ClassDescriptionAn asset is any named object or concept in a
story world.A tool for defining theassetsused in astory world.A constant is alogical valuethat always exists in allstory worlds, such a the Boolean concepts of True and False, numbers, and so on.A described object is associated with a human-readable natural language description.A tool for generating English descriptions of certain objects based on natural language templates.The names of elements which can be replaced in description templatesAdescriberrule has two parts: a context that defines when to apply it and a natural language template to use when this rule is applied.A verb is an object used in the templates of adescriber.An encoded object has a unique string of1's and0's that uniquely distinguishes it object from others of the same type in the samestory world.An ending is asigned assetthat represents one of several possible ways a story can end.An entity is anassetthat represents a character, object, place, or idea in astory world.A logical object is anything that is itself a predicate logic formula or contains a predicate logic formula.A logicalworld modelimplements the internal logic of a story world usinglogical propositionsand describes its elements using a rule-baseddescriber.A proposition is alogical expressionthat can be either true or false.An operator defines the behavior of aproposition.A signed asset is anassetwhich has a uniquesignatureamong all other assets of that type in astory world.A status contains the full history of asessionin astory world, a description of its currentstate, and a list ofturnsthat can be taken next (if any).The kind of turn being takenA unique object has a sequential integer ID that specifically distinguishes it from other objects of the same type in the samestory world.A value is alogical expressionwhichevaluatesto itself.A world model is an implementation of astory worldthat contains the necessary logic to simulate howturnschange the story state.