MCPcopy Create free account

hub / github.com/BIT-MCS/DRL-eFresh / functions

Functions189 in github.com/BIT-MCS/DRL-eFresh

↓ 36 callersMethodto
(self, device)
storage.py:40
↓ 22 callersFunction_flatten_helper
(T, N, _tensor)
storage.py:9
↓ 12 callersFunctionplot_line
(name,list_data,full_path)
utils/base_utils.py:246
↓ 9 callersMethodcal_energy_consuming
(self, move_aoi=0, collect_aoi=0, sendback_aoi=0)
environment/uav_collection/env.py:245
↓ 9 callersMethoddraw_sqr
(self, x, y, width, height, value, map)
common/image/draw_util.py:65
↓ 7 callersMethodlog
(self, values)
environment/uav_collection/log.py:59
↓ 7 callersMethodstep
(self, action, current_step=None, current_episode=None, current_worker=None)
envs.py:53
↓ 6 callersMethod__trans
(self, x, y)
common/image/draw_util.py:25
↓ 6 callersMethodact
(self, inputs, uav_aoi, uav_snr, uav_compl, uav_tc_compl, temporal_hidden_state=None, mask=None, s
methods/model.py:49
↓ 6 callersMethodreset
(self)
envs.py:32
↓ 5 callersMethoddata_collection_ratio
(self)
environment/uav_collection/env.py:712
↓ 5 callersMethodenergy_consumption_ratio
(self)
environment/uav_collection/env.py:715
↓ 5 callersMethodgeographical_fairness
(self)
environment/uav_collection/env.py:719
↓ 5 callersMethodget
(self)
utils/base_utils.py:184
↓ 5 callersMethodsample
(self)
utils/distributions.py:60
↓ 4 callersMethoddraw_path
(self, step)
envs.py:86
↓ 4 callersMethodget_observation
(self)
environment/uav_collection/env.py:532
↓ 4 callersMethodinsert
(self, obs, uav_aoi, uav_snr, uav_tuse, uav_effort, actions, action_log_probs, value_preds, rewards,
storage.py:57
↓ 4 callersFunctionmyint
(a)
environment/uav_collection/env.py:8
↓ 4 callersMethodtime_energy_efficiency
(self)
environment/uav_collection/env.py:736
↓ 3 callersMethod__init__
Agent implementing the attention agent.
utils/spatial_att_github.py:249
↓ 3 callersMethod__init__
(self, input_dim, hidden_dim, bias=True)
methods/SpatialAttGRU.py:28
↓ 3 callersMethodage_of_information
(self)
environment/uav_collection/env.py:730
↓ 3 callersMethodcal_distance
(self, pos1, pos2)
environment/uav_collection/env.py:239
↓ 3 callersMethoddraw_convert
(self, observ, img, step, name)
environment/uav_collection/log.py:264
↓ 3 callersMethoddraw_point
(self, x, y, value, map)
common/image/draw_util.py:39
↓ 3 callersMethodevaluate_actions
(self, inputs, uav_aoi, uav_snr, uav_compl, uav_tc_compl, action, temporal_hidden_state=None,
methods/model.py:92
↓ 3 callersMethodget_value
(self, inputs, uav_aoi, uav_snr, uav_compl, uav_tc_compl, temporal_hidden_state=None, mask=None,
methods/model.py:78
↓ 3 callersMethodincrement
(self)
utils/base_utils.py:189
↓ 3 callersFunctioninit
(module, weight_init, bias_init, gain=1)
methods/model.py:12
↓ 3 callersFunctionplot_error_lines
(name,list_mean,list_min,list_max,list_var,full_path)
utils/base_utils.py:267
↓ 3 callersMethoduse_energy
(self, i, energy_consuming)
environment/uav_collection/env.py:354
↓ 2 callersMethodcal_move_aoi
(self, distance, velocity)
environment/uav_collection/env.py:252
↓ 2 callersMethodclear_cell
(self, x, y, map)
common/image/draw_util.py:61
↓ 2 callersMethoddraw_UAV
(self, x, y, value, map)
common/image/draw_util.py:51
↓ 2 callersMethoddraw_base_station
(self, map)
environment/uav_collection/env.py:234
↓ 2 callersMethodget_jain_fairness
(self)
environment/uav_collection/env.py:684
↓ 2 callersFunctioninit
(module, weight_init, bias_init, gain=1)
utils/base_utils.py:235
↓ 2 callersMethodis_uav_out_of_energy
(self, i)
environment/uav_collection/env.py:351
↓ 2 callersMethodlog_probs
(self, action)
utils/distributions.py:86
↓ 2 callersMethodreset
(self)
utils/base_utils.py:194
↓ 2 callersMethodto_numpy
(self, var, is_deep_copy=True)
utils/base_utils.py:41
↓ 1 callersMethod__init__
(self, device)
utils/base_utils.py:37
↓ 1 callersMethod__init__
(self, num_inputs, num_outputs, device)
utils/distributions.py:26
↓ 1 callersMethod__init__
(self, input_dim, hidden_dim, bias,use_att=False)
methods/RelationalGRU.py:7
↓ 1 callersMethod__init__
(self, obs_shape, num_of_uav, device, trainable=True, hidden_size=params.temporal_hidden_size)
methods/model.py:27
↓ 1 callersMethod_forward_gru
(self, x, h_c, masks)
methods/model.py:176
↓ 1 callersMethod_forward_spatial_gru
(self, x, t_h, masks, s_h)
methods/model.py:229
↓ 1 callersMethodadd_gradient
(self, model)
methods/model.py:314
↓ 1 callersMethodafter_update
(self, obs, uav_aoi, uav_snr, uav_tuse, uav_effort)
storage.py:81
↓ 1 callersFunctionapply_alpha
(A, V)
utils/spatial_att_github.py:237
↓ 1 callersFunctionapply_alpha
(A, V)
methods/SpatialAttGRU.py:162
↓ 1 callersMethodaverage_gradient
(self)
methods/model.py:322
↓ 1 callersMethodcal_collect_aoi
(self, i, move_aoi)
environment/uav_collection/env.py:255
↓ 1 callersMethodcal_left_energy_ratio
(self)
environment/uav_collection/env.py:709
↓ 1 callersMethodcal_send_back_aoi
(self, exploited_data, Capacity)
environment/uav_collection/env.py:286
↓ 1 callersMethodcal_signal_noise_ratio
(self, bs_distance)
environment/uav_collection/env.py:264
↓ 1 callersMethodcal_uav_next_pos
(self, i, cur_pos, action)
environment/uav_collection/env.py:295
↓ 1 callersMethodclear_uav
(self, x, y, map)
common/image/draw_util.py:48
↓ 1 callersMethodcollect_and_sendback
(self, i, uav_pos, move_aoi, collect_aoi, greedy_mode)
environment/uav_collection/env.py:364
↓ 1 callersMethodcollection_effort_ratio
(self)
environment/uav_collection/env.py:745
↓ 1 callersMethodcollection_effort_ratio_min_max_std
(self)
environment/uav_collection/env.py:755
↓ 1 callersMethodcompute_returns
(self, next_value, use_gae, gamma, gae_lambda)
storage.py:95
↓ 1 callersMethoddata_completion_ratio
(self)
environment/uav_collection/env.py:771
↓ 1 callersMethoddata_completion_ratio_min_max_std
(self)
environment/uav_collection/env.py:781
↓ 1 callersMethoddraw_border
(self, map)
common/image/draw_util.py:7
↓ 1 callersMethoddraw_obstacle
(self, x, y, width, height, map)
common/image/draw_util.py:28
↓ 1 callersMethodentropy
(self)
utils/distributions.py:90
↓ 1 callersMethodfeed_forward_generator
(self, advantages)
storage.py:108
↓ 1 callersMethodfilter_PoI_data
(self)
environment/uav_collection/env.py:126
↓ 1 callersMethodfilter_bs_pos
(self)
environment/uav_collection/env.py:175
↓ 1 callersFunctionfinish_episode
Updates model using REINFORCE.
utils/main_mp_github.py:35
↓ 1 callersMethodget_gs_fairness
(self)
environment/uav_collection/env.py:696
↓ 1 callersFunctioninit
(module, weight_init, bias_init, gain=1)
methods/SpatialAttGRU.py:12
↓ 1 callersMethodinit_hidden
(self, batch_size, hidden, height, width, device)
utils/spatial_att_github.py:130
↓ 1 callersMethodinit_map_obstacle
(self)
environment/uav_collection/env.py:116
↓ 1 callersMethodinit_observation
(self)
environment/uav_collection/env.py:188
↓ 1 callersMethodjudge_obstacle
(self, next_pos, cur_pos)
environment/uav_collection/env.py:320
↓ 1 callersMethodlog_info
(self, local_time)
main_setting.py:62
↓ 1 callersMethodmultihead_attention
(self, input, rnn_hidden_state)
methods/RelationalGRU.py:30
↓ 1 callersFunctionplot_age_lines
(uav_aoi_list,move_aoi_list,collect_aoi_list,sendback_aoi_list,full_path)
utils/base_utils.py:285
↓ 1 callersFunctionplot_reward_lines
(uav_reward_list, uav_penalty_list,full_path)
utils/base_utils.py:308
↓ 1 callersMethodrender
(self)
envs.py:47
↓ 1 callersMethodreset
(self)
utils/spatial_att_github.py:287
↓ 1 callersMethodreset
(self)
environment/uav_collection/env.py:67
↓ 1 callersMethodrnn_feed_forward_generator
(self, advantages)
storage.py:128
↓ 1 callersMethodspatial_att_feed_forward_generator
(self, advantages)
storage.py:205
↓ 1 callersFunctionspatial_softmax
(A)
utils/spatial_att_github.py:226
↓ 1 callersFunctionspatial_softmax
(A)
methods/SpatialAttGRU.py:151
↓ 1 callersMethodswitch
(self)
utils/base_utils.py:172
↓ 1 callersFunctiontest
(local_time, model_path, device)
test_agent.py:13
↓ 1 callersMethodtime_usage_ratio
(self)
environment/uav_collection/env.py:797
↓ 1 callersMethodtime_usage_ratio_min_max_std
(self)
environment/uav_collection/env.py:807
↓ 1 callersMethodupdate_observ_0
(self, pos, pos_val=None)
environment/uav_collection/env.py:339
↓ 1 callersMethodupdate_observ_1
(self, i, cur_pos, pre_pos)
environment/uav_collection/env.py:343
Method__call__
(self, X)
utils/spatial_att_github.py:219
Method__call__
(self, X)
methods/SpatialAttGRU.py:144
Method__init__
(self, device, num_steps, local_time, worker_id)
envs.py:10
Method__init__
(self, num_steps, mini_batch_num, obs_shape, uav_num, temporal_hidden_state_size=params.tempo
storage.py:14
Method__init__
(self)
main_setting.py:6
next →1–100 of 189, ranked by callers