Skip to content
Snippets Groups Projects
Commit 1e28e573 authored by Romain BERNARD's avatar Romain BERNARD
Browse files

add insertion status enum to make debugging easier

parent c1265aa3
1 merge request!2Route manipulation API with automatic constraint propagation
Pipeline #7390 passed with warnings
......@@ -15,6 +15,16 @@
* To allow comparison and ordering between multiple insertions if necessary, it also memorizes a score associated with this constraint propagation (lower is better)
*/
class SAEVRouteChangelist {
public:
enum class InsertionStatus{
SUCCESS,
FAILURE_PRECONDITION_TW,
FAILURE_PRECONDITION_WEIGHT,//To check if you need to remove a request, check status > FAILURE_PRECONDITION_WEIGHT
FAILURE_MIN,
FAILURE_MAX,
FAILURE_DELTA_MIN,
FAILURE_DELTA_MAX
};
private:
SAEVRoute * const _routePtr;
const size_t _requestId;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment