編輯

共用方式為


GKRuleSystem.RetractFact Method

Definition

Overloads

RetractFact(NSObject)

Removes the fact from the Facts collection.

RetractFact(NSObject, Single)

Subtracts grade from the internal confidence in fact. If the internal confidence drops to 0.0, the fact is removed.

RetractFact(NSObject)

Removes the fact from the Facts collection.

[Foundation.Export("retractFact:")]
public virtual void RetractFact (Foundation.NSObject fact);
abstract member RetractFact : Foundation.NSObject -> unit
override this.RetractFact : Foundation.NSObject -> unit

Parameters

fact
NSObject
Attributes

Applies to

RetractFact(NSObject, Single)

Subtracts grade from the internal confidence in fact. If the internal confidence drops to 0.0, the fact is removed.

[Foundation.Export("retractFact:grade:")]
public virtual void RetractFact (Foundation.NSObject fact, float grade);
abstract member RetractFact : Foundation.NSObject * single -> unit
override this.RetractFact : Foundation.NSObject * single -> unit

Parameters

fact
NSObject
grade
Single
Attributes

Applies to