Go to the documentation of this file.00001
00002
00003 #include "osl/rating/feature/bigramAttack.h"
00004 #include <sstream>
00005
00006 const std::string osl::rating::
00007 BigramAttack::name(int x1, int y1, int x2, int y2, int king_index, bool same, bool focus_x)
00008 {
00009 std::ostringstream os;
00010 os << "BA(" << x1 << "," << y1 << ")(" << x2 << "," << y2 << ")" << (same ? "=" : "!")
00011 << (focus_x ? "X" : "Y") << king_index;
00012 return os.str();
00013
00014 }
00015
00016
00017
00018
00019
00020