Add more documentation to sumstats framework scripts

This commit is contained in:
Daniel Thayer 2016-03-01 17:31:41 -06:00
parent 6ef8a93dca
commit 7ede9c65d2
12 changed files with 61 additions and 24 deletions

View file

@ -1,10 +1,12 @@
##! Calculate the number of unique values.
@load ../main
module SumStats;
export {
redef record Reducer += {
## Maximum number of unique elements to store.
## Maximum number of unique values to store.
unique_max: count &optional;
};
@ -15,7 +17,7 @@ export {
redef record ResultVal += {
## If cardinality is being tracked, the number of unique
## items is tracked here.
## values is tracked here.
unique: count &default=0;
};
}