public interface IEnterIntervalCalculator
partition cell
into an
adjacent one.
To find a Path
for an edge, the PathSearch
algorithm moves from the current partition cell to an
adjacent partition cell. By default, the orthogonal interval shared by these two cells is used. Implementations of this
interface may be added to the PathSearch
to calculate additional enter intervals that might accumulate lower
costs for entering the adjacent cell.
Modifier and Type | Method and Description |
---|---|
void |
appendEnterIntervals(CellEntrance currentEntrance,
PartitionCell enteredCell,
OrthogonalInterval commonInterval,
List<Object> allEnterIntervals,
PathSearchContext context)
Appends additional enter intervals to the given list of enter intervals for moving from the
partition cell
of the current CellEntrance to the neighboring cell. |
void appendEnterIntervals(CellEntrance currentEntrance, PartitionCell enteredCell, OrthogonalInterval commonInterval, List<Object> allEnterIntervals, PathSearchContext context)
partition cell
of the current CellEntrance
to the neighboring cell.currentEntrance
- the current CellEntrance
that is exitedenteredCell
- the neighboring cell that will be enteredcommonInterval
- the common interval of the left and entered partition cellsallEnterIntervals
- the list to which additional enter intervals have to be appendedcontext
- the context of the path search