Compare commits
1 Commits
f145e9bc35
...
8d50ac79d0
Author | SHA1 | Date | |
---|---|---|---|
8d50ac79d0 |
1
main.cpp
1
main.cpp
@ -104,6 +104,7 @@ public:
|
|||||||
std::make_heap(heap.begin(), heap.end(), sort_cells);
|
std::make_heap(heap.begin(), heap.end(), sort_cells);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// TODO: Turn this into a member of Cell as opterator<
|
||||||
static bool sort_cells(const Cell& a, const Cell& b) {
|
static bool sort_cells(const Cell& a, const Cell& b) {
|
||||||
return a.possible_values.size() < b.possible_values.size();
|
return a.possible_values.size() < b.possible_values.size();
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user