コード例 #1
0
ファイル: UciOptions.cs プロジェクト: SethKitchen/ChessAI
        private void Add(string optionName, UCIOption option)
        {
            string lname = optionName.ToLowerInvariant();

            option.name = optionName;
            o.Add(lname, option);
        }
コード例 #2
0
ファイル: UciOptions.cs プロジェクト: SethKitchen/ChessAI
 internal static void on_threads(UCIOption opt)
 {
     Threads.read_uci_options(null);
 }
コード例 #3
0
ファイル: UciOptions.cs プロジェクト: SethKitchen/ChessAI
 internal static void on_eval(UCIOption opt)
 {
     Evaluate.init();
 }
コード例 #4
0
ファイル: UciOptions.cs プロジェクト: SethKitchen/ChessAI
 //internal static void on_hash_size(UCIOption opt) { TT.set_size(UInt32.Parse(opt.v)); }
 internal static void on_clear_hash(UCIOption opt)
 {
     TT.clear();
 }