PlacementT
- The placement classpublic class ExhaustiveValidPlacementCache<PlacementT> extends AbstractValidPlacementCache<PlacementT>
Constructor and Description |
---|
ExhaustiveValidPlacementCache(List<PlacementT> placements,
BlockPlacer2<?,?,PlacementT,?> placer) |
Modifier and Type | Method and Description |
---|---|
static <PlacementT> |
collector(BlockPlacer2<?,?,PlacementT,?> placer) |
boolean |
contains(PlacementT site0) |
Collection<PlacementT> |
getAll() |
List<PlacementT> |
getByRangeAround(int rangeLimit,
PlacementT placement) |
public ExhaustiveValidPlacementCache(List<PlacementT> placements, BlockPlacer2<?,?,PlacementT,?> placer)
public static <PlacementT> Collector<PlacementT,?,ExhaustiveValidPlacementCache<PlacementT>> collector(BlockPlacer2<?,?,PlacementT,?> placer)
public List<PlacementT> getByRangeAround(int rangeLimit, PlacementT placement)
getByRangeAround
in class AbstractValidPlacementCache<PlacementT>
public boolean contains(PlacementT site0)
contains
in class AbstractValidPlacementCache<PlacementT>
public Collection<PlacementT> getAll()
getAll
in class AbstractValidPlacementCache<PlacementT>