A framework for generating parameter based random data structures