mapIds
Maps the list of associated activity ids on each violation.
Parameters
f
a function which takes a Violation and returns a new list of ids.
Maps the list of associated activity ids on each violation.
a function which takes a Violation and returns a new list of ids.