#include <formation_ngnet.h>
Public メソッド | |
Param () | |
just set a learning parameter | |
const std::string & | roleName () const |
get assigned role name | |
NGNet & | getNet () |
get RBF network | |
const NGNet & | net () const |
get RBF network | |
Vector2D | getPosition (const Vector2D &ball_pos, const Formation::SideType type) const |
get strategic position | |
void | setRoleName (const std::string &name) |
set role name | |
bool | read (std::istream &is) |
restore RBF network from the input stream | |
std::ostream & | print (std::ostream &os) const |
put structure to the output stream | |
Static Public 変数 | |
static const double | PITCH_LENGTH |
static const double | PITCH_WIDTH |
const std::string& rcsc::FormationNGNet::Param::roleName | ( | ) | const [inline] |
get assigned role name
NGNet& rcsc::FormationNGNet::Param::getNet | ( | ) | [inline] |
get RBF network
const NGNet& rcsc::FormationNGNet::Param::net | ( | ) | const [inline] |
get RBF network
Vector2D rcsc::FormationNGNet::Param::getPosition | ( | const Vector2D & | ball_pos, | |
const Formation::SideType | type | |||
) | const |
get strategic position
ball_pos | focus point, usually ball position. | |
type | side type, if this is synmetry type, the refered param is used. |
void rcsc::FormationNGNet::Param::setRoleName | ( | const std::string & | name | ) | [inline] |
set role name
name | role name string |
bool rcsc::FormationNGNet::Param::read | ( | std::istream & | is | ) |
restore RBF network from the input stream
is | reference to the input stream |
std::ostream & rcsc::FormationNGNet::Param::print | ( | std::ostream & | os | ) | const |
put structure to the output stream
os | reference to the output stream |