#include <formation_ngnet.h>
rcsc::FormationNGNetに対する継承グラフ
Public メソッド | |
FormationNGNet () | |
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 | |
bool | read (std::istream &is) |
restore data from the input stream. | |
std::ostream & | print (std::ostream &os) const |
put data to the output stream. | |
Static Public メソッド | |
static std::string | name () |
static method. get the type name of this formation | |
static Formation * | create () |
static method. factory of 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 | |
構成 | |
class | Param |
formation parameter using NGNet one Param instance realizes just one player's position. [詳細] |
static std::string rcsc::FormationNGNet::name | ( | ) | [inline, static] |
static method. get the type name of this formation
static Formation* rcsc::FormationNGNet::create | ( | ) | [inline, static] |
static method. factory of this class
virtual std::string rcsc::FormationNGNet::methodName | ( | ) | const [inline, virtual] |
Formation::Snapshot rcsc::FormationNGNet::createDefaultParam | ( | ) | [virtual] |
create default formation. assign role and initial positions.
rcsc::Formationを実装しています。
void rcsc::FormationNGNet::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::FormationNGNet::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::FormationNGNet::getRoleName | ( | const int | unum | ) | const [virtual] |
get the role name of the specified player
unum | target player's number |
rcsc::Formationを実装しています。
Vector2D rcsc::FormationNGNet::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::FormationNGNet::train | ( | const std::list< Snapshot > & | train_data | ) | [virtual] |
update formation paramter using training data set
train_data | training data container |
bool rcsc::FormationNGNet::read | ( | std::istream & | is | ) | [virtual] |
restore data from the input stream.
is | reference to the input stream. |
rcsc::Formationを実装しています。
std::ostream & rcsc::FormationNGNet::print | ( | std::ostream & | os | ) | const [virtual] |
put data to the output stream.
os | reference to the output stream |
rcsc::Formationを実装しています。