クラス rcsc::FormationBPN::Param

formation parameter using BPN. one Param instance realizes just one player's position. [詳細]

#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
PosNetgetParam ()
 get BPN object
const PosNetparam () 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


説明

formation parameter using BPN. one Param instance realizes just one player's position.


関数

const std::string& rcsc::FormationBPN::Param::roleName (  )  const [inline]

get assigned role name

戻り値:
role name string const reference

PosNet& rcsc::FormationBPN::Param::getParam (  )  [inline]

get BPN object

戻り値:
reference to the BPN object

const PosNet& rcsc::FormationBPN::Param::param (  )  const [inline]

get BPN object

戻り値:
const reference to the 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.
戻り値:
coordinate value

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
戻り値:
result status of parsing

std::ostream & rcsc::FormationBPN::Param::print ( std::ostream &  os  )  const

put BPN structure to the output stream

引数:
os reference to the output stream
戻り値:
reference to the output stream


このクラスの説明は次のファイルから生成されました:
librcscに対してThu May 1 15:41:26 2008に生成されました。  doxygen 1.5.0