Skip to main content
Question

summing costs upstream in a network

  • September 1, 2014
  • 3 replies
  • 9 views

Forum|alt.badge.img
i have a dendritic network of links and nodes

 

 

from specific nodes on the network i want to calculate the total length of links that feed into that node

 

 

i.e. how can i sum the total (cost) of all links "upstream" from a given point

 

 

IanM

3 replies

takashi
Contributor
Forum|alt.badge.img+19
  • Contributor
  • September 2, 2014
Hi Ian,

 

 

If orientations of all the links are directed to upper stream, the NetworkCostCalculator (Weight Type: By Length (Foward Only)) can be used to extract upstream links from the specified node (i.e. Source). You can then calculate total length of them easily.

 

 

If orientations are unknown but the root node (Destination) is known, you can use the NetworkFlowOrientor and the Orientor (Orientation Type: REVERSE) to adjust link orientations properly.

 

However, if the root node is also unknown, I have no idea to solve the question...

 

 

Takashi

Forum|alt.badge.img
thanks - that seems to be doing what i want - next step ... how do i configure the workspace to run the calculation for a list of different sources, one at a time

 

 

IanM

takashi
Contributor
Forum|alt.badge.img+19
  • Contributor
  • September 4, 2014
Regarding the next step, consider using batch processing. There are several ways to do batch processing. See related articles in the Knowledge Base. e.g. enter "batch processing" as key for searching.

 

I prefer to use the WorkspaceRunner or a batch file containing command lines ;)

Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings