https://github.com/quantumjot/fenotype
Graphs in rust :crab:
https://github.com/quantumjot/fenotype
Last synced: 3 months ago
JSON representation
Graphs in rust :crab:
- Host: GitHub
- URL: https://github.com/quantumjot/fenotype
- Owner: quantumjot
- License: bsd-3-clause
- Created: 2023-06-12T14:05:42.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2023-07-03T14:28:39.000Z (almost 2 years ago)
- Last Synced: 2025-01-12T23:43:46.479Z (4 months ago)
- Language: Rust
- Homepage:
- Size: 32.2 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# **Fe**n**O**type
The name is an unholy amalgam of:
* FeO - Iron Oxide - Rust :crab:
* Phenotype - the set of observable characteristics of an individual resulting from the interaction of its genotype with the environment.Various graph algorithms.
*NOTE:* I'm using this as an opportunity to learn Rust.
---
### Usage
```rs
let path = Path::new("./data/karate.tsv");
let graph = Graph::from_file(path, false);let node: i64 = 0;
println!("Node {} has {:?} neighbors", node, graph.neighbors(node));
```