Package oracle.spatial.network.nfe.beans
Class NFENearestNeighbors
- java.lang.Object
-
- oracle.spatial.network.nfe.beans.NFENearestNeighbors
-
public class NFENearestNeighbors extends java.lang.ObjectProvides 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 AnalysisCostgetAnalysisCost()Returns the analysis cost.NFEFeatureLayergetNFEFeatureLayer()Returns the feature layer to search for neighbors.NFEFeaturegetNFEStartFeature()Returns the start feature.intgetNumberOfNeighbors()Returns the number of neighbors to be returned.voidsetAnalysisCost(AnalysisCost analysisCost)Sets the analysis cost.voidsetNFEFeatureLayer(NFEFeatureLayer nfeFeatureLayer)Sets the feature layer to search for neighbors.voidsetNFEStartFeature(NFEFeature nfeStartFeature)Sets the start feature.voidsetNumberOfNeighbors(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
-
-