User Tools

Site Tools


fast_perm_check

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
fast_perm_check [2023/03/21 15:23]
harshec
fast_perm_check [2023/04/19 10:30] (current)
harshec
Line 22: Line 22:
   *  k2 is the new string concatenated with the current die/number we're processing.   *  k2 is the new string concatenated with the current die/number we're processing.
   *  The simplest way to explain this is with an example. Let's say the current letter is a c. The number of ways to make 'abc' now will be equal to how many you could do before plus how many ways you could do 'ab' because all those 'ab's now can have a 'c' added to them.<code>count['abc'] += count['ab']</code>   *  The simplest way to explain this is with an example. Let's say the current letter is a c. The number of ways to make 'abc' now will be equal to how many you could do before plus how many ways you could do 'ab' because all those 'ab's now can have a 'c' added to them.<code>count['abc'] += count['ab']</code>
 +
 +[[http://www.ericharshbarger.org/cgi-bin/basic_perm_check.pl|Here is a Perl script implementation of the permutation-fairness checking in action.]]
fast_perm_check.1679426618.txt.gz ยท Last modified: 2023/03/21 15:23 by harshec