public Double getUtilityIfAlreadyFound(int key[], int curdepth) {

    if (viewedPos != null) {
      AnalysedPosition alreadyAnalysedPos = viewedPos.search(key);
      if (alreadyAnalysedPos != null && alreadyAnalysedPos.getDepth() >= curdepth) {
        return new Double(alreadyAnalysedPos.getUtility());
      }
    }
    return null;
  }