public double longing(F f,int N){
  return Math.pow(1 - p(f),N);
}

public double longing ( F f , int N ) { return Math . pow ( 1 - p ( f ) , N ) ; }
returns the longing , i . e . , how much the feature would be missed if not included in a recommendation list of a given size .
