// determining the super state
TCGRealNode oSuperNode = null;
if(oIntNode.getContainer() instanceof TCGRealNode)
oSuperNode = (TCGRealNode)oIntNode.getContainer();
else if(oIntNode.getContainer() instanceof TestCaseRegion) {
TestCaseRegion oRegion = (TestCaseRegion)oIntNode.getContainer();
if(oRegion.getContainer() != null)
oSuperNode = (TCGRealNode)oRegion.getContainer().getCompositeSuperState();
}
int nRealNodeCounter = searchForMinDistanceFromNode(
oSuperNode, in_nCounter);
return Math.max(in_nCounter, nRealNodeCounter);
}