Package oracle.spatial.network.lod
Interface LinkLevelSelector
-
- All Known Implementing Classes:
DummyLinkLevelSelector
,DynamicLinkLevelSelector
public interface LinkLevelSelector
A LinkLevelSelector selects the link level for the next node to expand on.- Since:
- 11gR2
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description int
getLinkLevelToExpand(LODAnalysisInfo ai)
Returns the link level for the next node to expand on.int[]
getUserDataCategories()
Returns the required user data categories.boolean
requiresAnalysisInfo()
Whether analysis info is required.void
reset(HeavyPointOnNet[][] points)
Resets the attributes of this link level selector according to the input points of interest.void
setNetworkAnalyst(NetworkAnalyst analyst)
This method allows caller to pass the network analyst object to this link level selector, so that the link level selector can call the analysis functions provided by the network analyst, or access the network explorer associated with the network analyst.
-
-
-
Method Detail
-
getLinkLevelToExpand
int getLinkLevelToExpand(LODAnalysisInfo ai) throws LODNetworkException
Returns the link level for the next node to expand on.- Parameters:
ai
- analysis information- Returns:
- Throws:
LODNetworkException
-
requiresAnalysisInfo
boolean requiresAnalysisInfo()
Whether analysis info is required.- Returns:
- true is analysis info cannot be null; false, otherwise.
-
getUserDataCategories
int[] getUserDataCategories()
Returns the required user data categories.- Returns:
-
reset
void reset(HeavyPointOnNet[][] points) throws LODNetworkException
Resets the attributes of this link level selector according to the input points of interest.- Parameters:
points
- points of interest. Each member of the array is an array of equivalent points. For example, in a road network, equivalent points can be the points on either side of a two way road.- Throws:
LODNetworkException
-
setNetworkAnalyst
void setNetworkAnalyst(NetworkAnalyst analyst)
This method allows caller to pass the network analyst object to this link level selector, so that the link level selector can call the analysis functions provided by the network analyst, or access the network explorer associated with the network analyst. If network analyst is not needed by the link level selector, the link level selector can choose to do nothing with this method.
-
-