Expand description
§Decentralized Decision Library
A library for decentralized decision making, fair division algorithms, and random number generation. This library focuses on consensus-friendly, objective algorithms.
§Features
§⚖️ Fair Division Algorithms
- Equal weights and weighted fair division
- Super fair division algorithms
- Optimal resource allocation
§🎲 Decentralized Random Number Generation
- Single and multiple random number generation
- Collision resistance and uniqueness guarantees
- Offset mechanism for pattern prevention
§Quick Start
use dd_algorithms_lib::{
// Fair Division
calculate_fair_division_equal_weights,
calculate_fair_division_weighted,
// Random Generation
get_one_dd_rand_num,
get_k_dd_rand_num,
};§Examples
See the examples/ directory for comprehensive usage examples.
Re-exports§
pub use algorithms::*;pub use types::*;
Modules§
- algorithms
- Mathematical algorithms for fair division and random number generation.
- types
- Common types and data structures used throughout the library.
Enums§
Type Aliases§
- Result
- Result type for the library