NetLogo / NetLogo/NW-Extension

nw:betweenness-centrality - add support for weighted networks

Open
#155 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Scala
Stars
66
Forks
25
PR merge metrics
No merged PRs in 30d

Description

The current documentation for nw:betweenness-centrality states that "As of now, link weights are not taken into account."

If support for weighted networks isn't too onerous to implement it would be particularly useful.

Also, while you're there the documentation should note that this primitive can also be run by a link to find its betweenness-centrality. /cheeky

Many Thanks

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the nw:betweenness-centrality implementation and its current documentation, which says link weights are ignored. Determine the scope of weighted-network support and document that the primitive can also be run by a link; done means weighted networks are supported and both behaviors are accurately documented.

Written by the indexing model from the issue text.

Assessment

Tech stack
scala
Domain
networking
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.