Skip to content

Transposition table "size" #140

Open

Description

@XavierDantan

Hello and thanks for the continued work.
In a single dummy scenario where we distribute 2 hands randomly, it would be helpful to output how many cards have no effect in the result, because it will allow to value 1 DDS run over the others.
Idle cards are identified by the DDS to feed the Transposition table, it should be possible to expose it as part of the result.

Activity

  1. tameware commented on Aug 4, 2026

    @tameware
    Collaborator

    I don't understand. Can you give an example?

  2. XavierDantan commented on Aug 6, 2026

    @XavierDantan
    Author
  3. tameware commented on Aug 6, 2026

    @tameware
    Collaborator

    DDS certainly makes use of the notion of equivalent cards. If a hand has 65432 in a suit, only one feeds into the mini-max calculation. Likewise for 6532 if the 4 has already been played. Are you saying you'd like this information to be surfaced to the caller? If it's done only for the deal as submitted to DDS, could this be done by the caller itself?

    If you'd like to de-emphasize deals that differ only in spots unlikely to matter, even if not strict equivalents, could this also be done by the caller?

  4. XavierDantan commented on Aug 6, 2026

    @XavierDantan
    Author
  5. tameware commented on Aug 6, 2026

    @tameware
    Collaborator

    My intuition is that only the initial 52-card deal is important for performance. As we go even one or two tricks in, the number of possible outcomes collapses dramatically.

  6. zzcgumn commented on Aug 14, 2026

    @zzcgumn
    Collaborator

    DDS is not able to compare to full deals and say whether they are equivalent. It uses a small-card approximation to establish whether end-games are equivalent, but this is only valid within the search not across different deals.

  7. XavierDantan commented on Aug 14, 2026

    @XavierDantan
    Author

    I don't expect anything from DDS across different deals. This would be analysis on Caller side based on the output.
    General idea is to know for each suit what is the highest non-significant card.

    With this information we can compute (on Caller side) how many deals the one we submitted is equivalent to. This weight value allows faster convergence of 1-hand or 2-hands simulations.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions