2 sheets tagged with "filtering":
|
Analysis of a sequence of decisions This example sheet helps make a sequence of related decisions. This is done by: * Calculating all possible sequences of choices for a sequence of decisions * Calculating the effects of these decisions * Allowing you to filter these decisions using arbitrary python expressions. There are about 200 lines of user-code in this sheet. |
|
This example shows how Resolver One can be used to parse an Apache access log file, filter those queries shown using arbitrary Python expressions and sort the output. This allows more fined-grained control than using grep on these files from the command line, and is a lot faster than composing one-off scripts for similar purposes. The filtering is made particularly simple by Python's eval statement. |
