MCPcopy Create free account

hub / github.com/LARG/HFO / functions

Functions676 in github.com/LARG/HFO

↓ 2 callersMethodisOOB
Returns true if the ball is out of bounds.
bin/Trainer.py:442
↓ 2 callersMethodisOOT
Returns true if the trial has run out of time.
bin/Trainer.py:453
↓ 2 callersMethodlaunch_agent
Launch the learning agent using the start_agent.sh script and return a DummyPopen for the process.
bin/Trainer.py:89
↓ 2 callersMethodpoll
(self)
bin/Trainer.py:19
↓ 2 callersMethodrandomPointInBounds
Returns a random point inside of the box defined by xBounds, yBounds. Where xBounds=[x_min, x_max] and yBounds=[y_min, y_max]. Defaults to the
bin/Trainer.py:475
↓ 2 callersMethodrecvMsg
(self,event=None,retryCount=None)
bin/Communicator.py:48
↓ 2 callersMethodsend_signal
(self, sig)
bin/Trainer.py:25
↓ 2 callersMethodsetActionGenerator
-------------------------------------------------------------------*/ ! */
src/chain_action/action_chain_holder.cpp:89
↓ 2 callersMethodsetFieldEvaluator
-------------------------------------------------------------------*/ ! */
src/chain_action/action_chain_holder.cpp:79
↓ 2 callersMethodsetFirstDashPower
-------------------------------------------------------------------*/ ! */
src/chain_action/cooperative_action.cpp:130
↓ 2 callersMethodstartGame
Starts a game of HFO.
bin/Trainer.py:404
↓ 2 callersMethodwaitOnTeam
Wait on a given team. First indicates if this is the first team connected or the second.
bin/Trainer.py:378
↓ 1 callersMethodLogFeatures
src/feature_extractor.cpp:33
↓ 1 callersMethod__parseMsg
Recursively parse a message.
bin/Trainer.py:184
↓ 1 callersMethodacceptExecution
-------------------------------------------------------------------*/ ! */
src/soccer_role.cpp:96
↓ 1 callersMethodcalcBallHolder
Calculates the ball holder, returns results in teamInd, playerInd.
bin/Trainer.py:413
↓ 1 callersMethodcalculate
-------------------------------------------------------------------*/ ! */
src/chain_action/tackle_generator.cpp:270
↓ 1 callersMethodcheckIfAllPlayersConnected
Returns true if all players are connected.
bin/Trainer.py:391
↓ 1 callersMethodcheckLive
Returns true if each of the necessary processes is still alive and running.
bin/Trainer.py:638
↓ 1 callersMethodcheckMsg
Check that the next message is same as expected message.
bin/Trainer.py:258
↓ 1 callersMethodclear
-------------------------------------------------------------------*/ ! */
src/chain_action/self_pass_generator.cpp:107
↓ 1 callersMethodclear
-------------------------------------------------------------------*/ ! */
src/chain_action/short_dribble_generator.cpp:109
↓ 1 callersMethodclear
-------------------------------------------------------------------*/ ! */
src/chain_action/tackle_generator.cpp:160
↓ 1 callersMethodconvertFromExtPlayer
Maps external player number to internal player number.
bin/Trainer.py:282
↓ 1 callersMethodconvertMsg
(self,msg)
bin/Communicator.py:82
↓ 1 callersMethodcreateRole
-------------------------------------------------------------------*/ ! */
src/strategy.cpp:518
↓ 1 callersMethoddashCount
! */
src/chain_action/cooperative_action.h:196
↓ 1 callersFunctiondebug_paint_evaluate_color
src/chain_action/action_chain_graph.cpp:78
↓ 1 callersMethoddirCount
src/chain_action/predict_state.h:235
↓ 1 callersMethoddoDribble
-------------------------------------------------------------------*/ ! */
src/agent.cpp:786
↓ 1 callersMethoddoKick
-------------------------------------------------------------------*/ ! */
src/bhv_set_play_goal_kick.cpp:92
↓ 1 callersMethoddoPass
-------------------------------------------------------------------*/ ! */
src/agent.cpp:773
↓ 1 callersMethoddoShoot
-------------------------------------------------------------------*/ ! */
src/agent.cpp:747
↓ 1 callersFunctionevaluate_state
-------------------------------------------------------------------*/ ! */
src/sample_field_evaluator.cpp:100
↓ 1 callersMethodexecute
-------------------------------------------------------------------*/ ! */
src/neck_offensive_intercept_neck.cpp:63
↓ 1 callersMethodexecute
-------------------------------------------------------------------*/ ! */
src/chain_action/neck_turn_to_receiver.cpp:62
↓ 1 callersMethodgetDefensiveResetPosition
Returns a random position for a defensive player.
bin/Trainer.py:534
↓ 1 callersMethodgetDefensiveRoster
Returns a list of player numbers on a given team that are thought to prefer defense. This map is not set in stone as the players on some teams
bin/Trainer.py:137
↓ 1 callersMethodgetNumFeatures
How many features are there?
src/feature_extractor.h:21
↓ 1 callersMethodgetOffensiveResetPosition
Returns a random position for an offensive player.
bin/Trainer.py:514
↓ 1 callersMethodgetOffensiveRoster
Returns a list of player numbers on a given team that are thought to prefer offense. This map is not set in stone as the players on some teams
bin/Trainer.py:150
↓ 1 callersFunctionget_random_action
Returns a random high-level action
example/example_high_level_random_agent.py:13
↓ 1 callersMethodgoalieUnum
src/strategy.h:179
↓ 1 callersMethodhandleMsg
Handle a message using the registered handlers.
bin/Trainer.py:339
↓ 1 callersMethodhandshakeAgentServer
Handshake with the agent's server.
hfo/hfo.py:69
↓ 1 callersMethodinitComm
Initialize communication to server.
bin/Trainer.py:208
↓ 1 callersMethodinitMsgHandlers
Create handlers for different messages.
bin/Trainer.py:237
↓ 1 callersMethodinitialize
(self)
bin/Communicator.py:30
↓ 1 callersFunctionmain
()
example/example_high_level_random_agent.py:30
↓ 1 callersFunctionmain
Sets up the teams, launches the server and monitor, starts the trainer.
bin/start.py:42
↓ 1 callersMethodmoveBall
Moves the ball to a specified x,y position.
bin/Trainer.py:471
↓ 1 callersFunctionparseArgs
()
bin/start.py:105
↓ 1 callersMethodparseMsg
Parse a message
bin/Trainer.py:177
↓ 1 callersMethodprintStats
(self)
bin/Trainer.py:630
↓ 1 callersMethodremoveNonHFOPlayers
Removes players that aren't involved in HFO game. The players whose numbers are greater than numOffense/numDefense are sent to left-field.
bin/Trainer.py:560
↓ 1 callersMethodresetBallPosition
Reset the position of the ball for a new HFO trial.
bin/Trainer.py:508
↓ 1 callersMethodresetPlayerPositions
Reset the positions of the players. This is called after a trial ends to setup for the next trial.
bin/Trainer.py:540
↓ 1 callersMethodroleNumber
src/strategy.h:181
↓ 1 callersFunctions_get_ball_speed_for_pass
-------------------------------------------------------------------*/ ! */
src/chain_action/actgen_direct_pass.cpp:61
↓ 1 callersMethodsetFinalAction
-------------------------------------------------------------------*/ ! */
src/chain_action/cooperative_action.cpp:190
↓ 1 callersMethodsetQueuedAction
-------------------------------------------------------------------*/ ! */
src/chain_action/short_dribble_generator.cpp:195
↓ 1 callersMethodsetTeams
Sets the offensive and defensive teams and player rosters.
bin/Trainer.py:163
↓ 1 callersMethodstep
Takes a simulated step.
bin/Trainer.py:576
↓ 1 callersMethodtheirPlayer
src/chain_action/predict_state.h:148
↓ 1 callersMethodtrialOver
Returns true if the trial has ended for one of the following reasons: Goal scored, out of bounds, captured by defense, or untouched for too lo
bin/Trainer.py:619
↓ 1 callersMethodturnCount
! */
src/chain_action/cooperative_action.h:192
↓ 1 callersMethodupdate
-------------------------------------------------------------------*/ ! */
src/chain_action/field_analyzer.cpp:1204
↓ 1 callersMethodupdateResults
Updates the various members after a trial has ended.
bin/Trainer.py:588
MethodAbstractPlayerBallXDiffCmp
src/sample_communication.cpp:111
MethodActGen_DirectPass
-------------------------------------------------------------------*/ ! */
src/chain_action/actgen_direct_pass.cpp:91
MethodActGen_MaxActionChainLengthFilter
src/chain_action/actgen_action_chain_length_filter.h:43
MethodActGen_MinActionChainLengthFilter
src/chain_action/actgen_action_chain_length_filter.h:68
MethodActGen_RangeActionChainLengthFilter
src/chain_action/actgen_action_chain_length_filter.h:100
MethodActionChainGraph
-------------------------------------------------------------------*/ ! */
src/chain_action/action_chain_graph.cpp:116
MethodActionChainHolder
-------------------------------------------------------------------*/ ! */
src/chain_action/action_chain_holder.cpp:45
MethodActionGenerator
src/chain_action/action_generator.h:63
MethodActionStatePair
! \brief copy constructor \param rhs copied object */
src/chain_action/action_state_pair.h:56
MethodAgent
src/agent.cpp:133
MethodBhv_BasicMove
src/bhv_basic_move.h:36
MethodBhv_BasicTackle
src/bhv_basic_tackle.h:38
MethodBhv_ChainAction
-------------------------------------------------------------------*/ ! */
src/chain_action/bhv_chain_action.cpp:183
MethodBhv_CustomBeforeKickOff
! \brief construct with target position \param point target position for move command */
src/bhv_custom_before_kick_off.h:47
MethodBhv_GoToStaticBall
src/bhv_go_to_static_ball.h:39
MethodBhv_GoalieBasicMove
src/bhv_goalie_basic_move.h:43
MethodBhv_GoalieFreeKick
src/bhv_goalie_free_kick.h:38
MethodBhv_NormalDribble
-------------------------------------------------------------------*/ ! */
src/chain_action/bhv_normal_dribble.cpp:562
MethodBhv_PassKickFindReceiver
-------------------------------------------------------------------*/ ! */
src/chain_action/bhv_pass_kick_find_receiver.cpp:203
MethodBhv_PrepareSetPlayKick
src/bhv_prepare_set_play_kick.h:40
MethodBhv_SetPlay
src/bhv_set_play.h:40
MethodBhv_SetPlayFreeKick
src/bhv_set_play_free_kick.h:39
MethodBhv_SetPlayGoalKick
src/bhv_set_play_goal_kick.h:40
MethodBhv_SetPlayIndirectFreeKick
src/bhv_set_play_indirect_free_kick.h:37
MethodBhv_SetPlayKickIn
src/bhv_set_play_kick_in.h:37
MethodBhv_SetPlayKickOff
src/bhv_set_play_kick_off.h:40
MethodBhv_StrictCheckShoot
! \brief accessible from global. */
src/chain_action/bhv_strict_check_shoot.h:50
MethodBhv_TheirGoalKickMove
src/bhv_their_goal_kick_move.h:37
MethodBody_ForceShoot
-------------------------------------------------------------------*/ ! */
src/chain_action/body_force_shoot.cpp:50
MethodClearBall
-------------------------------------------------------------------*/ ! */
src/chain_action/clear_ball.cpp:42
MethodClearGenerator
-------------------------------------------------------------------*/ ! */
src/chain_action/clear_generator.cpp:61
MethodCommunication
src/communication.h:48
← previousnext →101–200 of 676, ranked by callers