Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
目的 c で PGN ファイルのパーサーを作成し、すべての検証と移動の表現をボード上で実行しましたが、バリエーションと再帰的バリエーションに関して問題があり、単純な PGN ファイルのみを解析しました。次の問題に遭遇しました 1.方法バリエーションの処理に適したデータ構造はどれですか? 2.いくつの再帰的バリエーションをサポートする必要がありますか?
ありがとう
同じツリー構造を使用して問題を解決しました。リンク リストとバリエーション ノード リンクを使用して、バリエーション ブランチを作成しました。