* */
| 109 | * |
| 110 | */ |
| 111 | static eTermType |
| 112 | ExpressionTypeProbability(const VectorFilter *filter) |
| 113 | { |
| 114 | if (PartialExpander::direct_expand_check(eInvoke)) |
| 115 | return eFunction; |
| 116 | |
| 117 | assert(filter); |
| 118 | |
| 119 | int i = rnd_upto(filter->get_max_prob(), filter); |
| 120 | ERROR_GUARD(MAX_TERM_TYPES); |
| 121 | return (eTermType)(filter->lookup(i)); |
| 122 | } |
| 123 | |
| 124 | unsigned int |
| 125 | Expression::func_count(void) const |
no test coverage detected