Contents

maximumGrade(forFacts:)

Returns the highest membership grade among the specified facts.

Declaration

func maximumGrade(forFacts facts: [Any]) -> Float

Parameters

  • facts:

    An array of objects representing truths claimed or rejected by the rule system. For details, see the Facts property.

Return Value

The highest membership grade in the array of facts.

Discussion

In fuzzy logic, this method is called the OR Zadeh operator, because it corresponds to the OR operator in Boolean logic.

See Also

Related Documentation

Drawing Conclusions from Facts