mutable
A Database System for Research and Fast Prototyping
Loading...
Searching...
No Matches
Namespaces | Macros | Functions
HeuristicSearchPlanEnumerator.cpp File Reference
#include <mutable/IR/HeuristicSearchPlanEnumerator.hpp>
#include <cstring>
#include <execution>
#include <functional>
#include <memory>
#include <mutable/catalog/Catalog.hpp>
#include <mutable/Options.hpp>
#include <mutable/util/fn.hpp>
Include dependency graph for HeuristicSearchPlanEnumerator.cpp:

Go to the source code of this file.

Namespaces

namespace  options
 

‍command-line options for the HeuristicSearchPlanEnumerator


 
namespace  m
 

‍mutable namespace


 
namespace  m::pe
 

‍plan enumerator namespace


 
namespace  m::pe::hs
 

‍heuristic search namespace


 
namespace  m::pe::hs::search_states
 

‍heuristic search states namespace


 

Macros

#define HEURISTIC_SEARCH(STATE, EXPAND, HEURISTIC, STATIC_CONFIG)
 

Functions

template<typename PlanTable , typename State >
double m::pe::hs::goo_path_completion (const State &state, PlanTable &PT, const QueryGraph &G, const AdjacencyMatrix &M, const CardinalityEstimator &CE, const CostFunction &CF, binary_plan_type &plan)
 
template<typename PlanTable , typename State , typename Expand , typename SearchAlgorithm , template< typename, typename, typename > typename Heuristic, ai::SearchConfigConcept StaticConfig>
bool m::pe::hs::heuristic_search (PlanTable &PT, const QueryGraph &G, const AdjacencyMatrix &M, const CostFunction &CF, const CardinalityEstimator &CE, SearchAlgorithm &S, const ai::SearchConfiguration< StaticConfig > &config)
 

Macro Definition Documentation

◆ HEURISTIC_SEARCH

#define HEURISTIC_SEARCH (   STATE,
  EXPAND,
  HEURISTIC,
  STATIC_CONFIG 
)
Value:
if (heuristic_search_helper<PlanTable, \
search_states::STATE, \
expansions::EXPAND, \
heuristics::HEURISTIC, \
config::STATIC_CONFIG \
>(#STATE, #EXPAND, #HEURISTIC, #STATIC_CONFIG, PT, G, M, CF, CE)) \
{ \
goto matched_heuristic_search; \
}
Implements a generic A* search algorithm.