relations

Crates.iorelations
lib.rsrelations
version0.3.0
sourcesrc
created_at2022-11-24 22:54:24.847795
updated_at2023-01-05 21:34:37.832119
descriptionA lightweight library for working with mathematical binary relations.
homepagehttps://github.com/jmaarleveld/rust-relations
repositoryhttps://github.com/jmaarleveld/rust-relations
max_upload_size
id722453
size61,326
Jesse Maarleveld (jmaarleveld)

documentation

https://docs.rs/relations

README

relations -- A lightweight Rust library for working with mathematical relations

Build Tests

The goal of this crate is to provide a basic and lightweight library for working with mathematical relations.

Getting Started

Please refer to the documentation for a guide on how to get started using this crate.

Relations

Mathematically, relations are sets of 2-tuples. Given a relation R and two items x and y, x and y are said to be R-related if (x, y) is contained in R.

Relations can be useful in the implementation of certain algorithms. Additionally, they can be used to model graphs.

This crate provides functionality for creating relations and working with them. In particular, there is functionality for testing properties of relations, such as testing whether a relation is transitive. Additionally, there is functionality for computing closures.

Scope of the Crate

This crate is not aiming to be feature-complete or particularly feature rich. However, features additions of requests are always welcome; feel free to contribute!

Commit count: 15

cargo fmt