1#ifndef UTILS_COUNTDOWN_TIMER_H
2#define UTILS_COUNTDOWN_TIMER_H
4#include "downward/utils/exceptions.h"
5#include "downward/utils/timer.h"
13 explicit CountdownTimer(
double max_time);
15 bool is_expired()
const;
16 void throw_if_expired()
const;
17 Duration get_elapsed_time()
const;
18 Duration get_remaining_time()
const;
20 operator<<(std::ostream& os,
const CountdownTimer& cd_timer);
23std::ostream& operator<<(std::ostream& os,
const CountdownTimer& cd_timer);