private long[] determinePreferenceVector(Relation<V> relation,ModifiableDBIDs[] neighborIDs,StringBuilder msg){
  if (strategy.equals(Strategy.APRIORI)) {
    return determinePreferenceVectorByApriori(relation,neighborIDs,msg);
  }
 else   if (strategy.equals(Strategy.MAX_INTERSECTION)) {
    return determinePreferenceVectorByMaxIntersection(neighborIDs,msg);
  }
 else {
    throw new IllegalStateException("Should never happen!");
  }
}

private long [ ] determinePreferenceVector ( Relation < V > relation , ModifiableDBIDs [ ] neighborIDs , StringBuilder msg ) { if ( strategy . equals ( Strategy . APRIORI ) ) { return determinePreferenceVectorByApriori ( relation , neighborIDs , msg ) ; } else if ( strategy . equals ( Strategy . MAX_INTERSECTION ) ) { return determinePreferenceVectorByMaxIntersection ( neighborIDs , msg ) ; } else { throw new IllegalStateException ( "Should never happen!" ) ; } }
determines the preference vector according to the specified neighbor ids .
