Skip to content

Cancel/progress object for findPathEnds #111

Description

@maliberty

In the OR GUI a user might request a large number of paths and decide they would like to cancel. There is currently no way to do that as findPathEnds is uninterruptable. There is also no way to show progress. Are you open to an additional argument like:

class Progress
{
  public:
   // A true return value indicates to continue; false indicates stop early
    virtual  bool reportProgress(const int progress) = 0;
    virtual ~Progress() {}
};

You would call it from time to time at point where interruption would make sense (e.g. every N paths). OR would pass a derived class object in that would interact with the GUI.

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