}
}
// in_oNode could have changed value
if(in_oNode instanceof TCGRealNode) {
TCGRealNode oRealNode = (TCGRealNode)in_oNode;
TestCaseGraph oSubGraph = oRealNode.getSubGraph();
if(oSubGraph != null) {
for(TestCaseRegion oRegion : oSubGraph.getRegions()) {
int nRegionCounter = searchForMaxDistanceInRegion(
oRegion, in_nCounter, in_colVisitedNodes);
if(nRegionCounter > nMaxCounter)
nMaxCounter = nRegionCounter;
}
}
TestCaseGraph oRefSubGraph = oRealNode.getReferencedSubmachine();
if(oRefSubGraph != null) {
System.err.println("BasicDistanceSetter does not support referenced submachines");
}
}