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

Uses of Interface
com.ibm.able.rules.AbleWorkingMemory

Packages that use AbleWorkingMemory
com.ibm.able.rules The rules package defines the ABLE rule language; various inferencing engines; objects and APIs for creating and running rulesets under program control. 
 

Uses of AbleWorkingMemory in com.ibm.able.rules
 

Classes in com.ibm.able.rules that implement AbleWorkingMemory
 class AbleObjectWorkingMemory
          This class holds instances of one or more Java classes for use by inference engines.
 class AblePatternMatchNetwork
          This class is the run-time instance of a Rete' network and associated working memory constructed and used by the AblePatternMatchEngine.
 class AblePredicateWorkingMemory
          This class holds instances of one or more Java classes and handles AblePredicates in a unique manner (keyed by name/arity) rather than just Class name.
 

Fields in com.ibm.able.rules declared as AbleWorkingMemory
protected  AbleWorkingMemory AbleRuleSet.myWorkingMemory
           
protected  AbleWorkingMemory AblePredicateLib.myWm
           
protected  AbleWorkingMemory AblePatternMatchNetwork.workingMemory
           
protected  AbleWorkingMemory AblePatternMatchClause.workingMemory
           
protected  AbleWorkingMemory AbleInferenceEngine.myWorkingMemory
           
 

Methods in com.ibm.able.rules that return AbleWorkingMemory
 AbleWorkingMemory AbleRuleSet.getWorkingMemory()
          Retrieve the current workingMemory object (may be null).
 AbleWorkingMemory AbleRuleSet.getWorkingMemory(java.lang.String theRuleBlockKey)
          Retrieve the workingMemory object associated with the specified rule block.
 AbleWorkingMemory AbleRuleBlock.getWorkingMemory()
          Retrieve the working memory associated with the rule block's inference engine.
 AbleWorkingMemory AblePredicateEngine.allocateWorkingMemory()
           
 AbleWorkingMemory AblePatternMatchEngine.allocateWorkingMemory()
           
 AbleWorkingMemory AbleInferenceEngine.getWorkingMemory()
          Retrieve the workingMemory object (may be null).
 AbleWorkingMemory AbleInferenceEngine.allocateWorkingMemory()
          Retrieve the workingMemory object (may be null).
 

Methods in com.ibm.able.rules with parameters of type AbleWorkingMemory
static void ARL.assertDataSource(AbleWorkingMemory wm, AbleDataSource dataSource, java.lang.String className)
          Assert all records in a data source into working memory.
static java.lang.String ARL.showWorkingMemory(AbleWorkingMemory wm)
          Returns a formatted string of the contents of the working memory to use for debugging.
 void AbleWorkingMemoryLib.assertFact(AbleWorkingMemory wm, java.lang.Object fact)
          Place a fact into the database
 void AbleWorkingMemoryLib.assertAll(AbleWorkingMemory wm, java.util.List theList)
          Assert all elements in the list into working memory.
 void AbleWorkingMemoryLib.retract(AbleWorkingMemory wm, java.lang.Object fact)
          Remove a fact from the database
 void AbleWorkingMemoryLib.retractAll(AbleWorkingMemory wm, java.util.List theList)
          Retract all elements in the list from working memory.
 void AbleWorkingMemoryLib.modify(AbleWorkingMemory wm, java.lang.Object fact)
          Modify or change an existing fact in the working memory
 void AbleWorkingMemoryLib.clear(AbleWorkingMemory wm)
          Clear all facts from the working memory
 boolean AbleWorkingMemoryLib.exists(AbleWorkingMemory wm, java.lang.Object fact)
          Test if the specified object exists in the working memory
 java.lang.Object AbleWorkingMemoryLib.find(AbleWorkingMemory wm, AbleSelector query)
          Find the first fact to match the query
 java.util.AbstractCollection AbleWorkingMemoryLib.findAll(AbleWorkingMemory wm, AbleSelector query)
          Find all facts that match the query
 java.util.AbstractCollection AbleWorkingMemoryLib.findAllInstances(AbleWorkingMemory wm, java.lang.String className)
          Find all objects that match the class
 java.lang.String AbleWorkingMemoryLib.showWorkingMemory(AbleWorkingMemory wm)
          Returns a formatted string of the contents of the working memory to use for debugging.
 java.util.Vector AbleSelector.match(AbleWorkingMemory workingMemory)
          Find a list of matching instances in working memory
 java.lang.Object AbleRuleSet.processWithContext(java.lang.Object theArg, java.util.Hashtable theVars, java.util.Hashtable theFuncs, AbleWorkingMemory theWm)
          Process this ruleset with variables, user-defined functions (externally attached UDFs only), and working memory from some other ruleset.
 void AbleRuleSet.setWorkingMemory(AbleWorkingMemory theWorkingMemory)
          Set the current workingMemory object to the specified value.
 void AblePredicateLib.setPredicateWorkingMemory(AbleWorkingMemory wm)
           
 java.util.Vector AblePatternMatchClause.match(AbleWorkingMemory theWorkingMemory)
          Returns a set of bindings that meet all selector constraints defined in the when() part of a when/do pattern match rule
 void AbleInferenceEngine.setWorkingMemory(AbleWorkingMemory theWorkingMemory)
          Set the workingMemory object to the specified value.
 

Constructors in com.ibm.able.rules with parameters of type AbleWorkingMemory
AblePatternMatchNetwork(AbleRuleSet theRuleSet, AbleRuleBlock theRules, AbleLogger theTracer, AbleWorkingMemory memory)
           
 


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

(C) Copyright IBM Corporation 1999, 2005