MatchingRules.betterSolution for Concept.tryUpdate?

2 views
Skip to first unread message

Jeff Thompson

unread,
Sep 27, 2009, 3:52:33 AM9/27/09
to open...@googlegroups.com
Hope you are enjoying Maine.

NARS uses nars.inference.MatchingRules.betterSolution to compare the
quality of two solutions. In the case of non-temporal judgments, it
compares the two confidence values. But nars.entity.Concept.tryUpdate
separately decides which is the better judgment to display as the
"presentBelief", also by comparing the two confidence values. They both
end up doing the same thing, but I wonder if you intentionally keep
these two decision-making processes separate. Could Concept.tryUpdate
call MatchingRules.betterSolution? Or do you want to possibly display a
"presentBelief" which isn't the betterSolution according to MatchingRules?

Thanks,
- Jeff


Jeff Thompson

unread,
Sep 27, 2009, 7:18:02 PM9/27/09
to open-nars
I now see that MatchingRules.trySolution calls betterSolution and
Sentence.setBestSolution. For a question, is the "present belief"
always the same as the "best solution"?

Pei Wang

unread,
Oct 2, 2009, 10:49:13 AM10/2/09
to open...@googlegroups.com
On Sun, Sep 27, 2009 at 3:52 AM, Jeff Thompson <jef...@gmail.com> wrote:
>
> Hope you are enjoying Maine.

I did!
In nars.entity.Judgment.solutionQuality, confidence is used when
selecting an answer for a "yes/no" question, but for a "what" question
and a goal, it is the expectation of the judgment that is used. Also,
the complexity of the answer may matter, too.

For "presentBelief", currently only confidence is considered, though
it may become more complicated in the future. But even so, it will
probably not use exactly the same criteria as solutionQuality.

Pei

> Thanks,
> - Jeff
>
>
>
> >
>
Reply all
Reply to author
Forward
0 new messages