OLD | NEW |
1 #ifndef DOT_FORMATTING_PROBLEM_HH | 1 #ifndef DOT_FORMATTING_PROBLEM_HH |
2 #define DOT_FORMATTING_PROBLEM_HH | 2 #define DOT_FORMATTING_PROBLEM_HH |
3 | 3 |
4 #include "skyline.hh" | 4 #include "skyline.hh" |
5 #include "std-vector.hh" | 5 #include "std-vector.hh" |
6 | 6 |
7 #include <map> | |
8 | |
9 class Dot_formatting_problem | 7 class Dot_formatting_problem |
10 { | 8 { |
| 9 private: |
| 10 Skyline head_skyline_; |
| 11 |
11 public: | 12 public: |
12 Skyline head_skyline_; | 13 Skyline const &head_skyline () const { return head_skyline_; } |
13 Dot_configuration *best_; | |
14 int score_; | |
15 | 14 |
16 void register_configuration (Dot_configuration const &); | |
17 Dot_configuration *best () const; | |
18 Dot_formatting_problem (vector<Box> const &boxes, Interval base_x); | 15 Dot_formatting_problem (vector<Box> const &boxes, Interval base_x); |
19 ~Dot_formatting_problem (); | |
20 }; | 16 }; |
21 | 17 |
22 #endif | 18 #endif |
OLD | NEW |