Double-Deep-Q-Learning-for-Resource-Allocation
Double-Deep-Q-Learning-for-Resource-Allocation copied to clipboard
Question about Main code(position)
First of all, thank you for open source this code, but there are some questions for me,it's
def main(_):
up_lanes = [3.5/2,3.5/2 + 3.5,250+3.5/2, 250+3.5+3.5/2, 500+3.5/2, 500+3.5+3.5/2]
down_lanes = [250-3.5-3.5/2,250-3.5/2,500-3.5-3.5/2,500-3.5/2,750-3.5-3.5/2,750-3.5/2]
left_lanes = [3.5/2,3.5/2 + 3.5,433+3.5/2, 433+3.5+3.5/2, 866+3.5/2, 866+3.5+3.5/2]
right_lanes = [433-3.5-3.5/2,433-3.5/2,866-3.5-3.5/2,866-3.5/2,1299-3.5-3.5/2,1299-3.5/2]
I want to know what these codes mean. After reading the code, I think it should be used to locate the intersection, but I still don't know how it works, so I hope you can answer it. Finally, thank you again.
First of all, thank you for open source this code, but there are some questions for me,it's
def main(_): up_lanes = [3.5/2,3.5/2 + 3.5,250+3.5/2, 250+3.5+3.5/2, 500+3.5/2, 500+3.5+3.5/2] down_lanes = [250-3.5-3.5/2,250-3.5/2,500-3.5-3.5/2,500-3.5/2,750-3.5-3.5/2,750-3.5/2] left_lanes = [3.5/2,3.5/2 + 3.5,433+3.5/2, 433+3.5+3.5/2, 866+3.5/2, 866+3.5+3.5/2] right_lanes = [433-3.5-3.5/2,433-3.5/2,866-3.5-3.5/2,866-3.5/2,1299-3.5-3.5/2,1299-3.5/2]
I want to know what these codes mean. After reading the code, I think it should be used to locate the intersection, but I still don't know how it works, so I hope you can answer it. Finally, thank you again.
Maybe you can look at 3GPP TR36.885 V2.0.0, there is a road case diagram on page 67 to help you understand.
Hello, I adjusted the number of vehicles, but it reported an error. Is the number of vehicles adjusted in the position of environment initialization?