Message Boards Message Boards

0
|
3851 Views
|
2 Replies
|
1 Total Likes
View groups...
Share
Share this post:

GraphNeighborhoodVolumes not responding on radius parameter?

Posted 3 years ago

From Basic examples 3 :

  gr=Graph[{1, 2, 3, 4, 5, 6}, {Null, SparseArray[Automatic, {6, 6}, 0, 
       {1, {{0, 2, 4, 6, 8, 10, 12}, {{2}, {6}, {1}, {3}, {2}, {4}, {3}, {5}, {4}, {6}, {1}, {5}}}, Pattern}]}, 
     {FormatType -> TraditionalForm, ImageSize -> {85.859375, Automatic}}]

ResourceFunction["GraphNeighborhoodVolumes"][gr,All,2]

Limiting the radius to 2 as no effect on result after evaluation in my desktop (Win10):

<|1 -> {1, 3, 5, 6}, 2 -> {1, 3, 5, 6}, 3 -> {1, 3, 5, 6}, 
 4 -> {1, 3, 5, 6}, 5 -> {1, 3, 5, 6}, 6 -> {1, 3, 5, 6}|>.

This problem persist on other Graph's also.

POSTED BY: Chris Van Damme
2 Replies

Hello, I hoped that a bug in ResourceFunction["GraphNeighborhoodVolumes"] would be solved in version Wolfram/One 13.0.

But it 's still there! The radius parameter r=1 gives wrong result. This problem is already been reported under WR #5643370 and WR #5617870 Greetings

POSTED BY: Chris Van Damme
Posted 3 years ago

Hi Chris,

Looks like a bug, none of the examples in the documentation that specify a volume work. I tried it on 12.2 and 12.3. You should report it, click on the "Send a message about this function" link at the bottom of the page.

POSTED BY: Rohit Namjoshi
Reply to this discussion
Community posts can be styled and formatted using the Markdown syntax.
Reply Preview
Attachments
Remove
or Discard

Group Abstract Group Abstract