.getDerivedAllocations();
final Set<Worker> allWorkers = new HashSet<Worker>();
for (DerivedAllocation each : derivedAllocations) {
allWorkers.addAll(Resource.workers(each.getResources()));
}
return new IWorkerFinder() {
@Override
public Collection<Worker> findWorkersMatching(
Collection<? extends Criterion> requiredCriterions) {
if (requiredCriterions.isEmpty()) {