To ensure an unbiased ordering of the deck, the programmer implemented a Fisher-Yates shuffle in the shuffling routine.
デッキの順序が偏らないようにするため、プログラマーはシャッフル処理において、集合からランダムに要素を選んで取り除き、要素がなくなるまで繰り返すことで無偏のランダム順列を生成するアルゴリズムを実装した.
アカウントを持っていませんか? 新規登録
アカウントを持っていますか? ログイン
DiQt(ディクト)
無料
★★★★★★★★★★