MCPcopy Create free account

hub / github.com/Zhuzzq/EdgeFed-MARL-MEC / functions

Functions78 in github.com/Zhuzzq/EdgeFed-MARL-MEC

↓ 8 callersFunctionupdate_target_net
(model, target, tau=0.8)
MAAC_agent.py:253
↓ 7 callersMethodsample
(self)
MEC_env/space_def/sum_space.py:18
↓ 5 callersMethodrender
(self, name=None, epoch=None, save=False)
MEC_env/mec_env.py:248
↓ 4 callersMethodget_obs
(self, agent)
MEC_env/mec_env.py:163
↓ 4 callersMethodstep
(self)
MEC_env/mec_def.py:348
↓ 4 callersFunctionupdate_target_net
(model, target, tau=0.8)
AC_agent.py:142
↓ 3 callersMethodclose
(self)
MEC_env/mec_env.py:284
↓ 3 callersMethodget_done_data
(self)
MEC_env/mec_def.py:69
↓ 3 callersMethodget_total_data
(self)
MEC_env/mec_def.py:60
↓ 2 callersFunctionagent_actor
(input_dim_list, cnn_kernel_size, move_r)
MAAC_agent.py:42
↓ 2 callersFunctionagent_critic
(input_dim_list, cnn_kernel_size)
MAAC_agent.py:151
↓ 2 callersFunctioncenter_actor
(input_dim_list, cnn_kernel_size, move_r, kernel_num)
AC_agent.py:45
↓ 2 callersFunctioncenter_actor
(input_dim_list, cnn_kernel_size)
MAAC_agent.py:95
↓ 2 callersFunctioncenter_critic
(input_dim_list, cnn_kernel_size)
AC_agent.py:91
↓ 2 callersFunctioncenter_critic
(input_dim_list, cnn_kernel_size)
MAAC_agent.py:198
↓ 2 callersFunctionget_center_state
(env)
AC_agent.py:17
↓ 2 callersMethodget_center_state
(self)
MEC_env/mec_env.py:200
↓ 2 callersFunctionget_circle_plot
(pos, r)
MEC_env/mec_env.py:20
↓ 2 callersMethodget_statemap
(self)
MEC_env/mec_env.py:187
↓ 2 callersFunctionmerge_fl
(nets, omega=0.5)
MAAC_agent.py:261
↓ 2 callersMethodsave_model
(self, episode, time_str)
AC_agent.py:335
↓ 2 callersMethodsave_model
(self, episode, time_str)
MAAC_agent.py:578
↓ 2 callersMethodtrain
(self, max_epochs=2000, max_step=500, up_freq=8, render=False, render_freq=1)
AC_agent.py:340
↓ 1 callersMethod__init__
(self, r)
MEC_env/space_def/circle_space.py:9
↓ 1 callersMethod_get_age
(self)
MEC_env/mec_env.py:226
↓ 1 callersMethod_get_done
(self, agent)
MEC_env/mec_env.py:220
↓ 1 callersMethod_get_info
(self, agent)
MEC_env/mec_env.py:157
↓ 1 callersMethod_set_action
(self, act, center_action, agent)
MEC_env/mec_env.py:125
↓ 1 callersMethodactor_act
(self, epoch)
AC_agent.py:210
↓ 1 callersMethodactor_act
(self, epoch)
MAAC_agent.py:368
↓ 1 callersFunctioncircle_argmax
(move_dist, move_r)
AC_agent.py:150
↓ 1 callersFunctioncircle_argmax
(move_dist, move_r)
MAAC_agent.py:276
↓ 1 callersFunctiondata_collecting
(sensors, agent, hovering_time)
MEC_env/mec_def.py:209
↓ 1 callersMethoddata_gen
(self, t=1)
MEC_env/mec_def.py:173
↓ 1 callersFunctiondiscrete_circle_sample_count
(n)
AC_agent.py:34
↓ 1 callersFunctiondiscrete_circle_sample_count
(n)
MAAC_agent.py:21
↓ 1 callersFunctionoffloading
(agent, center_pos, t=1)
MEC_env/mec_def.py:264
↓ 1 callersMethodprocess
(self, tmp_size, t=1)
MEC_env/mec_def.py:111
↓ 1 callersMethodreplay
(self)
AC_agent.py:286
↓ 1 callersMethodreplay
(self)
MAAC_agent.py:471
↓ 1 callersFunctiontrans_rate
(dist, agent)
MEC_env/mec_def.py:295
Method__eq__
(self, other)
MEC_env/space_def/onehot_space.py:31
Method__eq__
(self, other)
MEC_env/space_def/sum_space.py:29
Method__eq__
(self, other)
MEC_env/space_def/circle_space.py:25
Method__eq__
(self, other)
MEC_env/space_def/circle_space.py:47
Method__init__
(self, env, tau, gamma, lr_aa, lr_ac, lr_ca, lr_cc, batch, epsilon=0.2)
AC_agent.py:159
Method__init__
(self, env, tau, gamma, lr_aa, lr_ac, lr_ca, lr_cc, batch, epsilon=0.2)
MAAC_agent.py:285
Method__init__
(self, world, alpha=0.5, beta=0.2, aggregate_reward=False, discrete=True, reset_callback=None
MEC_env/mec_env.py:36
Method__init__
(self)
MEC_env/mec_def.py:10
Method__init__
(self)
MEC_env/mec_def.py:19
Method__init__
(self, obs_r, pos, spd, collect_r, max_buffer_size, movable=True, mv_bt=0, trans_bt=0)
MEC_env/mec_def.py:27
Method__init__
(self, pos, data_rate, bandwidth, max_ds, lam=0.5, weight=1)
MEC_env/mec_def.py:157
Method__init__
(self, map_size, agent_num, sensor_num, obs_r, speed, collect_r, max_size=1, sensor_lam=0.5)
MEC_env/mec_def.py:306
Method__init__
(self, n)
MEC_env/space_def/onehot_space.py:14
Method__init__
(self, n)
MEC_env/space_def/sum_space.py:14
Method__init__
(self, r)
MEC_env/space_def/circle_space.py:30
Method__repr__
(self)
MEC_env/space_def/onehot_space.py:28
Method__repr__
(self)
MEC_env/space_def/sum_space.py:26
Method__repr__
(self)
MEC_env/space_def/circle_space.py:22
Method__repr__
(self)
MEC_env/space_def/circle_space.py:44
Method_get_reward
(self)
MEC_env/mec_env.py:230
Function_huber_loss
(self, y_true, y_pred, clip_delta=1.0)
MAAC_agent.py:32
Functionagent_com
(agent_list)
MEC_env/mec_def.py:143
Functioncollecting_rate
(sensor, agent)
MEC_env/mec_def.py:200
Methodcontains
(self, x)
MEC_env/space_def/onehot_space.py:23
Methodcontains
(self, x)
MEC_env/space_def/sum_space.py:23
Methodcontains
(self, x)
MEC_env/space_def/circle_space.py:19
Methodcontains
(self, x)
MEC_env/space_def/circle_space.py:41
Methoddata_update
(self, pak)
MEC_env/mec_def.py:77
Methodedge_exe
(self, tmp_size, t=1)
MEC_env/mec_def.py:83
Methodget_buffer_state
(self)
MEC_env/mec_env.py:212
Methodmove
(self, new_move, h)
MEC_env/mec_def.py:55
Methodreset
(self)
MEC_env/mec_env.py:109
Methodsample
(self)
MEC_env/space_def/onehot_space.py:18
Methodsample
(self)
MEC_env/space_def/circle_space.py:14
Methodsample
(self)
MEC_env/space_def/circle_space.py:35
Methodstep
(self, agent_action, center_action)
MEC_env/mec_env.py:80
Methodtrain
(self, max_epochs=2000, max_step=500, up_freq=8, render=False, render_freq=1, FL=False, FL_omega=0.5, anomaly_
MAAC_agent.py:586