Jump to content

find shortest path - "Adjacency Array Attribute"


MadMax50

Recommended Posts

Hello

I am curious to know how the "Adjacency Array Attribute" parameter works in the find shortest path sop.

It states in the help file:
If enabled, this specifies a point attribute that indicates to add directed edges from each point to the points whose numbers are in the array. In this case, Point Cost Attribute can optionally be an array attribute whose entries correspond with costs added to these edges, in addition to any other costs.

This is a bit confusing to me though. Am I supposed to make a point array attribute before the findshortestpath sop ? How does this work exactly and what would it be used for ?

I tried to make an array of points and use that attribute but im not getting any visible results

 

Thank you

find_shortest_path_neighbours.hipnc

Link to comment
Share on other sites

  • 7 months later...

Did you find anything?

 

I am looking to get an attribute that enumerates the points for each path. First point the path travels through is 1, second point the path travels to is 2, etc.. I am wondering if this attribute would help with that.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...