There are different implementations for the ExTensor and the Matrix structure. You switch
between them by simple editing the Cargo.toml
file.
Just edit the [features]
default value. If you for example want to use the bitvec implementation
of the extensor and the sparse hash implementation of the matrix use
[features]
default = ["extensor_bitvec", "matrix_sparse_hash"]
Options are:
- ExTensor:
extensor_bitvec
- Basis as bitvectordense_hashmap
- Basis as HashMap
- Matrix
naive
- as 1-D vecsparse_hash
- as sparse HashMapsparse_triples
- as sparse vec of triples (row, col, value)
Run the release Version via
cargo run --release
To run the tests simply do a
cargo test
If you only want to run tests in a certain module e.g. all tests in the graph module do
cargo test -- graph::tests
All Benchmarks are located under the benches/
directory. You can execute them with
cargo bench
Comments can be turned into a documentation with
cargo doc --open --no-deps