protected boolean shouldStop(int[] selectedExamples,int[] selectedAttributes,int depth){
  if (usePrePruning && selectedExamples.length < minSizeForSplit) {
    return true;
  }
 else {
    for (    ColumnTerminator terminator : otherTerminators) {
      if (terminator.shouldStop(selectedExamples,selectedAttributes,columnTable,depth)) {
        return true;
      }
    }
    return false;
  }
}

protected boolean shouldStop ( int [ ] selectedExamples , int [ ] selectedAttributes , int depth ) { if ( usePrePruning && selectedExamples . length < minSizeForSplit ) { return true ; } else { for ( ColumnTerminator terminator : otherTerminators ) { if ( terminator . shouldStop ( selectedExamples , selectedAttributes , columnTable , depth ) ) { return true ; } } return false ; } }
checks if the tree building should stop . the terminators are checked and , when prepruning is activated , the minimal size for a split is checked as well .
