AI 24/25 Project Software
Documentation for the AI 24/25 course programming project software
|
#include "probfd/algorithms/open_list.h"
An interface for open lists used during search algorithms.
An open lists is be used to specify the order in which states are expanded by a search algorithm.
Action | - The action type of the underlying MDP model. |
Public Member Functions | |
virtual unsigned | size () const =0 |
Gets the current number f states in the open list. | |
virtual void | push (StateID state_id)=0 |
Offers a new state to the open list. | |
virtual StateID | pop ()=0 |
Extract the next state from the open list. | |
virtual void | clear ()=0 |
Clears the open list. | |
virtual bool | empty () const |
Checks if the open list is empty. | |
virtual void | push (StateID, Action, value_t, StateID state_id) |
Offers a new state to the open list that is the target of a transition. | |
|
nodiscardpure virtual |
Gets the current number f states in the open list.
|
pure virtual |
Offers a new state to the open list.
|
pure virtual |
Extract the next state from the open list.
|
pure virtual |
Clears the open list.
|
inlinenodiscardvirtual |
Checks if the open list is empty.
|
inlinevirtual |
Offers a new state to the open list that is the target of a transition.