My Project
std
osl
rating
feature
countEffect2.cc
Go to the documentation of this file.
1
/* countEffect2.cc
2
*/
3
#include "
osl/rating/feature/countEffect2.h
"
4
#include <sstream>
5
6
const
int
osl::rating::CountEffect2::Max
;
7
8
std::string
9
osl::rating::CountEffect2::name
(
int
attack,
int
defense)
10
{
11
std::ostringstream
ss
;
12
ss
<<
attack
<<
defense
;
13
return
ss
.str();
14
}
15
16
17
/* ------------------------------------------------------------------------- */
18
// ;;; Local Variables:
19
// ;;; mode:c++
20
// ;;; c-basic-offset:2
21
// ;;; End:
countEffect2.h
osl::rating::CountEffect2::count
static std::pair< int, int > count(const NumEffectState &state, Square position, const RatingEnv &env)
Definition
countEffect2.h:21
osl::rating::CountEffect2::attack
int attack
Definition
countEffect2.h:17
osl::rating::CountEffect2::Max
static const int Max
Definition
countEffect2.h:16
osl::rating::CountEffect2::name
static std::string name(int attack, int defense)
Definition
countEffect2.cc:9
osl::rating::CountEffect2::defense
int defense
Definition
countEffect2.h:17
Generated by
1.9.8