Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jmitchell/multiset
Multiset/bag implementation in Rust
https://github.com/jmitchell/multiset
Last synced: about 2 months ago
JSON representation
Multiset/bag implementation in Rust
- Host: GitHub
- URL: https://github.com/jmitchell/multiset
- Owner: jmitchell
- License: apache-2.0
- Created: 2015-03-29T19:51:48.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2023-09-02T16:48:58.000Z (over 1 year ago)
- Last Synced: 2024-10-13T10:44:31.017Z (2 months ago)
- Language: Rust
- Size: 42 KB
- Stars: 9
- Watchers: 4
- Forks: 9
- Open Issues: 7
-
Metadata Files:
- Readme: README.md
- License: LICENSE-APACHE
Awesome Lists containing this project
README
# Multiset [![Crates.io](https://img.shields.io/crates/v/multiset.svg?maxAge=86400)](https://crates.io/crates/multiset) [![Docs](https://docs.rs/multiset/badge.svg)](https://docs.rs/multiset) [![Build Status](https://travis-ci.org/jmitchell/multiset.svg?branch=master)](https://travis-ci.org/jmitchell/multiset)
A multiset is an unordered collection of values. They are also known as bags.
Unlike sets where each value is either included or not, multisets permit duplicates. Consequently, they're useful for maintaining a count of distinct values.
See the documentation of [HashMultiSet](https://docs.rs/multiset/0.0.5/multiset/struct.HashMultiSet.html) for examples.
## License
Licensed under either of
* Apache License, Version 2.0 ([LICENSE-APACHE](LICENSE-APACHE) or http://www.apache.org/licenses/LICENSE-2.0)
* MIT license ([LICENSE-MIT](LICENSE-MIT) or http://opensource.org/licenses/MIT)at your option.
### Contribution
Unless you explicitly state otherwise, any contribution intentionally submitted
for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any
additional terms or conditions.