public class DummyLinkLevelSelector extends java.lang.Object implements LinkLevelSelector
Constructor and Description |
---|
DummyLinkLevelSelector() |
DummyLinkLevelSelector(int linkLevel) |
Modifier and Type | Method and 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.
|
public DummyLinkLevelSelector()
public DummyLinkLevelSelector(int linkLevel)
public int getLinkLevelToExpand(LODAnalysisInfo ai)
LinkLevelSelector
getLinkLevelToExpand
in interface LinkLevelSelector
ai
- analysis informationpublic boolean requiresAnalysisInfo()
LinkLevelSelector
requiresAnalysisInfo
in interface LinkLevelSelector
public int[] getUserDataCategories()
LinkLevelSelector
getUserDataCategories
in interface LinkLevelSelector
public void reset(HeavyPointOnNet[][] points)
LinkLevelSelector
reset
in interface LinkLevelSelector
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.public void setNetworkAnalyst(NetworkAnalyst analyst)
LinkLevelSelector
setNetworkAnalyst
in interface LinkLevelSelector