1#ifndef PROBFD_OPEN_LISTS_FIFO_OPEN_LIST_H
2#define PROBFD_OPEN_LISTS_FIFO_OPEN_LIST_H
4#include "probfd/algorithms/open_list.h"
11template <
typename Action>
13 std::deque<StateID> queue_;
17 bool empty()
const override
19 return queue_.empty();
23 unsigned size()
const override
35 void push(
StateID state_id)
override { queue_.push_back(state_id); }
37 void clear()
override { queue_.clear(); }
An interface for open lists used during search algorithms.
Definition trap_aware_dfhs.h:21
This namespace contains implementations of open lists.
Definition fifo_open_list.h:9
A StateID represents a state within a StateIDMap. Just like Fast Downward's StateID type,...
Definition types.h:22