編輯

共用方式為


GKRuleSystem.GetGrade(NSObject) Method

Definition

Retrieves the truth grade for the fact.

[Foundation.Export("gradeForFact:")]
public virtual float GetGrade (Foundation.NSObject fact);
abstract member GetGrade : Foundation.NSObject -> single
override this.GetGrade : Foundation.NSObject -> single

Parameters

fact
NSObject

Returns

A value in the range [0,1], in which 0 represents certainty that the fact is false and 1.0 represents certainty that it is true.

Attributes

Applies to