gem/oq-commonlib — pull request #24 by micheles (2014-07-03 04:04:09+00:00)
Title: Improved the splitting mechanism

Now the splitter understand the concept of `kind`. Items of the same kind are grouped together, whereas items of different kinds go in different groups, even if their weight would be lower than the maximum weight.
This is used in the companion PR on the engine, to split on the ruptures per tectonic region type.