Zabaware Support Forums

Zabaware Forums => Ultra Hal 7.0 => Topic started by: toborman on September 14, 2007, 01:06:50 pm

Title: abductive reasoning
Post by: toborman on September 14, 2007, 01:06:50 pm
I’m working on a routine to give Hal abductive reasoning abilities, but my lack of experience with the brain editor functions is holding things up.

I’m looking for a function that matches the second entry of the deductive.brn and returns the first entry.  Also, I would like a way to return multiple answers, if present.

Hal would behave as follows:

(current behaviour)
' User: If a person is overweight, then that person’s health is in danger.
' Ultra Hal: I see the relationship.
' User: If a person drinks excessively, then that person’s health is in danger.
' Ultra Hal: I see the relationship.
‘ User: Molly is a person.
‘ Ultra Hal: I see.

(new behaviour)
' User: Molly's health is in danger.
' Ultra Hal: Is that because Molly is overweight or because Molly drinks excessively?
or
' User: Why do you think Molly's health is in danger?
' Ultra Hal: Possibly because Molly is overweight or because Molly drinks excessively.
Title: abductive reasoning
Post by: onthecuttingedge2005 on September 14, 2007, 07:12:25 pm
quote:
Originally posted by toborman

I’m working on a routine to give Hal abductive reasoning abilities, but my lack of experience with the brain editor functions is holding things up.

I’m looking for a function that matches the second entry of the deductive.brn and returns the first entry.  Also, I would like a way to return multiple answers, if present.

Hal would behave as follows:

(current behaviour)
' User: If a person is overweight, then that person’s health is in danger.
' Ultra Hal: I see the relationship.
' User: If a person drinks excessively, then that person’s health is in danger.
' Ultra Hal: I see the relationship.
‘ User: Molly is a person.
‘ Ultra Hal: I see.

(new behaviour)
' User: Molly's health is in danger.
' Ultra Hal: Is that because Molly is overweight or because Molly drinks excessively?
or
' User: Why do you think Molly's health is in danger?
' Ultra Hal: Possibly because Molly is overweight or because Molly drinks excessively.




Hi toborman.

I did what you are asking a couple of years ago for HAL 5.

I never applied it to the HAL 6 version but wouldn't be hard to convert it, after I finish my other code project I will see if I can get it out to you.

Jerry[8D]
Title: abductive reasoning
Post by: toborman on September 14, 2007, 07:36:28 pm
Thanks Jerry,

I'm looking forward to getting the info.