| 1 | /* piecePairRawEval.h |
| 2 | */ |
| 3 | #ifndef EVAL_PPAIR_PIECEPAIRRAWEVAL_H |
| 4 | #define EVAL_PPAIR_PIECEPAIRRAWEVAL_Hcxx . . $ `full/osl/eval/ppair/piecePairRawEval.h:4:9`! |
| 5 | |
| 6 | #include "osl/eval/ppair/piecePairEval.h"cxx . . $ `<file>/full/osl/eval/ppair/piecePairEval.h`/ |
| 7 | #include "osl/eval/ppair/piecePairTable.h"cxx . . $ `<file>/full/osl/eval/ppair/piecePairTable.h`/ |
| 8 | |
| 9 | namespace oslcxx . . $ osl/ |
| 10 | { |
| 11 | namespace evalcxx . . $ osl/eval/ |
| 12 | { |
| 13 | namespace ppaircxx . . $ osl/eval/ppair/ |
| 14 | { |
| 15 | class PiecePairRawTablecxx . . $ osl/eval/ppair/PiecePairRawTable# : public PiecePairTablecxx . . $ osl/eval/ppair/PiecePairTable#<signed char> |
| 16 | { |
| 17 | public: |
| 18 | PiecePairRawTablecxx . . $ osl/eval/ppair/PiecePairRawTable#PiecePairRawTable(49f6e7a06ebc5aa8).(); |
| 19 | ~cxx . . $ osl/eval/ppair/PiecePairRawTable#`~PiecePairRawTable`(49f6e7a06ebc5aa8).PiecePairRawTablecxx . . $ osl/eval/ppair/PiecePairRawTable#(); |
| 20 | /** |
| 21 | * 一度だけ読み込む |
| 22 | * @return successful load |
| 23 | */ |
| 24 | bool setUpcxx . . $ osl/eval/ppair/PiecePairRawTable#setUp(7d4bdb1abc417636).(const char *filename) const; |
| 25 | /** |
| 26 | * バイナリファイルから読み込む. |
| 27 | * r2246以降ではファイルイメージとメモリイメージとは,PiecePairIndex |
| 28 | * が違うので,変換が必要. |
| 29 | * @return successful load |
| 30 | */ |
| 31 | bool loadFromBinaryFilecxx . . $ osl/eval/ppair/PiecePairRawTable#loadFromBinaryFile(7d4bdb1abc417636).(const char *filename) const; |
| 32 | /** |
| 33 | * バイナリファイルに書き出す. |
| 34 | * r2246以降ではファイルイメージとメモリイメージとは,PiecePairIndex |
| 35 | * が違うので,変換が必要. |
| 36 | * @return successful load |
| 37 | */ |
| 38 | void writeInBinaryFilecxx . . $ osl/eval/ppair/PiecePairRawTable#writeInBinaryFile(acfedb98bf840c77).(const char *filename) const; |
| 39 | |
| 40 | /** user must initialize this before use */ |
| 41 | static PiecePairRawTablecxx . . $ osl/eval/ppair/PiecePairRawTable# Tablecxx . . $ osl/eval/ppair/PiecePairRawTable#Table.; |
| 42 | }; |
| 43 | |
| 44 | /** |
| 45 | * 関係の価値は[-127,127]点の評価関数. |
| 46 | */ |
| 47 | class PiecePairRawEvalcxx . . $ osl/eval/ppair/PiecePairRawEval# : public PiecePairEvalcxx . . $ osl/eval/ppair/PiecePairEval#<PiecePairRawEvalcxx . . $ osl/eval/ppair/PiecePairRawEval#,PiecePairRawTablecxx . . $ osl/eval/ppair/PiecePairRawTable#> |
| 48 | { |
| 49 | public: |
| 50 | typedef PiecePairEvalcxx . . $ osl/eval/ppair/PiecePairEval#<PiecePairRawEvalcxx . . $ osl/eval/ppair/PiecePairRawEval#,PiecePairRawTablecxx . . $ osl/eval/ppair/PiecePairRawTable#> base_tcxx . . $ osl/eval/ppair/PiecePairRawEval#base_t#; |
| 51 | explicit PiecePairRawEvalcxx . . $ osl/eval/ppair/PiecePairRawEval#PiecePairRawEval(e78decb63b058f4).(const SimpleStatecxx . . $ osl/SimpleState#& state) |
| 52 | : base_tcxx . . $ osl/eval/ppair/PiecePairEval#PiecePairEval(e78decb63b058f4).(state) |
| 53 | { |
| 54 | } |
| 55 | }; |
| 56 | } // namespace ppair |
| 57 | using ppaircxx . . $ osl/eval/ppair/::PiecePairRawTablecxx . . $ osl/eval/ppair/PiecePairRawTable#; |
| 58 | using ppaircxx . . $ osl/eval/ppair/::PiecePairRawEvalcxx . . $ osl/eval/PiecePairRawEval#; |
| 59 | } // namespace eval |
| 60 | } // namespace osl |
| 61 | |
| 62 | |
| 63 | #endif /* EVAL_PPAIR_PIECEPAIRRAWEVAL_H */ |
| 64 | // ;;; Local Variables: |
| 65 | // ;;; mode:c++ |
| 66 | // ;;; c-basic-offset:2 |
| 67 | // ;;; End: |