Understanding specific code segment in CBS-TA #39
Unanswered
aakash0641
asked this question in
Q&A
Replies: 1 comment 2 replies
-
|
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi, I request for your help in understanding the purpose (logic) behind the below code segment. The code segment is from the class
CBSTA
. The reason that I could not get the logic behind the concerned code segment is that it is absent in the CBS-TA algorithm mentioned in the CBS-TA paper "Conflict-Based Search with Optimal Task Assignment". For convenience, I am providing the screenshot of the code segment so that we can refer using line numbers.Q1: What is being done in the
for
loop from line 100 to 118 ? I mean what is the logic ?Q2: In line 96, what is the purpose of calling
nextTaskAssignment
function ? Actually, the call tonextTaskAssignment
function, which is shown in algorithm in the CBS-TA paper, is actually present in line 147 (see 2nd screenshot). So, I could not understand the logic behind callingnextTaskAssignment
in line 96. I request for your help in clarifying my doubts. Thank you.In other words:-
In CBS-TA paper, there is only one call to
nextTaskAssignment
function (in line 15 of algorithm in paper).But in code, there are two calls to
nextTaskAssignment
function, in lines 96 and 147 respectively.I feel the call in line 147 is corresponding to the call in the line 15 of algorithm in the paper.
So, what is the purpose of additional call to
nextTaskAssignment
function in line 96 ?Beta Was this translation helpful? Give feedback.
All reactions