public class NetworkAnalyst3DImpl extends java.lang.Object implements NetworkAnalyst3D, ComponentContextAware, Disposable
Constructor and Description |
---|
NetworkAnalyst3DImpl() |
Modifier and Type | Method and Description |
---|---|
void |
dispose()
Release the resource object.
|
FacilityAnalyst3DResult |
findCriticalFacilitiesUpFromEdge(java.lang.String networkDataName, int[] sourceNodeIDs, int edgeID, FacilityAnalystParameter parameter)
Upstream key facility lookup, that is, find the key facility nodes in the upstream of a given arc, return the key node ID array and its downstream arc ID array.
|
FacilityAnalyst3DResult |
findCriticalFacilitiesUpFromNode(java.lang.String networkDataName, int[] sourceNodeIDs, int nodeID, FacilityAnalystParameter parameter)
Upstream key facility lookup, that is, find the key facility nodes in the upstream of a given node, return the key node ID array and its downstream arc ID array.
|
FacilityAnalyst3DResult |
findSinkFromEdge(java.lang.String networkDataName, int edgeID, java.lang.String weightName, FacilityAnalystParameter parameter)
According to the given arc ID to find the sink, that is, starting from a given arc, find out the downstream sinks that outflow the arc according to the flow, and returns the arc, point and cost which the specified arc reach to the sink the minimum path contains.
|
FacilityAnalyst3DResult |
findSinkFromNode(java.lang.String networkDataName, int nodeID, java.lang.String weightName, FacilityAnalystParameter parameter)
According to the given node ID to find the sink, that is, from a given node, find out the downstream sinks that outflow the node according to the flow, and returns the arc, point and cost which the specified arc reach to the sink the minimum path contains.
|
FacilityAnalyst3DResult |
findSourceFromEdge(java.lang.String networkDataName, int edgeID, java.lang.String weightName, FacilityAnalystParameter parameter)
According to the given arc ID to find the source, that is, starting from a given arc, find out the network source that flow to the arc according to the flow, and returns the arc, point and cost which the specified source reach to the specified arc the minimum path contains.
|
FacilityAnalyst3DResult |
findSourceFromNode(java.lang.String networkDataName, int nodeID, java.lang.String weightName, FacilityAnalystParameter parameter)
According to the given node ID to find the source, that is, from a given node, find the network source that flow to the node according to the flow , and returns the arc, nodes and cost that the source node reach to the specified node the minimum cost path contains .
|
FacilityAnalyst3DContent |
getContent(java.lang.String networkDataName)
Gets the content information of the network data.
|
java.lang.String[] |
getNetworkDataNames()
Gets the name of all network data used by the 3D Facility Network Analysis component.
|
boolean |
reloadModel(java.lang.String networkDataName)
Reloads the network model.
|
void |
setComponentContext(ComponentContext context)
Sets the service component context.
|
FacilityAnalyst3DResult |
traceDownFromEdge(java.lang.String networkDataName, int edgeID, java.lang.String weightName, FacilityAnalystParameter parameter)
According to the given arc ID for downstream tracking, that is, to find downstream of a given arc, returns the arc, node and total cost which downstream contains.
|
FacilityAnalyst3DResult |
traceDownFromNode(java.lang.String networkDataName, int nodeID, java.lang.String weightName, FacilityAnalystParameter parameter)
According to the given node ID for downstream tracking, that is, to find downstream of a given arc, returns the arc, node and total cost which downstream contains.
|
FacilityAnalyst3DResult |
traceUpFromEdge(java.lang.String networkDataName, int edgeID, java.lang.String weightName, FacilityAnalystParameter parameter)
According to the given arc ID for upstream tracking, that is, to find upstream of a given arc, returns the arc, node and total cost which upstream contains.
|
FacilityAnalyst3DResult |
traceUpFromNode(java.lang.String networkDataName, int nodeID, java.lang.String weightName, FacilityAnalystParameter parameter)
According to the given node ID for upstream tracking, that is, to find upstream of a given arc, returns the arc, node and total cost which upstream contains.
|
public void dispose()
Disposable
Release the resource object.
dispose
in interface Disposable
public void setComponentContext(ComponentContext context)
ComponentContextAware
Sets the service component context.
setComponentContext
in interface ComponentContextAware
context
- The service component context.public boolean reloadModel(java.lang.String networkDataName)
NetworkAnalyst3D
Reloads the network model.
reloadModel
in interface NetworkAnalyst3D
public FacilityAnalyst3DResult findCriticalFacilitiesUpFromEdge(java.lang.String networkDataName, int[] sourceNodeIDs, int edgeID, FacilityAnalystParameter parameter)
NetworkAnalyst3D
Upstream key facility lookup, that is, find the key facility nodes in the upstream of a given arc, return the key node ID array and its downstream arc ID array.
findCriticalFacilitiesUpFromEdge
in interface NetworkAnalyst3D
sourceNodeIDs
- Specified facility node ID array can not be empty.edgeID
- Specified analysis arc ID.parameter
- Three - dimensional facility network analysis general parameters.public FacilityAnalyst3DResult findCriticalFacilitiesUpFromNode(java.lang.String networkDataName, int[] sourceNodeIDs, int nodeID, FacilityAnalystParameter parameter)
NetworkAnalyst3D
Upstream key facility lookup, that is, find the key facility nodes in the upstream of a given node, return the key node ID array and its downstream arc ID array.
findCriticalFacilitiesUpFromNode
in interface NetworkAnalyst3D
sourceNodeIDs
- Specified facility node ID array can not be empty.nodeID
- The specified analysis node ID.parameter
- Three - dimensional facility network analysis general parameters.public FacilityAnalyst3DResult findSinkFromEdge(java.lang.String networkDataName, int edgeID, java.lang.String weightName, FacilityAnalystParameter parameter)
NetworkAnalyst3D
According to the given arc ID to find the sink, that is, starting from a given arc, find out the downstream sinks that outflow the arc according to the flow, and returns the arc, point and cost which the specified arc reach to the sink the minimum path contains.
findSinkFromEdge
in interface NetworkAnalyst3D
edgeID
- Specified analysis arc ID.weightName
- For the name of the specified weight field information object, see # name
.parameter
- Three - dimensional facility network analysis general parameters.public FacilityAnalyst3DResult findSinkFromNode(java.lang.String networkDataName, int nodeID, java.lang.String weightName, FacilityAnalystParameter parameter)
NetworkAnalyst3D
According to the given node ID to find the sink, that is, from a given node, find out the downstream sinks that outflow the node according to the flow, and returns the arc, point and cost which the specified arc reach to the sink the minimum path contains.
findSinkFromNode
in interface NetworkAnalyst3D
nodeID
- The specified node ID.weightName
- For the name of the specified weight field information object, see # name
.parameter
- Three - dimensional facility network analysis general parameters.public FacilityAnalyst3DResult traceUpFromEdge(java.lang.String networkDataName, int edgeID, java.lang.String weightName, FacilityAnalystParameter parameter)
NetworkAnalyst3D
According to the given arc ID for upstream tracking, that is, to find upstream of a given arc, returns the arc, node and total cost which upstream contains.
traceUpFromEdge
in interface NetworkAnalyst3D
edgeID
- Specified arc ID.weightName
- For the name of the specified weight field information object, see # name
.parameter
- Three - dimensional facility network analysis general parameters.public FacilityAnalyst3DResult traceUpFromNode(java.lang.String networkDataName, int nodeID, java.lang.String weightName, FacilityAnalystParameter parameter)
NetworkAnalyst3D
According to the given node ID for upstream tracking, that is, to find upstream of a given arc, returns the arc, node and total cost which upstream contains.
traceUpFromNode
in interface NetworkAnalyst3D
nodeID
- The specified node ID.weightName
- For the name of the specified weight field information object, see # name
.parameter
- Three - dimensional facility network analysis general parameters.public FacilityAnalyst3DResult traceDownFromEdge(java.lang.String networkDataName, int edgeID, java.lang.String weightName, FacilityAnalystParameter parameter)
NetworkAnalyst3D
According to the given arc ID for downstream tracking, that is, to find downstream of a given arc, returns the arc, node and total cost which downstream contains.
traceDownFromEdge
in interface NetworkAnalyst3D
edgeID
- Specified arc ID.weightName
- For the name of the specified weight field information object, see # name
.parameter
- Three - dimensional facility network analysis general parameters.public FacilityAnalyst3DResult traceDownFromNode(java.lang.String networkDataName, int nodeID, java.lang.String weightName, FacilityAnalystParameter parameter)
NetworkAnalyst3D
According to the given node ID for downstream tracking, that is, to find downstream of a given arc, returns the arc, node and total cost which downstream contains.
traceDownFromNode
in interface NetworkAnalyst3D
nodeID
- The specified node ID.weightName
- For the name of the specified weight field information object, see # name
.parameter
- Three - dimensional facility network analysis general parameters.public FacilityAnalyst3DResult findSourceFromEdge(java.lang.String networkDataName, int edgeID, java.lang.String weightName, FacilityAnalystParameter parameter)
NetworkAnalyst3D
According to the given arc ID to find the source, that is, starting from a given arc, find out the network source that flow to the arc according to the flow, and returns the arc, point and cost which the specified source reach to the specified arc the minimum path contains.
findSourceFromEdge
in interface NetworkAnalyst3D
edgeID
- Specified arc ID.weightName
- For the name of the specified weight field information object, see # name
.parameter
- Three - dimensional facility network analysis general parameters.public FacilityAnalyst3DResult findSourceFromNode(java.lang.String networkDataName, int nodeID, java.lang.String weightName, FacilityAnalystParameter parameter)
NetworkAnalyst3D
According to the given node ID to find the source, that is, from a given node, find the network source that flow to the node according to the flow , and returns the arc, nodes and cost that the source node reach to the specified node the minimum cost path contains .
findSourceFromNode
in interface NetworkAnalyst3D
nodeID
- The specified node ID.weightName
- For the name of the specified weight field information object, see # name
.parameter
- Three - dimensional facility network analysis general parameters.public java.lang.String[] getNetworkDataNames()
NetworkAnalyst3D
Gets the name of all network data used by the 3D Facility Network Analysis component.
getNetworkDataNames
in interface NetworkAnalyst3D
public FacilityAnalyst3DContent getContent(java.lang.String networkDataName)
NetworkAnalyst3D
Gets the content information of the network data.
getContent
in interface NetworkAnalyst3D