File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 6969 }
7070 ],
7171 "source" : [
72- " # Since there's only one agent , get the first on the list\n " ,
72+ " # Since there's only one behavior , get the first on the list\n " ,
7373 " behavior_name = list(env.behavior_specs)[0]\n " ,
7474 " print(f\" Name of the behavior : {behavior_name}\" )\n " ,
7575 " spec = env.behavior_specs[behavior_name]\n " ,
203203 " Decision Steps and Terminal Steps are the list that agents called for the need of decision.<br />\n " ,
204204 " Difference between Decision Steps and Terminal Steps is that terminal step only calls on episode end, while \n " ,
205205 " decision step can be called at anytime.\n " ,
206- " - Decision Steps: `env.get_steps()` get the steps from agents calling <br />\n " ,
206+ " - Decision Steps: `env.get_steps(Behavior_Name:str )` get the steps from agents requested of the behavior <br />\n " ,
207207 " - Agent ID: `steps.agent_id()` get the agents id corresponding to the step <br />\n " ,
208208 " - `len(DecisionSteps)`: Returns the number of agents requesting a decision since the last call to env.step()"
209209 ]
You can’t perform that action at this time.
0 commit comments