Skip to content

Question about move() in BasicSystem.cpp #3

@JiangpengLI86

Description

@JiangpengLI86

Dear Professor Li,

Thank you for this fantastic algorithm.

I have a question regarding this

if ((!hold_endpoints || paths[k].size() == t + 1) && !goal_locations[k].empty() &&
if statement. It seems that you only remove the finished goal from the goal_locations vector when that goal is finished at the end of a path by using the condition paths[k].size() == t + 1.

I am confused about this condition, because if an agent reaches two goals within one newly added path, then the goal location of the first accomplished path will not be removed.

Could you please shed some light on this issue? Thank you so much for your time and attention to this problem.

Best regards,

Jp

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions