ILOG CPLEX .NET Reference Manual

Cplex.NodeCallback.GetDepth Method (Int32)

Returns the depth of the node in the search tree.

protected virtual int GetDepth(
   int node
);

Parameters

node
The node number of the node whose depth is being queried.

Return Value

The depth of the node with number node.

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 needed to reach that node from the root.

See Also

Cplex.NodeCallback Class | ILOG.CPLEX Namespace | Cplex.NodeCallback.GetDepth Overload List