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

Check that adjacency matrices given by the user are valid. #54

Closed
ismael-lajaaiti opened this issue Sep 8, 2022 · 4 comments · Fixed by #131
Closed

Check that adjacency matrices given by the user are valid. #54

ismael-lajaaiti opened this issue Sep 8, 2022 · 4 comments · Fixed by #131

Comments

@ismael-lajaaiti
Copy link
Collaborator

Add a safety check inside MultiplexNetwork to ensure that the adjacency matrix provided by the user for non-trophic interactions are valid.

@ismael-lajaaiti ismael-lajaaiti changed the title Check that user provided adjacency matrix for nti are valid Check that adjacency matrices given by the user are valid. Sep 9, 2022
@ismael-lajaaiti
Copy link
Collaborator Author

ismael-lajaaiti commented Nov 17, 2022

To complete, the idea is the non-trophic interactions are constrained by certain rules, which are:

  • competition can only occur between sessile species (currently producers <=> sessile)
  • facilitation can only be directed toward a producer
  • interference can only occur between two predators that share a common prey
  • refuge can only be directed toward a prey and coming from a sessile species (i.e. a producer)

@iago-lito
Copy link
Collaborator

  • trophic: no cycles?

@iago-lito
Copy link
Collaborator

Could be featured as #77 gets addressed.

@iago-lito
Copy link
Collaborator

The consistency enforced by #131 api should solve this.

@iago-lito iago-lito linked a pull request Mar 15, 2024 that will close this issue
16 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants