areWithinBounds

public abstract boolean areWithinBounds(int from, int to)

Helper method, might be preferable to the combination of isWithinBounds(getDistance(from, to)), if it makes sense for the current distance structure.

Return

true when to can be reached. false otherwise

Parameters

from

source form which the computation starts

to

destination to which to look for the analysis