use-species-interaction 0.1.0

Primitive species interaction vocabulary for RustUse
Documentation
  • Coverage
  • 6.25%
    2 out of 32 items documented1 out of 13 items with examples
  • Size
  • Source code size: 11.19 kB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 751.44 kB This is the summed size of all files generated by rustdoc for all configured targets
  • Ø build duration
  • this release: 5s Average build duration of successful builds.
  • all releases: 5s Average build duration of successful builds in releases after 2024-10-23.
  • Links
  • Homepage
  • RustUse/use-ecology
    1 0 0
  • crates.io
  • Dependencies
  • Versions
  • Owners
  • CloudBranch

use-species-interaction

Primitive species interaction vocabulary.

use-species-interaction models descriptive interaction kinds and strengths plus simple pairwise interactions between species or organism labels. It does not model population outcomes, simulate interactions, calculate interaction networks, or fetch interaction data.

Example

use use_species_interaction::{InteractionStrength, SpeciesInteraction, SpeciesInteractionKind};

let interaction = SpeciesInteraction::new("coral", "algae", SpeciesInteractionKind::Mutualism)
    .unwrap()
    .with_strength(InteractionStrength::Strong);

assert_eq!(interaction.to_string(), "coral -[mutualism]-> algae");
assert_eq!(interaction.strength(), Some(&InteractionStrength::Strong));

Scope

  • descriptive species interaction kinds and strengths
  • simple pairwise interaction labels

Non-goals

  • population outcome modeling
  • interaction simulation
  • interaction network calculation
  • interaction data fetching

License

Licensed under either of the following, at your option:

  • MIT License
  • Apache License, Version 2.0