ImmutableMap.<Parameter, Object>of(
Algorithm.ParameterEnum.timeLimitSeconds, 1,
Algorithm.ParameterEnum.aggregateLimit, 3,
Algorithm.ParameterEnum.costLimit, f * 5d);
final SchemaImpl schema = new SchemaImpl(lattice, statisticsProvider);
final Result result = algorithm.run(schema, map, progress);
final ImmutableList.Builder<Lattice.Tile> tiles = ImmutableList.builder();
for (Aggregate aggregate : result.getAggregates()) {
System.out.println(aggregate);
tiles.add(toTile(aggregate));
}