#include <formation_static.h>
rcsc::FormationStaticに対する継承グラフ
Public メソッド | |
FormationStatic () | |
just call the base class constructor | |
virtual std::string | methodName () const |
get the name of this formation | |
virtual Snapshot | createDefaultParam () |
create default formation. assign role and initial positions. | |
virtual std::string | getRoleName (const int unum) const |
get the role name of the specified player | |
virtual Vector2D | getPosition (const int unum, const Vector2D &focus_point) const |
get position for the current focus point | |
virtual void | getPositions (const Vector2D &focus_point, std::vector< Vector2D > &positions) const |
virtual void | train (const std::list< Snapshot > &train_data) |
update formation paramter using training data set | |
virtual bool | read (std::istream &is) |
restore data from the input stream. | |
virtual std::ostream & | print (std::ostream &os) const |
put all variables to output stream | |
Static Public メソッド | |
static std::string | name () |
static method. get the type name of this formation | |
static Formation * | create () |
static factory method. create this class. | |
Protected メソッド | |
virtual void | createNewRole (const int unum, const std::string &role_name, const SideType type) |
create new role parameter. | |
virtual void | setRoleName (const int unum, const std::string &name) |
set the role name of the specified player |
static std::string rcsc::FormationStatic::name | ( | ) | [inline, static] |
static method. get the type name of this formation
static Formation* rcsc::FormationStatic::create | ( | ) | [inline, static] |
static factory method. create this class.
virtual std::string rcsc::FormationStatic::methodName | ( | ) | const [inline, virtual] |
Formation::Snapshot rcsc::FormationStatic::createDefaultParam | ( | ) | [virtual] |
create default formation. assign role and initial positions.
rcsc::Formationを実装しています。
void rcsc::FormationStatic::createNewRole | ( | const int | unum, | |
const std::string & | role_name, | |||
const SideType | type | |||
) | [protected, virtual] |
create new role parameter.
unum | target player's number | |
role_name | new role name | |
type | side type of this parameter |
rcsc::Formationを実装しています。
void rcsc::FormationStatic::setRoleName | ( | const int | unum, | |
const std::string & | name | |||
) | [protected, virtual] |
set the role name of the specified player
unum | target player's number | |
name | role name string. |
rcsc::Formationを実装しています。
std::string rcsc::FormationStatic::getRoleName | ( | const int | unum | ) | const [virtual] |
get the role name of the specified player
unum | target player's number |
rcsc::Formationを実装しています。
Vector2D rcsc::FormationStatic::getPosition | ( | const int | unum, | |
const Vector2D & | focus_point | |||
) | const [virtual] |
get position for the current focus point
unum | player number | |
forcus_point | current focus point, usually ball position. |
rcsc::Formationを実装しています。
void rcsc::FormationStatic::train | ( | const std::list< Snapshot > & | train_data | ) | [virtual] |
update formation paramter using training data set
train_data | training data container |
bool rcsc::FormationStatic::read | ( | std::istream & | is | ) | [virtual] |
restore data from the input stream.
is | reference to the input stream. |
rcsc::Formationを実装しています。
std::ostream & rcsc::FormationStatic::print | ( | std::ostream & | os | ) | const [virtual] |
put all variables to output stream
os | reference to the output stream |
rcsc::Formationを実装しています。