home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.ai.shells
- Path: sparky!uunet!zaphod.mps.ohio-state.edu!cs.utexas.edu!usc!sol.ctr.columbia.edu!news
- From: news@ctr.columbia.edu (The Daily Lose)
- Subject: RE: Multiple Knowledge Bases in CLIPS
- Organization: Columbia University Center for Telecommunications Research
- Message-ID: <1992Aug17.151655.15512@ctr.columbia.edu>
- Date: Mon, 17 Aug 1992 15:16:55 GMT
- X-Posted-From: dlgeo.cr.usgs.gov
- X-Posted-Through: sol.ctr.columbia.edu
- Lines: 35
-
- I know of no way to do what Scott was inquiring about running mutiltiple
- knowledge bases in CLIPS. It may You could probably do something lito
- include a fact in to only match on your Instance 1/Instance 2: . I
- am not saying this very well:
-
- (defrule rule-1
- (instance 1)
- (whatever other facts apply)
- =>
- RHS
- )
-
- (defrule rule-2
- (instance 2)
- (whatever other facts apply)
- =>
- RHS
- )
-
- Or maybe
- (defrule zzz
- (instance 1-1 (fact) fact(fact))
- =>
- RHS
- )
- where you use deftemplate facts (guess I used (fact) incorrectly hereabove).
-
- Sorry this is a mess - I have no direct access to news , so am
- using a server which means I can't edit a nice sensible message
- before I submit it.
-
- Pat McCLanahan
- EROS Data Center
- Sioux Falls, SD
- mcclanah@dlgeo.cr.usgs.gov
-