NetLogo / NetLogo/NW-Extension

Conditionally select subset of network based on link values (for distance-to, path-to and turtles-in-radius)

Open
#203 4 comments 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

I would like to conditionally select a subset of a network based on link values to perform some functions, mainly distance-to, path-to and turtles-in-radius.

So for example, I have a network with links. Each link has either a red, green or blue color. I would like see which turtles are in a certain radius using only the green and blue links (so not red). Then I want to find a path those one of those turtles over only those green and blue links.

Is it currently possible to select such a subset of the network/links? If so, how? (I would expect something like with [color != red]). If not, it would be amazing to have this as an feature!

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 linked documentation for distance-to, path-to, and turtles-in-radius, then inspect the NW-Extension implementation to determine whether link predicates are supported. Clarify the intended filtering semantics for colored links and whether the result should be documentation of an existing capability or a new feature. Done means an agreed scope and corresponding behavior or usage guidance for filtered networks.

Written by the indexing model from the issue text.

Assessment

Tech stack
scala
Domain
networking
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.