DimensionTree::getDisambiguationDepthForTrees Method [AX 2012]
Determines the level at which the two nodes can be disambiguated.
Syntax
client server private static int getDisambiguationDepthForTrees(
DimensionTreeImage _treeImage1,
DimensionTreeImage _treeImage2,
DimensionTreeNode _node1,
DimensionTreeNode _node2,
int _level,
int _levelsToCheck,
boolean _displayInfolog)
Run On
Called
Parameters
- _treeImage1
Type: DimensionTreeImage Class
The image of the tree for the first node to compare.
- _treeImage2
Type: DimensionTreeImage Class
The image of the tree for the second node to compare.
- _node1
Type: DimensionTreeNode Class
The first node to compare.
- _node2
Type: DimensionTreeNode Class
The second node to compare.
- _level
Type: int
The segment level of the nodes being compared.
- _levelsToCheck
Type: int
The number of levels to compare.
- _displayInfolog
Type: boolean
A Boolean value that indicates whether the Infolog messages should be displayed.
Return Value
Type: int
The maximum disambiguation level.
Remarks
0 is retrieved if the nodes are ambiguous.