Main Page
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
include
osl
rating
group
bigramGroup.h
Go to the documentation of this file.
1
/* bigramGroup.h
2
*/
3
#ifndef _BIGRAMGROUP_H
4
#define _BIGRAMGROUP_H
5
6
#include "
osl/rating/group.h
"
7
#include "
osl/rating/feature/bigramAttack.h
"
8
9
namespace
osl
10
{
11
namespace
rating
12
{
13
class
BigramAttackGroup
:
public
Group
14
{
15
bool
same
,
focus_x
;
16
public
:
17
static
std::string
name
(
bool
same
,
bool
focus_x
);
18
BigramAttackGroup
(
bool
same
,
bool
focus_x
);
19
20
void
show
(std::ostream& os,
int
name_width,
const
range_t
& range,
21
const
vector<double>& weights)
const
22
{
23
showTopN
(os, name_width, range, weights, 3);
24
}
25
int
findMatch
(
const
NumEffectState& state,
Move
m,
const
RatingEnv
& env)
const
;
26
};
27
}
28
}
29
30
31
#endif
/* _BIGRAMGROUP_H */
32
// ;;; Local Variables:
33
// ;;; mode:c++
34
// ;;; c-basic-offset:2
35
// ;;; End:
Generated on Sun Jul 21 2013 13:37:23 by
1.8.4