🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.lang.prolog
Article #2874

Segmenting a Prolog Data Base to Speed Up Search

#2874
From: April Gillam
Date: Wed, 18 Nov 1987 14:44
28 lines
2013 bytes
We are developing a quasi expert system to make a conceptual design
of a spacecraft. This involves a lot of data and rules at the
spacecraft mission level and at the subsystem(acs,power,comm,etc.)
level. We will also be keeping track of 'historical' info on spacecraft
that have already been launched. 

The system is being written in Quintus Prolog, which is relatively new to
me. Is there some way to segment the data bases so that there are fewer
facts for the 'matcher' to plough through till it finds the appropriate
data?  I have been considering separating the data into different files
and only loading in what is needed to do the inferencing & calculations,
& then deleting it -- if I can figure out when to do that & hope the
overhead is less than the search time when all that info is in the
database at once.

I've implemented Sterling & Shapiro's symbolic equation solver with some
enhancements, but it is fairly slow on the substitution part. (By the way,
I recommend The Art of Prolog. It's been very useful.) I'm assuming that
is because there's so much data associated with each spacecraft, and for
simplicities sake I'm using the same format for most of the data. This
allows many routines to be used in many different situations, but there is
all that data!

Thanks for any help on this.

		April Gillam
		gillam@aerospace.ARPA
		Aerospace Corp.
Technical Details
Message-ID: <20162@aero.ARPA>
Path: arc1-ca.pugleaf.net!utzoo!mnetor!uunet!husc6!bloom-beacon!oberon!cit-vax!elroy!mahendo!jplgodo!wlbr!scgvaxd!trwrb!aero!gillam
References: <21812@ucbvax.BERKELEY.EDU>

Show Full Headers
Complete Article Headers
Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP
Path: arc1-ca.pugleaf.net!utzoo!mnetor!uunet!husc6!bloom-beacon!oberon!cit-vax!elroy!mahendo!jplgodo!wlbr!scgvaxd!trwrb!aero!gillam
From: gillam@aero.ARPA (April Gillam)
Newsgroups: comp.lang.prolog
Subject: Segmenting a Prolog Data Base to Speed Up Search
Message-ID: <20162@aero.ARPA>
Date: Wed, 18-Nov-87 09:44:41 EST
Article-I.D.: aero.20162
Posted: Wed Nov 18 09:44:41 1987
Date-Received: Sat, 21-Nov-87 12:14:29 EST
References: <21812@ucbvax.BERKELEY.EDU>
Reply-To: gillam@aero.UUCP (April Gillam)
Organization: The Aerospace Corporation, El Segundo, CA
Lines: 28