Class GKDecisionTree

All Implemented Interfaces:
NSCoding, NSObjectProtocol, NSSecureCoding, ObjCProtocol

public class GKDecisionTree
extends NSObject
implements NSSecureCoding
Since:
Available in iOS 10.0 and later.
  • Constructor Details

    • GKDecisionTree

      public GKDecisionTree()
    • GKDecisionTree

      protected GKDecisionTree​(NSObject.Handle h, long handle)
    • GKDecisionTree

      protected GKDecisionTree​(NSObject.SkipInit skipInit)
    • GKDecisionTree

      public GKDecisionTree​(NSObject attribute)
    • GKDecisionTree

      public GKDecisionTree​(NSArray<?> examples, NSArray<?> actions, NSArray<?> attributes)
    • GKDecisionTree

      public GKDecisionTree​(NSURL url, NSError error)
    • GKDecisionTree

      public GKDecisionTree​(NSCoder coder)
  • Method Details

    • getRootNode

      public GKDecisionNode getRootNode()
    • getRandomSource

      public GKRandomSource getRandomSource()
    • setRandomSource

      public void setRandomSource​(GKRandomSource v)
    • supportsSecureCoding

      public static boolean supportsSecureCoding()
    • init

      protected long init​(NSObject attribute)
    • init

      protected long init​(NSArray<?> examples, NSArray<?> actions, NSArray<?> attributes)
    • init

      protected long init​(NSURL url, NSError error)
    • exportToURL

      public boolean exportToURL​(NSURL url, NSError error)
    • findActionForAnswers

      public NSObject findActionForAnswers​(NSDictionary<?,​?> answers)
    • encode

      public void encode​(NSCoder coder)
      Specified by:
      encode in interface NSCoding
    • init

      protected long init​(NSCoder coder)