Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/chenbq/CAVDN
/ functions
Functions
307 in github.com/chenbq/CAVDN
⨍
Functions
307
◇
Types & classes
66
Method
__init__
(self, env, agents, args)
common/rollout.py:8
Method
__init__
(self, env, agents, args)
common/rollout.py:158
Method
__init__
(self, env, agents, args)
common/rollout.py:284
Method
__init__
(self, args)
agent/agent.py:17
Method
__init__
(self, args)
agent/agent.py:135
Method
__init__
(self, args)
agent/agent.py:216
Method
__init__
(self, args)
agent/agent.py:321
Method
__repr__
(self)
env/multiagent_com/multi_discrete.py:43
Method
_choose_action_from_softmax
:param inputs: # q_value of all actions
agent/agent.py:271
Method
_choose_action_from_softmax
:param inputs: # q_value of all actions
agent/agent.py:373
Method
_get_info
(self, agent)
env/multiagent_com/environment.py:116
Method
_set_access_action
(self, action, agent, action_space, )
env/multiagent_com/environment.py:146
Method
choose_action
(self, weights, avail_actions, epsilon, evaluate=False)
agent/agent.py:153
Method
choose_action
(self, weights, avail_actions, epsilon, maven_z=None, evaluate=False)
agent/agent.py:257
Method
choose_action
(self, weights, avail_actions, epsilon, maven_z=None, evaluate=False)
agent/agent.py:359
Method
contains
(self, x)
env/multiagent_com/multi_discrete.py:37
Function
data_postprocess
(obs_in, obs_out)
network/base_net.py:84
Method
disable
(self)
env/multiagent_com/rendering.py:186
Method
disable
(self)
env/multiagent_com/rendering.py:207
Method
draw_circle
(self, radius=10, res=30, filled=True, **attrs)
env/multiagent_com/rendering.py:115
Method
draw_line
(self, start, end, **attrs)
env/multiagent_com/rendering.py:133
Method
draw_polygon
(self, v, filled=True, **attrs)
env/multiagent_com/rendering.py:121
Method
draw_polyline
(self, v, **attrs)
env/multiagent_com/rendering.py:127
Method
enable
(self)
env/multiagent_com/rendering.py:181
Method
enable
(self)
env/multiagent_com/rendering.py:198
Method
enable
(self)
env/multiagent_com/rendering.py:204
Method
enable
(self)
env/multiagent_com/rendering.py:213
Method
entities
(self)
env/multiagent_com/core.py:104
Method
eval_data
(self,world)
env/multiagent_com/scenarios/uav_com_u_centric.py:243
Method
forward
(self, obs, hidden_state)
network/base_net.py:172
Method
forward
(self, obs, hidden_state)
network/base_net.py:245
Method
forward
(self, input_mac)
network/base_net.py:259
Method
forward
(self, obs, hidden_state)
network/base_net.py:296
Method
forward
(self, inputs)
network/base_net.py:321
Method
forward
(self, state, hidden_states, actions)
network/qtran_net.py:31
Method
forward
(self, state, hidden_states, actions)
network/qtran_net.py:86
Method
forward
(self, state, hidden)
network/qtran_net.py:119
Method
forward
(self, obs, hidden_state)
network/commnet.py:17
Method
forward
(self, inputs)
network/coma_critic.py:18
Method
forward
(self, obs, hidden_state)
network/g2anet.py:34
Method
forward
(self, thought_comb)
network/coord_net.py:28
Method
forward
(self, input_mac)
network/coord_net.py:41
Method
forward
(self, q_values)
network/vdn_net.py:9
Method
forward
(self, state)
network/maven_net.py:13
Method
forward
(self, obs, hidden_state, z)
network/maven_net.py:30
Method
forward
:param q_value: shape = (episode_num, episode_limit, n_agents, n_actions) :param avail_actions: :param state: shape = (
network/maven_net.py:60
Method
forward
(self, q_values, states)
network/qmix_net.py:36
Method
generate_episode
(self, episode_num=None, evaluate=False)
common/rollout.py:173
Method
generate_episode
(self, evaluate=False)
common/rollout.py:299
Method
get_action_weights
(self, obs, last_action)
agent/agent.py:175
Method
get_action_weights
(self, obs, last_action)
agent/agent.py:330
Method
get_array
(self)
env/multiagent_com/rendering.py:139
Method
get_avail_actions
Returns the available actions of all agents in a list.
env/UAV_env.py:80
Method
imshow
(self, arr)
env/multiagent_com/rendering.py:328
Method
inital_all_weights
(self)
network/base_net.py:231
Method
inital_all_weights
(self)
network/base_net.py:282
Method
integrate_position_state_phy
(self, agent)
env/multiagent_com/core.py:141
Method
learn
(self, batch, max_episode_len, train_step, epsilon)
policy/coma.py:88
Method
learn
在learn的时候,抽取到的数据是四维的,四个维度分别为 1——第几个episode 2——episode中第几个transition 3——第几个agent的数据 4——具体obs维度。因为在选动作时不仅需要输入当前的inputs,还要给神经网络输入hidden_
policy/iql.py:50
Method
learn
在learn的时候,抽取到的数据是四维的,四个维度分别为 1——第几个episode 2——episode中第几个transition 3——第几个agent的数据 4——具体obs维度。因为在选动作时不仅需要输入当前的inputs,还要给神经网络输入hidden_
policy/vdn.py:66
Method
learn
在learn的时候,抽取到的数据是四维的,四个维度分别为 1——第几个episode 2——episode中第几个transition 3——第几个agent的数据 4——具体obs维度。因为在选动作时不仅需要输入当前的inputs,还要给神经网络输入hidden_
policy/FC_QMIX_add.py:61
Method
learn
在learn的时候,抽取到的数据是四维的,四个维度分别为 1——第几个episode 2——episode中第几个transition 3——第几个agent的数据 4——具体obs维度。因为在选动作时不仅需要输入当前的inputs,还要给神经网络输入hidden_
policy/maven.py:74
Method
learn
在learn的时候,抽取到的数据是四维的,四个维度分别为 1——第几个episode 2——episode中第几个transition 3——第几个agent的数据 4——具体obs维度。因为在选动作时不仅需要输入当前的inputs,还要给神经网络输入hidden_
policy/qtran_alt.py:68
Method
learn
(self, batch, max_episode_len, train_step, epsilon)
policy/reinforce.py:59
Method
learn
在learn的时候,抽取到的数据是四维的,四个维度分别为 1——第几个episode 2——episode中第几个transition 3——第几个agent的数据 4——具体obs维度。因为在选动作时不仅需要输入当前的inputs,还要给神经网络输入hidden_
policy/FC_QMIX.py:75
Method
learn
在learn的时候,抽取到的数据是四维的,四个维度分别为 1——第几个episode 2——episode中第几个transition 3——第几个agent的数据 4——具体obs维度。因为在选动作时不仅需要输入当前的inputs,还要给神经网络输入hidden_
policy/qmix.py:64
Method
learn
(self, batch, max_episode_len, train_step, epsilon)
policy/central_v.py:73
Method
learn
在learn的时候,抽取到的数据是四维的,四个维度分别为 1——第几个episode 2——episode中第几个transition 3——第几个agent的数据 4——具体obs维度。因为在选动作时不仅需要输入当前的inputs,还要给神经网络输入hidden_
policy/qtran_base.py:71
Method
learn
在learn的时候,抽取到的数据是四维的,四个维度分别为 1——第几个episode 2——episode中第几个transition 3——第几个agent的数据 4——具体obs维度。因为在选动作时不仅需要输入当前的inputs,还要给神经网络输入hidden_
policy/FC_ACML.py:81
Function
load
(name)
env/multiagent_com/scenarios/__init__.py:5
Function
make_capsule
(length, width)
env/multiagent_com/rendering.py:260
Method
mass
(self)
env/multiagent_com/core.py:54
Method
observation
(self, agent, world)
env/multiagent_com/scenarios/uav_com.py:193
Method
observation
(self, agent, world)
env/multiagent_com/scenarios/uav_com_u_centric.py:247
Method
render
(self, mode='human')
env/multiagent_com/environment.py:204
Method
render
(self, return_rgb_array=False)
env/multiagent_com/rendering.py:86
Method
render1
(self)
env/multiagent_com/rendering.py:219
Method
render1
(self)
env/multiagent_com/rendering.py:228
Method
render1
(self)
env/multiagent_com/rendering.py:275
Method
render1
(self)
env/multiagent_com/rendering.py:286
Method
render1
(self)
env/multiagent_com/rendering.py:302
Method
render1
(self)
env/multiagent_com/rendering.py:318
Method
reward
(self, agent, world)
env/multiagent_com/scenarios/uav_com.py:111
Method
reward
(self, agent, world)
env/multiagent_com/scenarios/uav_com_u_centric.py:141
Method
sample
Returns a array with one sample from each discrete action space
env/multiagent_com/multi_discrete.py:30
Method
save_model
(self, train_step)
policy/coma.py:302
Method
save_model
(self, train_step)
policy/iql.py:163
Method
save_model
(self, train_step)
policy/vdn.py:183
Method
save_model
(self, train_step)
policy/FC_QMIX_add.py:191
Method
save_model
(self, train_step)
policy/maven.py:222
Method
save_model
(self, train_step)
policy/qtran_alt.py:292
Method
save_model
(self, train_step)
policy/reinforce.py:167
Method
save_model
(self, train_step)
policy/FC_QMIX.py:230
Method
save_model
(self, train_step)
policy/qmix.py:179
Method
save_model
(self, train_step)
policy/central_v.py:206
Method
save_model
(self, train_step)
policy/qtran_base.py:254
Method
save_model
(self, train_step)
policy/FC_ACML.py:214
Method
shape
(self)
env/multiagent_com/multi_discrete.py:41
Method
step
(self, action_n)
env/multiagent_com/environment.py:72
Method
step_access
(self)
env/multiagent_com/core.py:113
← previous
next →
201–300 of 307, ranked by callers