Skip to content

richardanaya/smallgraph

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

smallgraph

docs.rs docs

[dependencies]
smallgraph = "0.0"

A graph implementation based on smallvec and generational indexes to increase memory cache locality of node members.

  • #![no_std]
  • smalltree implementation is built on smallgraph
  • simple api that is easy to work with borrow checker
  • use generics to pass in a numeric type to be able to tune sizing

Example

struct Foo;

fn main(){
  let g = smallgraph::SmallGraph::new();
  let n1 = g.insert(Foo);
  let n2 = g.insert(Foo);
  g.connect(n1,n2);
}

License

This project is licensed under either of

at your option.

Contribution

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in smallgraph by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.

About

A graph implementation based on smallvec

Resources

License

Apache-2.0, Apache-2.0 licenses found

Licenses found

Apache-2.0
LICENSE-APACHE
Apache-2.0
LICENSE-MIT

Stars

0 stars

Watchers

1 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors