File: pvVector.h

package info (click to toggle)
gpsshogi 0.7.0-3.3
  • links: PTS, VCS
  • area: main
  • in suites: forky
  • size: 111,280 kB
  • sloc: cpp: 80,962; perl: 12,610; ruby: 3,929; javascript: 1,631; makefile: 1,202; sh: 473; tcl: 166; ansic: 67
file content (23 lines) | stat: -rw-r--r-- 470 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
/* pvVector.h
 */
#ifndef GPSSHOGI_PVVECTOR_H
#define GPSSHOGI_PVVECTOR_H

#include "osl/container.h"

namespace gpsshogi
{
  enum { PvMaxDepth = 48 };
  struct PVVector : public osl::FixedCapacityVector<osl::Move,PvMaxDepth> 
  {
    int pieceValue() const;
    int pieceValueOfTurn() const;
  };
  std::ostream& operator<<(std::ostream&, const PVVector&);
}

#endif /* GPSSHOGI_PVVECTOR_H */
// ;;; Local Variables:
// ;;; mode:c++
// ;;; c-basic-offset:2
// ;;; End: