Package oracle.spatial.network.nfe.beans
Class NFETsp
- java.lang.Object
-
- oracle.spatial.network.nfe.beans.NFETsp
-
public class NFETsp extends java.lang.Object
Provides the data to run the traveling salesman tour analysis.
-
-
Constructor Summary
Constructors Constructor Description NFETsp()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AnalysisCost
getAnalysisCost()
Returns the analysis cost.java.util.List<NFEFeature>
getFeatureList()
Returns the features to visit on the tour.TSP.TourFlag
getTourFlag()
Returns a flag indicating whether the tour should be open or closed, and if the tour is open, whether the tour should have fixed start or end point.void
setAnalysisCost(AnalysisCost analysisCost)
Sets the analysis cost.void
setFeatureList(java.util.List<NFEFeature> featureList)
Sets the features to visit on the tour.void
setTourFlag(TSP.TourFlag tourFlag)
Sets a flag indicating whether the tour should be open or closed, and if the tour is open, whether the tour should have fixed start or end point.
-
-
-
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
-
getFeatureList
public java.util.List<NFEFeature> getFeatureList()
Returns the features to visit on the tour.- Returns:
- features to visit on the tour
-
setFeatureList
public void setFeatureList(java.util.List<NFEFeature> featureList)
Sets the features to visit on the tour.- Parameters:
featureList
- the features to visit on the tour.
-
getTourFlag
public TSP.TourFlag getTourFlag()
Returns a flag indicating whether the tour should be open or closed, and if the tour is open, whether the tour should have fixed start or end point.- Returns:
- flag indicating whether the tour should be open or closed, and if the tour is open, whether the tour should have fixed start or end point.
-
setTourFlag
public void setTourFlag(TSP.TourFlag tourFlag)
Sets a flag indicating whether the tour should be open or closed, and if the tour is open, whether the tour should have fixed start or end point.- Parameters:
tourFlag
- flag indicating whether the tour should be open or closed, and if the tour is open, whether the tour should have fixed start or end point.
-
-