home Forums # Technical Support Gettings fired rules with jfuzzylite?

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #1935
    Unknown
    Member

    Hi Juan,

    thank you very much for your awesome library.

    I use it to loop over different engines and I would like to get the rules for each engine, which were fired. Is there a way to do so?

    Thank you very much

    #1944

    Hi Mirco,

    thank you for your very good question, and apologies for the late response (I was on holidays).

    In fuzzylite 5, the only way seems to be computing the activation degree again (which is nonsense, and I will fix this). Please, check the method Rule::activationDegree(const TNorm* conjunction, const SNorm* disjunction). The conjunction and disjunction operators you get them from the RuleBlock in which the rule is registered.

    Cheers

    #1945

    In fuzzylite 6, there is a method for Rule::getActivationDegree(), but the version is not ready for production yet.

    #1977
    Unknown
    Member

    Hi Juan,

    sorry for my late response. I found the method you described and now everything works es expected.

    Thank you very much
    Mirco

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.