1. A method for resource segmentation, comprising: determining a set of partitioning schemes that comprises every possible partitioning of a plurality of time slots over a time horizon into a fixed number of partitions; for each partitioning scheme in the set of partitioning schemes, determining a cost using a processor based on a duration of each partition and a resource usage metric; and selecting a partitioning scheme that has a lowest cost.