-
Notifications
You must be signed in to change notification settings - Fork 346
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
22 changed files
with
477 additions
and
89 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
#ifndef LOG_LOCAL_SEARCH_H | ||
#define LOG_LOCAL_SEARCH_H | ||
|
||
/* | ||
This file is part of VROOM. | ||
Copyright (c) 2015-2024, Julien Coupey. | ||
All rights reserved (see LICENSE). | ||
*/ | ||
|
||
#include "structures/vroom/solution/solution.h" | ||
#include "structures/vroom/solution_indicators.h" | ||
|
||
namespace vroom::ls::log { | ||
|
||
enum class EVENT { | ||
START, | ||
OPERATOR, | ||
LOCAL_MINIMA, | ||
JOB_ADDITION, | ||
RUIN, | ||
RECREATE, | ||
ROLLBACK | ||
}; | ||
|
||
template <class Route> struct Step { | ||
TimePoint time_point; | ||
EVENT event; | ||
OperatorName operator_name; | ||
vroom::utils::SolutionIndicators<Route> indicators; | ||
std::optional<Solution> solution; | ||
}; | ||
|
||
template <class Route> struct Dump { | ||
HeuristicParameters heuristic_parameters; | ||
std::vector<Step<Route>> steps; | ||
}; | ||
} // namespace vroom::ls::log | ||
|
||
#endif |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.