/** 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; }
/** 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; }