Show / Hide Table of Contents

Class WMDecisionTreeNode

Represents each individual node in the decision tree structure.

Inheritance
object
WMDecisionTreeNode
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Quantellia.WMServer.Asset.MLModel
Assembly: WMServer.dll
Syntax
public class WMDecisionTreeNode

Methods

CreateFromXML(XmlDocument)

Build the node tree by recursively parsing the XML

Declaration
public static WMDecisionTreeNode CreateFromXML(XmlDocument doc)
Parameters
Type Name Description
XmlDocument doc

The XmlDocument representing the WMModelBase to be created

Returns
Type Description
WMDecisionTreeNode

Evaluate(Dictionary<string, IComparable>)

Recursively evaluate the tree.

Declaration
public KeyValuePair<bool, object?> Evaluate(Dictionary<string, IComparable> args)
Parameters
Type Name Description
Dictionary<string, IComparable> args

A dictionary of variable names to values

Returns
Type Description
KeyValuePair<bool, object>

A Key-Value pair to indicate success and return value.

EvaluatePredicate(Dictionary<string, IComparable>)

Evaluate the decision tree predicate.

Declaration
public bool EvaluatePredicate(Dictionary<string, IComparable> values)
Parameters
Type Name Description
Dictionary<string, IComparable> values

A dictionary of variable names to values

Returns
Type Description
bool
In this article
Back to top Copyright © 2025 Quantellia LLC.    Version 2.0.0 Revision 399     Last Updated 1/15/2025    DRAFT DOCUMENTATION. SUBJECT TO CHANGE