Class Dbase

java.lang.Object
  extended by com.sri.oaa2.icl.IclDb
      extended by Dbase

public class Dbase
extends com.sri.oaa2.icl.IclDb

Class that makes an IclDb from a text file. The entries should be one per line.


Constructor Summary
Dbase(java.lang.String dbaseName)
           
 
Method Summary
 com.sri.oaa2.icl.IclList findAnswers(com.sri.oaa2.icl.IclStruct query)
          Searches the database for answers to a query.
 
Methods inherited from class com.sri.oaa2.icl.IclDb
asserta, assertz, db_Assert, db_Contains, db_getRef, db_PrintDB, db_Replace, db_Retract, db_Retract, db_Solve, db_Solve, db_SolveDebug, erase, replace_all, retract_all, retract, retract, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Dbase

public Dbase(java.lang.String dbaseName)
Method Detail

findAnswers

public com.sri.oaa2.icl.IclList findAnswers(com.sri.oaa2.icl.IclStruct query)
Searches the database for answers to a query.

Parameters:
query - the query to search the database with
Returns:
an IclList with the unified answer/-s to the query