Aleph-w 3.0
A C++ Library for Data Structures and Algorithms
Loading...
Searching...
No Matches
Aleph::SearchLimits Struct Reference

Hard bounds applied by the search engine. More...

#include <state_search_common.H>

Collaboration diagram for Aleph::SearchLimits:
[legend]

Public Attributes

size_t max_depth = Search_Unlimited
 Maximum expansion depth.
 
size_t max_expansions = Search_Unlimited
 Maximum expanded states.
 
size_t max_solutions = Search_Unlimited
 Maximum accepted solutions.
 

Detailed Description

Hard bounds applied by the search engine.

max_depth is treated as part of the explored region: states at depth max_depth are still checked for goal, but not expanded. The other bounds (max_expansions, max_solutions) are hard stops and yield SearchStatus::LimitReached when hit.

Definition at line 269 of file state_search_common.H.

Member Data Documentation

◆ max_depth

◆ max_expansions

size_t Aleph::SearchLimits::max_expansions = Search_Unlimited

Maximum expanded states.

Definition at line 272 of file state_search_common.H.

Referenced by Aleph::ida_star_detail::dfs(), Aleph::search_engine_detail::expansion_limit_reached(), TEST(), and TEST().

◆ max_solutions


The documentation for this struct was generated from the following file: