Skip to content

Releases: leun4m/stochasta

v0.8.3

25 May 23:25
3e99d70
Compare
Choose a tag to compare

Changed

  • Update dependency version of
    • itertools from 0.11 to 0.13

For a complete history see: CHANGELOG.md

v0.8.2

25 Jun 23:01
Compare
Choose a tag to compare

Changed

  • Update dependency version of
    • itertools from 0.10 to 0.11
    • enumset from 1.0 to 1.1
  • Apply clippy suggestions for more idiomatic rust code

For a complete history see: CHANGELOG.md

v0.8.1

12 Oct 22:29
Compare
Choose a tag to compare

Changed


For a complete history see: CHANGELOG.md

v0.8.0

12 Oct 22:10
Compare
Choose a tag to compare

Added

  • Feature: playing_cards (to create a classic card deck more easily)
    • PlayingCard
      • consisting of suit and value
    • PlayingCardDeck
      • a builder for CardDeck<PlayingCard>
    • PlayingCardSuit
      • enum for ♦ ♣ ♥ ♠
    • PlayingCardValue
      • enum for 2 3 4 5 6 7 8 9 10 J Q K A

Changed

  • CardDrawTree
    • to_graphviz works with space-containing roots

For a complete history see: CHANGELOG.md

v0.7.2

01 Oct 00:11
Compare
Choose a tag to compare

Added

  • [must_use] flags
    • CardDrawSequence::new
    • CardDrawSequence::cards
    • CardDrawSequence::probability
    • Probability::new
    • Probability::ratio
    • Probability::complementary

For a complete history see: CHANGELOG.md

v0.7.1

14 Sep 19:57
Compare
Choose a tag to compare

Added

  • ProbabilityRatioError gains the following traits
    • Display
    • Error

For a complete history see: CHANGELOG.md

v0.7.0

05 Sep 07:20
Compare
Choose a tag to compare

Added

  • CardDeck gains the following traits
    • Display
    • Hash
    • Ord
    • PartialOrd
  • CardDrawSequence gains the following traits
    • Display
    • Hash
    • Ord
    • PartialOrd
  • CardDrawTree gains the following traits
    • Display
    • Hash
    • Ord
    • PartialOrd

Changed

  • Type parameter <C> in CardDeck and CardDrawTree requires now Ord trait
  • CardDrawSequence
    • derives PartialEq instead of manually implementing

v0.6.2

03 Sep 15:34
Compare
Choose a tag to compare

Added

  • Implementation of Default for Probability

Fixed

v0.6.1

03 Sep 14:33
Compare
Choose a tag to compare

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

Changed

  • CardDrawTree::to_graphviz()
    • replaced internally push_str(format!(...)) with write!

v0.6.0

09 Jun 11:33
Compare
Choose a tag to compare

Added

  • serde-Support for:
    • CardDrawSequence
    • CardDrawTree
    • Probability

Changed

  • CardDrawTree::to_graphviz()
    • uses a prefix (_) for the node ids
    • is now generic