My Project
capture.cc
Go to the documentation of this file.
1/* capture.cc
2 */
4#include <sstream>
5
6const std::string osl::rating::Capture::name(int first, int /*last*/)
7{
8 std::ostringstream os;
9 os << "(";
10 if (first == -INF)
11 os << "-inf";
12 else
13 os << first;
14 os << " <= )";
15 return os.str();
16}
17
19 : Feature(Ptype_Table.getCsaName(p)), ptype(p)
20{
21}
22
23/* ------------------------------------------------------------------------- */
DropCaptured(Ptype ptype)
Definition capture.cc:18
const std::string & name() const
Ptype
駒の種類を4ビットでコード化する
Definition basic_type.h:84
const PtypeTable Ptype_Table
Definition tables.cc:97