Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/LARG/HFO
/ functions
Functions
676 in github.com/LARG/HFO
⨍
Functions
676
◇
Types & classes
200
↓ 2 callers
Method
isOOB
Returns true if the ball is out of bounds.
bin/Trainer.py:442
↓ 2 callers
Method
isOOT
Returns true if the trial has run out of time.
bin/Trainer.py:453
↓ 2 callers
Method
launch_agent
Launch the learning agent using the start_agent.sh script and return a DummyPopen for the process.
bin/Trainer.py:89
↓ 2 callers
Method
poll
(self)
bin/Trainer.py:19
↓ 2 callers
Method
randomPointInBounds
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 callers
Method
recvMsg
(self,event=None,retryCount=None)
bin/Communicator.py:48
↓ 2 callers
Method
send_signal
(self, sig)
bin/Trainer.py:25
↓ 2 callers
Method
setActionGenerator
-------------------------------------------------------------------*/ ! */
src/chain_action/action_chain_holder.cpp:89
↓ 2 callers
Method
setFieldEvaluator
-------------------------------------------------------------------*/ ! */
src/chain_action/action_chain_holder.cpp:79
↓ 2 callers
Method
setFirstDashPower
-------------------------------------------------------------------*/ ! */
src/chain_action/cooperative_action.cpp:130
↓ 2 callers
Method
startGame
Starts a game of HFO.
bin/Trainer.py:404
↓ 2 callers
Method
waitOnTeam
Wait on a given team. First indicates if this is the first team connected or the second.
bin/Trainer.py:378
↓ 1 callers
Method
LogFeatures
src/feature_extractor.cpp:33
↓ 1 callers
Method
__parseMsg
Recursively parse a message.
bin/Trainer.py:184
↓ 1 callers
Method
acceptExecution
-------------------------------------------------------------------*/ ! */
src/soccer_role.cpp:96
↓ 1 callers
Method
calcBallHolder
Calculates the ball holder, returns results in teamInd, playerInd.
bin/Trainer.py:413
↓ 1 callers
Method
calculate
-------------------------------------------------------------------*/ ! */
src/chain_action/tackle_generator.cpp:270
↓ 1 callers
Method
checkIfAllPlayersConnected
Returns true if all players are connected.
bin/Trainer.py:391
↓ 1 callers
Method
checkLive
Returns true if each of the necessary processes is still alive and running.
bin/Trainer.py:638
↓ 1 callers
Method
checkMsg
Check that the next message is same as expected message.
bin/Trainer.py:258
↓ 1 callers
Method
clear
-------------------------------------------------------------------*/ ! */
src/chain_action/self_pass_generator.cpp:107
↓ 1 callers
Method
clear
-------------------------------------------------------------------*/ ! */
src/chain_action/short_dribble_generator.cpp:109
↓ 1 callers
Method
clear
-------------------------------------------------------------------*/ ! */
src/chain_action/tackle_generator.cpp:160
↓ 1 callers
Method
convertFromExtPlayer
Maps external player number to internal player number.
bin/Trainer.py:282
↓ 1 callers
Method
convertMsg
(self,msg)
bin/Communicator.py:82
↓ 1 callers
Method
createRole
-------------------------------------------------------------------*/ ! */
src/strategy.cpp:518
↓ 1 callers
Method
dashCount
! */
src/chain_action/cooperative_action.h:196
↓ 1 callers
Function
debug_paint_evaluate_color
src/chain_action/action_chain_graph.cpp:78
↓ 1 callers
Method
dirCount
src/chain_action/predict_state.h:235
↓ 1 callers
Method
doDribble
-------------------------------------------------------------------*/ ! */
src/agent.cpp:786
↓ 1 callers
Method
doKick
-------------------------------------------------------------------*/ ! */
src/bhv_set_play_goal_kick.cpp:92
↓ 1 callers
Method
doPass
-------------------------------------------------------------------*/ ! */
src/agent.cpp:773
↓ 1 callers
Method
doShoot
-------------------------------------------------------------------*/ ! */
src/agent.cpp:747
↓ 1 callers
Function
evaluate_state
-------------------------------------------------------------------*/ ! */
src/sample_field_evaluator.cpp:100
↓ 1 callers
Method
execute
-------------------------------------------------------------------*/ ! */
src/neck_offensive_intercept_neck.cpp:63
↓ 1 callers
Method
execute
-------------------------------------------------------------------*/ ! */
src/chain_action/neck_turn_to_receiver.cpp:62
↓ 1 callers
Method
getDefensiveResetPosition
Returns a random position for a defensive player.
bin/Trainer.py:534
↓ 1 callers
Method
getDefensiveRoster
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 callers
Method
getNumFeatures
How many features are there?
src/feature_extractor.h:21
↓ 1 callers
Method
getOffensiveResetPosition
Returns a random position for an offensive player.
bin/Trainer.py:514
↓ 1 callers
Method
getOffensiveRoster
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 callers
Function
get_random_action
Returns a random high-level action
example/example_high_level_random_agent.py:13
↓ 1 callers
Method
goalieUnum
src/strategy.h:179
↓ 1 callers
Method
handleMsg
Handle a message using the registered handlers.
bin/Trainer.py:339
↓ 1 callers
Method
handshakeAgentServer
Handshake with the agent's server.
hfo/hfo.py:69
↓ 1 callers
Method
initComm
Initialize communication to server.
bin/Trainer.py:208
↓ 1 callers
Method
initMsgHandlers
Create handlers for different messages.
bin/Trainer.py:237
↓ 1 callers
Method
initialize
(self)
bin/Communicator.py:30
↓ 1 callers
Function
main
()
example/example_high_level_random_agent.py:30
↓ 1 callers
Function
main
Sets up the teams, launches the server and monitor, starts the trainer.
bin/start.py:42
↓ 1 callers
Method
moveBall
Moves the ball to a specified x,y position.
bin/Trainer.py:471
↓ 1 callers
Function
parseArgs
()
bin/start.py:105
↓ 1 callers
Method
parseMsg
Parse a message
bin/Trainer.py:177
↓ 1 callers
Method
printStats
(self)
bin/Trainer.py:630
↓ 1 callers
Method
removeNonHFOPlayers
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 callers
Method
resetBallPosition
Reset the position of the ball for a new HFO trial.
bin/Trainer.py:508
↓ 1 callers
Method
resetPlayerPositions
Reset the positions of the players. This is called after a trial ends to setup for the next trial.
bin/Trainer.py:540
↓ 1 callers
Method
roleNumber
src/strategy.h:181
↓ 1 callers
Function
s_get_ball_speed_for_pass
-------------------------------------------------------------------*/ ! */
src/chain_action/actgen_direct_pass.cpp:61
↓ 1 callers
Method
setFinalAction
-------------------------------------------------------------------*/ ! */
src/chain_action/cooperative_action.cpp:190
↓ 1 callers
Method
setQueuedAction
-------------------------------------------------------------------*/ ! */
src/chain_action/short_dribble_generator.cpp:195
↓ 1 callers
Method
setTeams
Sets the offensive and defensive teams and player rosters.
bin/Trainer.py:163
↓ 1 callers
Method
step
Takes a simulated step.
bin/Trainer.py:576
↓ 1 callers
Method
theirPlayer
src/chain_action/predict_state.h:148
↓ 1 callers
Method
trialOver
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 callers
Method
turnCount
! */
src/chain_action/cooperative_action.h:192
↓ 1 callers
Method
update
-------------------------------------------------------------------*/ ! */
src/chain_action/field_analyzer.cpp:1204
↓ 1 callers
Method
updateResults
Updates the various members after a trial has ended.
bin/Trainer.py:588
Method
AbstractPlayerBallXDiffCmp
src/sample_communication.cpp:111
Method
ActGen_DirectPass
-------------------------------------------------------------------*/ ! */
src/chain_action/actgen_direct_pass.cpp:91
Method
ActGen_MaxActionChainLengthFilter
src/chain_action/actgen_action_chain_length_filter.h:43
Method
ActGen_MinActionChainLengthFilter
src/chain_action/actgen_action_chain_length_filter.h:68
Method
ActGen_RangeActionChainLengthFilter
src/chain_action/actgen_action_chain_length_filter.h:100
Method
ActionChainGraph
-------------------------------------------------------------------*/ ! */
src/chain_action/action_chain_graph.cpp:116
Method
ActionChainHolder
-------------------------------------------------------------------*/ ! */
src/chain_action/action_chain_holder.cpp:45
Method
ActionGenerator
src/chain_action/action_generator.h:63
Method
ActionStatePair
! \brief copy constructor \param rhs copied object */
src/chain_action/action_state_pair.h:56
Method
Agent
src/agent.cpp:133
Method
Bhv_BasicMove
src/bhv_basic_move.h:36
Method
Bhv_BasicTackle
src/bhv_basic_tackle.h:38
Method
Bhv_ChainAction
-------------------------------------------------------------------*/ ! */
src/chain_action/bhv_chain_action.cpp:183
Method
Bhv_CustomBeforeKickOff
! \brief construct with target position \param point target position for move command */
src/bhv_custom_before_kick_off.h:47
Method
Bhv_GoToStaticBall
src/bhv_go_to_static_ball.h:39
Method
Bhv_GoalieBasicMove
src/bhv_goalie_basic_move.h:43
Method
Bhv_GoalieFreeKick
src/bhv_goalie_free_kick.h:38
Method
Bhv_NormalDribble
-------------------------------------------------------------------*/ ! */
src/chain_action/bhv_normal_dribble.cpp:562
Method
Bhv_PassKickFindReceiver
-------------------------------------------------------------------*/ ! */
src/chain_action/bhv_pass_kick_find_receiver.cpp:203
Method
Bhv_PrepareSetPlayKick
src/bhv_prepare_set_play_kick.h:40
Method
Bhv_SetPlay
src/bhv_set_play.h:40
Method
Bhv_SetPlayFreeKick
src/bhv_set_play_free_kick.h:39
Method
Bhv_SetPlayGoalKick
src/bhv_set_play_goal_kick.h:40
Method
Bhv_SetPlayIndirectFreeKick
src/bhv_set_play_indirect_free_kick.h:37
Method
Bhv_SetPlayKickIn
src/bhv_set_play_kick_in.h:37
Method
Bhv_SetPlayKickOff
src/bhv_set_play_kick_off.h:40
Method
Bhv_StrictCheckShoot
! \brief accessible from global. */
src/chain_action/bhv_strict_check_shoot.h:50
Method
Bhv_TheirGoalKickMove
src/bhv_their_goal_kick_move.h:37
Method
Body_ForceShoot
-------------------------------------------------------------------*/ ! */
src/chain_action/body_force_shoot.cpp:50
Method
ClearBall
-------------------------------------------------------------------*/ ! */
src/chain_action/clear_ball.cpp:42
Method
ClearGenerator
-------------------------------------------------------------------*/ ! */
src/chain_action/clear_generator.cpp:61
Method
Communication
src/communication.h:48
← previous
next →
101–200 of 676, ranked by callers