All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
piecePairPieceEval.h
Go to the documentation of this file.
1 /* piecePairPieceEval.h
2  */
3 #ifndef EVAL_PPAIR_PIECEPAIRPIECEEVAL_H
4 #define EVAL_PPAIR_PIECEPAIRPIECEEVAL_H
5 
8 
9 namespace osl
10 {
11  namespace eval
12  {
13  namespace ppair
14  {
15  class PiecePairPieceTable : public PiecePairTable<signed short>
16  {
17  public:
24  bool setUp(const char *filename) const;
25 
27  static const PiecePairPieceTable Table;
29  };
30 
35  : public PiecePairWithStand<PiecePairPieceTable>
36  {
37  public:
39  explicit PiecePairPieceEval(const SimpleState& state)
40  : base_t(state)
41  {
42  }
43  static int adjustableDimension() { return PTYPE_SIZE; }
44  static void resetWeights(const int *w);
45  };
46 
47  } // namespace ppair
48  using ppair::PiecePairPieceTable;
49  using ppair::PiecePairPieceEval;
50  } // namespace eval
51 } // namespace osl
52 
53 
54 #endif /* EVAL_PPAIR_PIECEPAIRPIECEEVAL_H */
55 // ;;; Local Variables:
56 // ;;; mode:c++
57 // ;;; c-basic-offset:2
58 // ;;; coding:utf-8
59 // ;;; End: