예제 #1
0
 /** Compute the product of the selectivies of all conjuncts. */
 protected double computeSelectivity() {
   double prod = 1.0;
   for (Expr e : conjuncts_) {
     if (e.getSelectivity() < 0) continue;
     prod *= e.getSelectivity();
   }
   return prod;
 }