ABLE 2.3.0 07/13/2005 14:21:00

Package com.ibm.able.examples.rules

The rules Examples package contains a number of different types of examples.

See:
          Description

Class Summary
AbleRuleSetFromAPI Construct a ruleset using the APIs.
AnimalRuleSetApp This class illustrates reading a ruleset, initializing it, and passing data into it, and retrieving the result.
AppRuleSet This class illustrates reading a ruleset, initializing it, and passing data into it, and retrieving the result.
Chest A chest has a name, contains items and knows what can unlock it.
Customer A customer has a name, age, and nationality.
Goal Goal (goal-is-to) in monkeys-and-bananas world
Grocery A Grocery item has a name, a containerType, a size, can be frozen, can require insulation, and knows which bag in which its been placed.
GroceryBag A grocery bag has an id, and contains items sized small, medium, or large.
Monkey A monkey has a location, is on top of an object, and can hold an object.
PluggableEngine This class extends the AbleInferenceEngine class so that it can be used as a customized pluggable inference engine.
PolicyDemo This Java program (run it from the command line) creates and exercises an ABLE Policy Document (ruleset) in several different ways.
PolicyDemoBusinessValueCalculator This class contains a method that is used to calculate a Business Value dynamically, based on current conditions and input.
Puzzle A Puzzle has a name, level, phase, and three posts.
Ring A ring has a name, diameter, and is on a post identified by a number.
SampleMessageBundle This class implements a simple NLS-enabled message bundle for use with an Able ruleset.
SampleSensorEffector This class is a command line test case (it has a main() method) that creates a fuzzy ruleset, a fuzzy ruleset listener, wires the two together, and then processes the rules.
SampleSensorEffectorBeanInfo  
SampleSensorEffectorCustomizer This class provides the customizer for the fuzzy SampleSensorEffector.
SANSystemDefinition  
ShoppingCart A shopping cart has a name and contains objects.
SystemRecoveryActions This class contains the planning actions specified in the ARL file Plan_SystemRecovery.arl.
Thing A Thing has a name, location, can be placed on top of another thing, and a weight description.
TstRuleObject  
 

Package com.ibm.able.examples.rules Description

The rules Examples package contains a number of different types of examples. The majority of the examples are source ruleset files that can be loaded into the ruleset editor and experimented with.

Another example is a simple Java program that can be changed, recompiled, and run from the command line. It makes use of a fuzzy ruleset file that demonstrates user-defined functions as sensors and effectors.

Yet another example is actually part of the ABLE tutorial and should be used in conjunction with that.

For a complete description of the rules examples begin here.


Last modified: Tue Nov 7 13:38:16 CST 2000


ABLE 2.3.0 07/13/2005 14:21:00

(C) Copyright IBM Corporation 1999, 2005