pieceCost.cc Source File

- Main Page
- Namespaces
- Classes
- Files

- File List
- File Members

All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
pieceCost.cc
Go to the documentation of this file.
1 /* pieceCost.cc
2 */
3 #include "osl/checkmate/pieceCost.h"
4
5 namespace osl
6 {
7 const CArray<signed char, PTYPE_SIZE> checkmate::
8 PieceCost::attack_sacrifice_cost =
9 {{
10 0, 0, // empty, edge
11 1, 2, 2, 2, // ppawn - psilver
12 4, 4, // pbishop, prook
13 0, 4, // king, gold
14 1, 2, 2, 2,
15 3, 3,
16 }};
17 } // namespace osl
18
19 /* ------------------------------------------------------------------------- */
20 // ;;; Local Variables:
21 // ;;; mode:c++
22 // ;;; c-basic-offset:2
23 // ;;; End: