com.supermap.analyst.networkanalyst
Class DemandResult
- java.lang.Object
-
- com.supermap.analyst.networkanalyst.DemandResult
-
public class DemandResult extends java.lang.Object
The Demand Result classThis class is used to return the related information of the demand results, including the demand nodes or the ID of arc sections, the ID of the resources supply center, the resources amount actually allocated and the demand result is either the arc section or the node.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description void
dispose()
Release the resource occupy by this object.When this method is called, the object is no longer available.double
getActualResourceValue()
Gets the actual allocated resource value.int
getID()
Returns the ID of the demand nodes or the edge ID.int
getSupplyCenterID()
Returns the ID of the supply center.boolean
isEdge()
Gets whether the demand result is edge.
-
-
-
Method Detail
-
getID
public int getID()
Returns the ID of the demand nodes or the edge ID.
-
getSupplyCenterID
public int getSupplyCenterID()
Returns the ID of the supply center.- Returns:
- The supply center ID.
-
getActualResourceValue
public double getActualResourceValue()
Gets the actual allocated resource value.- Returns:
- Gets the actual allocated resource value.
-
isEdge
public boolean isEdge()
Gets whether the demand result is edge. If not, the demand result is node.- Returns:
- Return true if the demand result is edge; false, if it is node.
-
dispose
public void dispose()
Release the resource occupy by this object.When this method is called, the object is no longer available.
-
-