Releases: leun4m/stochasta
Releases · leun4m/stochasta
v0.8.3
v0.8.2
Changed
- Update dependency version of
itertools
from 0.10 to 0.11enumset
from 1.0 to 1.1
- Apply clippy suggestions for more idiomatic rust code
For a complete history see: CHANGELOG.md
v0.8.1
Changed
- activate features for documentation at https://docs.rs
For a complete history see: CHANGELOG.md
v0.8.0
Added
- Feature:
playing_cards
(to create a classic card deck more easily)PlayingCard
- consisting of suit and value
PlayingCardDeck
- a builder for
CardDeck<PlayingCard>
- a builder for
PlayingCardSuit
- enum for
♦ ♣ ♥ ♠
- enum for
PlayingCardValue
- enum for
2 3 4 5 6 7 8 9 10 J Q K A
- enum for
Changed
CardDrawTree
to_graphviz
works with space-containing roots
For a complete history see: CHANGELOG.md
v0.7.2
Added
[must_use]
flagsCardDrawSequence::new
CardDrawSequence::cards
CardDrawSequence::probability
Probability::new
Probability::ratio
Probability::complementary
For a complete history see: CHANGELOG.md
v0.7.1
Added
ProbabilityRatioError
gains the following traitsDisplay
Error
For a complete history see: CHANGELOG.md
v0.7.0
Added
CardDeck
gains the following traitsDisplay
Hash
Ord
PartialOrd
CardDrawSequence
gains the following traitsDisplay
Hash
Ord
PartialOrd
CardDrawTree
gains the following traitsDisplay
Hash
Ord
PartialOrd
Changed
- Type parameter
<C>
inCardDeck
andCardDrawTree
requires nowOrd
trait CardDrawSequence
- derives
PartialEq
instead of manually implementing
- derives
v0.6.2
Added
- Implementation of
Default
forProbability
Fixed
documentation
in Cargo.toml linked to the docs of serde instead of https://docs.rs/stochasta/
v0.6.1
Fixed
CardDrawTree
- there was an issue with the calculation of the probabilities in the tree (#13) where the sum
of all leaves would not resolve to 1 since parent probabilities would not be transferred
properly to child nodes
- there was an issue with the calculation of the probabilities in the tree (#13) where the sum
Changed
CardDrawTree::to_graphviz()
- replaced internally
push_str(format!(...))
withwrite!
- replaced internally