Skip Menu |

This queue is for tickets about the AI-FuzzyInference CPAN distribution.

Report information
The Basics
Id: 18214
Status: resolved
Priority: 0/
Queue: AI-FuzzyInference

People
Owner: aqumsieh [...] cpan.org
Requestors: sbiodpro [...] users.sourceforge.net
Cc:
AdminCc:

Bug Information
Severity: Important
Broken in: (no value)
Fixed in: (no value)



Subject: Problems with implication when the same output set is used for more than one rule
Distribution: AI-FuzzyInference-0.04 Perl version: 5.6.1 OS: SunOS 5.9 Generic_118558-21 sun4u sparc SUNW,Sun-Fire-880 I have observed that when the same output fuzzy set is used for two different rules, the current implication method will overwrite one of this results, in case both rules are fired. For instance, in the example: 'service=excellent & food=poor' => 'tip=good', 'service=amazing & food=poor' => 'tip=good', The problem appears in private method _implicate(): when a new set under the name "$var:$ts:implicated" is added, previous values for this set are overwritten in the hash table. This problem can be easily overcome by using different labels for each instance of the output set: i.e. 'good1','good2', and so on.
From: aqumsieh [...] cpan.org
On Fri Mar 17 06:20:12 2006, guest wrote: Show quoted text
> Distribution: AI-FuzzyInference-0.04 > Perl version: 5.6.1 > OS: SunOS 5.9 Generic_118558-21 sun4u sparc SUNW,Sun-Fire-880 > > I have observed that when the same output fuzzy set is used for two > different rules, the current implication method will overwrite one of
this Thanks for the report. It is weird that I have never noticed this, and I have used this module quite extensively. I'll upload a new version soon. --Ala
Fixed and uploaded v0.05.