Package oracle.spatial.network.nfe.beans
Class NFENearestNeighbors
- java.lang.Object
-
- oracle.spatial.network.nfe.beans.NFENearestNeighbors
-
public class NFENearestNeighbors extends java.lang.Object
Provides the data to run a nearest neighbor analysis.
-
-
Constructor Summary
Constructors Constructor Description NFENearestNeighbors()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AnalysisCost
getAnalysisCost()
Returns the analysis cost.NFEFeatureLayer
getNFEFeatureLayer()
Returns the feature layer to search for neighbors.NFEFeature
getNFEStartFeature()
Returns the start feature.int
getNumberOfNeighbors()
Returns the number of neighbors to be returned.void
setAnalysisCost(AnalysisCost analysisCost)
Sets the analysis cost.void
setNFEFeatureLayer(NFEFeatureLayer nfeFeatureLayer)
Sets the feature layer to search for neighbors.void
setNFEStartFeature(NFEFeature nfeStartFeature)
Sets the start feature.void
setNumberOfNeighbors(int numberOfNeighbors)
Sets the number of neighbors to be returned.
-
-
-
Method Detail
-
getAnalysisCost
public AnalysisCost getAnalysisCost()
Returns the analysis cost.- Returns:
- analysis cost
-
setAnalysisCost
public void setAnalysisCost(AnalysisCost analysisCost)
Sets the analysis cost.- Parameters:
analysisCost
- analysis cost
-
getNFEStartFeature
public NFEFeature getNFEStartFeature()
Returns the start feature.- Returns:
- start feature
-
setNFEStartFeature
public void setNFEStartFeature(NFEFeature nfeStartFeature)
Sets the start feature.- Parameters:
nfeStartFeature
- start feature
-
getNFEFeatureLayer
public NFEFeatureLayer getNFEFeatureLayer()
Returns the feature layer to search for neighbors. Only the feature in this feature layer will included in the search.- Returns:
- feature layer to search for neighbors
-
setNFEFeatureLayer
public void setNFEFeatureLayer(NFEFeatureLayer nfeFeatureLayer)
Sets the feature layer to search for neighbors. Only the feature in this feature layer will included in the search.- Parameters:
nfeFeatureLayer
- feature layer to search for neighbors
-
getNumberOfNeighbors
public int getNumberOfNeighbors()
Returns the number of neighbors to be returned.- Returns:
- number of neighbors to be returned
-
setNumberOfNeighbors
public void setNumberOfNeighbors(int numberOfNeighbors)
Sets the number of neighbors to be returned.- Parameters:
numberOfNeighbors
- number of neighbors to be returned
-
-