Skip to content

Commit 46fb2f9

Browse files
committed
reorder
1 parent 0ddddc7 commit 46fb2f9

1 file changed

Lines changed: 8 additions & 8 deletions

File tree

include/osp/bsp/scheduler/IlpSchedulers/CoptFullScheduler.hpp

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -65,14 +65,14 @@ class CoptFullScheduler : public Scheduler<Graph_t> {
6565
bool is_max_bsp = false;
6666
bool use_memory_constraint;
6767
bool use_initial_schedule = false;
68-
const BspScheduleCS<Graph_t> *initial_schedule;
69-
68+
bool write_solutions_found;
7069
bool use_initial_schedule_recomp = false;
71-
const BspScheduleRecomp<Graph_t> *initial_schedule_recomp;
7270

7371
unsigned timeLimitSeconds = 0;
7472

75-
bool write_solutions_found;
73+
const BspScheduleCS<Graph_t> *initial_schedule;
74+
const BspScheduleRecomp<Graph_t> *initial_schedule_recomp;
75+
7676
std::string write_solutions_path;
7777
std::string solution_file_prefix;
7878

@@ -824,8 +824,8 @@ class CoptFullScheduler : public Scheduler<Graph_t> {
824824

825825
public:
826826
CoptFullScheduler(unsigned steps = 5)
827-
: allow_recomputation(false), use_memory_constraint(false), use_initial_schedule(false), initial_schedule(0),
828-
write_solutions_found(false), max_number_supersteps(steps) {
827+
: allow_recomputation(false), use_memory_constraint(false), use_initial_schedule(false),
828+
write_solutions_found(false), initial_schedule(0), max_number_supersteps(steps) {
829829

830830
// solution_callback.comm_processor_to_processor_superstep_node_var_ptr =
831831
// &comm_processor_to_processor_superstep_node_var;
@@ -834,7 +834,7 @@ class CoptFullScheduler : public Scheduler<Graph_t> {
834834

835835
CoptFullScheduler(const BspScheduleCS<Graph_t> &schedule)
836836
: allow_recomputation(false), use_memory_constraint(false), use_initial_schedule(true),
837-
initial_schedule(&schedule), write_solutions_found(false),
837+
write_solutions_found(false), initial_schedule(&schedule),
838838
max_number_supersteps(schedule.numberOfSupersteps()) {
839839

840840
// solution_callback.comm_processor_to_processor_superstep_node_var_ptr =
@@ -844,7 +844,7 @@ class CoptFullScheduler : public Scheduler<Graph_t> {
844844

845845
CoptFullScheduler(const BspScheduleRecomp<Graph_t> &schedule)
846846
: allow_recomputation(true), use_memory_constraint(false), use_initial_schedule_recomp(true),
847-
initial_schedule_recomp(&schedule), write_solutions_found(false),
847+
write_solutions_found(false), initial_schedule_recomp(&schedule),
848848
max_number_supersteps(schedule.numberOfSupersteps()) {
849849
}
850850

0 commit comments

Comments
 (0)