home Forums # Technical Support multiple output variables in same rule

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #2532
    Unknown
    Member

    Hi

    I’m new to fuzzylite in C++ and this could be a stupid question. I am trying to make a rule with multiple and and or conditions.
    Say for an example, there is an input variable X and two output variables Y and Z. I want to add a rule like

    if X=x then Y = y and Z = z1 with (weight) 0.7 or Z= z2 with (weight) 0.03

    How can I define such a rule in fuzzylite C++

    Thanks
    Sudeera

    #2540

    Hi,

    thank you for your post.

    You need to split the rule into multiple rules.

    
    if X is x then Y is y 
    if X is x then Z is z1 with 0.7
    if X is x then Z is z2 with 0.03
    

    Cheers.

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