Commit 632464a3 authored by EYRAUD-DUBOIS Lionel's avatar EYRAUD-DUBOIS Lionel

Use vectors instead of lists in availSequence.

10x speedup for Heft on large instances
parent 83f1672f
#include <list>
#include <vector>
#include <ostream>
class Period {
......@@ -11,7 +11,7 @@ class Period {
Period() {}
Period(double s, double e) : start(s), end(e) {}
typedef std::list<Period> timeSeq;
typedef std::vector<Period> timeSeq;
class AvailSequence {
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment