#include <formation_bpn.h>
Public 型 | |
typedef BPNetwork1< 2, 10, 2 > | PosNet |
Public メソッド | |
Param () | |
just set a learning parameter | |
void | randomize () |
initialize BPN randomly | |
const std::string & | roleName () const |
get assigned role name | |
PosNet & | getParam () |
get BPN object | |
const PosNet & | param () const |
get BPN object | |
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 BPN from the input stream | |
std::ostream & | print (std::ostream &os) const |
put BPN structure to the output stream | |
Static Public 変数 | |
static const double | PITCH_LENGTH |
static const double | PITCH_WIDTH |
const std::string& rcsc::FormationBPN::Param::roleName | ( | ) | const [inline] |
get assigned role name
PosNet& rcsc::FormationBPN::Param::getParam | ( | ) | [inline] |
get BPN object
const PosNet& rcsc::FormationBPN::Param::param | ( | ) | const [inline] |
get BPN object
Vector2D rcsc::FormationBPN::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::FormationBPN::Param::setRoleName | ( | const std::string & | name | ) | [inline] |
set role name
name | role name string |
bool rcsc::FormationBPN::Param::read | ( | std::istream & | is | ) |
restore BPN from the input stream
is | reference to the input stream |
std::ostream & rcsc::FormationBPN::Param::print | ( | std::ostream & | os | ) | const |
put BPN structure to the output stream
os | reference to the output stream |