Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

node_neighbors(node_number::Integer, model::ABM, radius::Integer) is unclear #66

Closed
Datseris opened this issue Nov 23, 2019 · 3 comments
Assignees

Comments

@Datseris
Copy link
Member

The documentation

 Returns a list of neighboring nodes to the node node_number within the radius.

is unclear. What does the radius mean?

@kavir1698
Copy link
Collaborator

radius defines higher degree neighbors. E.g, neighbors with a radius=2 include first and second degree neighbors, that is, neighbors and neighbors of neighbors.

@Datseris
Copy link
Member Author

Okay, simple enough but should be said in the docstring.

@kavir1698
Copy link
Collaborator

cead67c

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants