ILOG CPLEX .NET Reference Manual

Cplex.NodeEvaluator.Depth Property

Gets the depth in the search tree of the current node.

protected int Depth {get;}

Remarks

The root node is defined to have depth 0 (zero); the depth of other nodes is their distance from the root, or, equivalently, the number of branches taken to get from the root to that node. This method can be called only from the methods init and evaluate.

See Also

Cplex.NodeEvaluator Class | ILOG.CPLEX Namespace