summaryrefslogtreecommitdiff
path: root/decoder/apply_models.h
diff options
context:
space:
mode:
authorandrea gesmundo <andrea.gesmundo@gmail.com>2011-07-08 13:56:42 +0200
committerandrea gesmundo <andrea.gesmundo@gmail.com>2011-07-08 13:56:42 +0200
commit3396d8de52872e47ec61be942e4b50170a789950 (patch)
treefa8372d06235a8f4c6460c82a6e775131ab5eb1f /decoder/apply_models.h
parentf68aaa588a2e1eb7cef5a57d57dd7e86fd4b0c9a (diff)
add Fast Cube Pruning
Diffstat (limited to 'decoder/apply_models.h')
-rw-r--r--decoder/apply_models.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/decoder/apply_models.h b/decoder/apply_models.h
index a85694aa..19a4c7be 100644
--- a/decoder/apply_models.h
+++ b/decoder/apply_models.h
@@ -13,6 +13,8 @@ struct IntersectionConfiguration {
enum {
FULL,
CUBE,
+ FAST_CUBE_PRUNING,
+ FAST_CUBE_PRUNING_2,
N_ALGORITHMS
};
@@ -25,7 +27,9 @@ enum {
inline std::ostream& operator<<(std::ostream& os, const IntersectionConfiguration& c) {
if (c.algorithm == 0) { os << "FULL"; }
else if (c.algorithm == 1) { os << "CUBE:k=" << c.pop_limit; }
- else if (c.algorithm == 2) { os << "N_ALGORITHMS"; }
+ else if (c.algorithm == 2) { os << "FAST_CUBE_PRUNING"; }
+ else if (c.algorithm == 3) { os << "FAST_CUBE_PRUNING_2"; }
+ else if (c.algorithm == 4) { os << "N_ALGORITHMS"; }
else os << "OTHER";
return os;
}