com.supermap.services.components.impl

Class NetworkAnalyst3DImpl

  • java.lang.Object
    • com.supermap.services.components.impl.NetworkAnalyst3DImpl
    • Method Summary

      Methods 
      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.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • NetworkAnalyst3DImpl

        public NetworkAnalyst3DImpl()
        
    • Method Detail

      • dispose

        public void dispose()
        
        Description copied from interface: Disposable

        Release the resource object.

        Specified by:
        dispose in interface Disposable
      • reloadModel

        public boolean reloadModel(java.lang.String networkDataName)
        
        Description copied from interface: NetworkAnalyst3D

        Reloads the network model.

        Specified by:
        reloadModel in interface NetworkAnalyst3D
        Returns:
      • findCriticalFacilitiesUpFromEdge

        public FacilityAnalyst3DResult findCriticalFacilitiesUpFromEdge(java.lang.String networkDataName,
                                                               int[] sourceNodeIDs,
                                                               int edgeID,
                                                               FacilityAnalystParameter parameter)
        
        Description copied from interface: 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.

        Specified by:
        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.
        Returns:
        Facility network analysis results. Facility network analysis results. Returns null if did not find the key facility node.
      • findCriticalFacilitiesUpFromNode

        public FacilityAnalyst3DResult findCriticalFacilitiesUpFromNode(java.lang.String networkDataName,
                                                               int[] sourceNodeIDs,
                                                               int nodeID,
                                                               FacilityAnalystParameter parameter)
        
        Description copied from interface: 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.

        Specified by:
        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.
        Returns:
        Facility network analysis results. Facility network analysis results. Returns null if did not find the key facility node.
      • findSinkFromEdge

        public FacilityAnalyst3DResult findSinkFromEdge(java.lang.String networkDataName,
                                               int edgeID,
                                               java.lang.String weightName,
                                               FacilityAnalystParameter parameter)
        
        Description copied from interface: 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.

        Specified by:
        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.
        Returns:
        Facility network analysis results.
      • findSinkFromNode

        public FacilityAnalyst3DResult findSinkFromNode(java.lang.String networkDataName,
                                               int nodeID,
                                               java.lang.String weightName,
                                               FacilityAnalystParameter parameter)
        
        Description copied from interface: 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.

        Specified by:
        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.
        Returns:
        Facility network analysis results.
      • traceUpFromEdge

        public FacilityAnalyst3DResult traceUpFromEdge(java.lang.String networkDataName,
                                              int edgeID,
                                              java.lang.String weightName,
                                              FacilityAnalystParameter parameter)
        
        Description copied from interface: 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.

        Specified by:
        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.
        Returns:
        Facility network analysis results.
      • traceUpFromNode

        public FacilityAnalyst3DResult traceUpFromNode(java.lang.String networkDataName,
                                              int nodeID,
                                              java.lang.String weightName,
                                              FacilityAnalystParameter parameter)
        
        Description copied from interface: 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.

        Specified by:
        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.
        Returns:
        Facility network analysis results.
      • traceDownFromEdge

        public FacilityAnalyst3DResult traceDownFromEdge(java.lang.String networkDataName,
                                                int edgeID,
                                                java.lang.String weightName,
                                                FacilityAnalystParameter parameter)
        
        Description copied from interface: 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.

        Specified by:
        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.
        Returns:
        Facility network analysis results.
      • traceDownFromNode

        public FacilityAnalyst3DResult traceDownFromNode(java.lang.String networkDataName,
                                                int nodeID,
                                                java.lang.String weightName,
                                                FacilityAnalystParameter parameter)
        
        Description copied from interface: 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.

        Specified by:
        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.
        Returns:
        Facility network analysis results.
      • findSourceFromEdge

        public FacilityAnalyst3DResult findSourceFromEdge(java.lang.String networkDataName,
                                                 int edgeID,
                                                 java.lang.String weightName,
                                                 FacilityAnalystParameter parameter)
        
        Description copied from interface: 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.

        Specified by:
        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.
        Returns:
        Facility network analysis results.
      • findSourceFromNode

        public FacilityAnalyst3DResult findSourceFromNode(java.lang.String networkDataName,
                                                 int nodeID,
                                                 java.lang.String weightName,
                                                 FacilityAnalystParameter parameter)
        
        Description copied from interface: 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 .

        Specified by:
        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.
        Returns:
        Facility network analysis results.
      • getNetworkDataNames

        public java.lang.String[] getNetworkDataNames()
        
        Description copied from interface: NetworkAnalyst3D

        Gets the name of all network data used by the 3D Facility Network Analysis component.

        Specified by:
        getNetworkDataNames in interface NetworkAnalyst3D
        Returns:
        Network data name array.