cleanup code

This commit is contained in:
Laurent Perron
2023-05-24 11:42:11 +02:00
parent 7a9180f625
commit 224a38f87f
124 changed files with 482 additions and 231 deletions

View File

@@ -225,15 +225,13 @@ class CapacityProfile {
EventType type;
int index;
const bool operator<(const Event& other) const { return time < other.time; }
bool operator<(const Event& other) const { return time < other.time; }
};
// Element of the integer_pq heap.
struct QueueElement {
int Index() const { return index; }
const bool operator<(const QueueElement& o) const {
return value < o.value;
}
bool operator<(const QueueElement& o) const { return value < o.value; }
int index;
IntegerValue value;