----- Original Message -----
From: Kenn Humborg <kenn at linux.ie>
> Prolog (no -ue at the end) is a different beast completely.
> It requires you to turn your brain inside out before you
> start programming it. It's an inference language. You tell
> it stuff (like John is big, Mary is small, Pat is small).
> Then you ask if it a statement is true (is John small?),
> or what values satisfy a statement (Who is small?).
Ha - tame stuff! One of my college lecturers helped develop a language
called FRIL (Fuzzy Relational Inference Language - I think). It was prolog
with fuzzy logic and a couple of extras thrown in. Like prolog, you give it
facts, but you can assign probability to the facts, or degrees of
uncertainty, if you like. It also allowed you to handle concepts like
'unknown', which prolog can't. You could then ask 'questions', and it would
be able to work out the answer, together with the probability of the answer.
In terms of the probability of the facts, you could tell it things like,
"I'm sure the fact is at least 10% true, and the most I'm sure the fact is
true is 80%" - very useful when you have to introduce uncertainty incurred
from measuring stuff.
. I know it all sounds a bit like something out of a Douglas Adams novel,
but apparently it was all kosher. It allowed you to do nifty things like
control logic for inherently unstable systems (e.g. fly-by-wire aircraft,
tower balancing on a movable platform) in a very small amount of code, where
a more conventional language (C) might take hundreds/thousands of decision
I think I still have an MSDOS version of the interpreter somewhere - I'll
have to dig it out.
Maintained by the ILUG website team. The aim of Linux.ie is to
support and help commercial and private users of Linux in Ireland. You can
display ILUG news in your own webpages, read backend
information to find out how. Networking services kindly provided by HEAnet, server kindly donated by
Dell. Linux is a trademark of Linus Torvalds,
used with permission. No penguins were harmed in the production or maintenance
of this highly praised website. Looking for the
Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!