Instance Method


Returns the highest membership grade among the specified facts.


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



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.


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

See Also

Drawing Conclusions from Facts

func grade(forFact: NSObjectProtocol) -> Float

Returns the membership grade of the specified fact.

func minimumGrade(forFacts: [Any]) -> Float

Returns the lowest membership grade among the specified facts.