mutable
A Database System for Research and Fast Prototyping
Loading...
Searching...
No Matches
Namespaces | Data Structures | Typedefs | Functions
m::pe::hs Namespace Reference

‍heuristic search namespace

More...

Namespaces

namespace  config
 
namespace  expansions
 

‍heuristic search state expansions namespace


 
namespace  heuristics
 
namespace  search_states
 

‍heuristic search states namespace


 

Data Structures

struct  HeuristicSearch
 Computes the join order using heuristic search. More...
 

Typedefs

using Subproblem = SmallBitset
 
using binary_plan_type = std::vector< std::pair< Subproblem, Subproblem > >
 

Functions

template<typename PlanTable , typename State >
double 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 Search , template< typename, typename, typename > typename Heuristic, ai::SearchConfigConcept StaticConfig>
bool heuristic_search (PlanTable &PT, const QueryGraph &G, const AdjacencyMatrix &M, const CostFunction &CF, const CardinalityEstimator &CE, Search &S, const ai::SearchConfiguration< StaticConfig > &config)
 
template<typename PlanTable , typename State , typename Expand , typename SearchAlgorithm , template< typename, typename, typename > typename Heuristic, ai::SearchConfigConcept StaticConfig>
bool heuristic_search (PlanTable &PT, const QueryGraph &G, const AdjacencyMatrix &M, const CostFunction &CF, const CardinalityEstimator &CE, SearchAlgorithm &S, const ai::SearchConfiguration< StaticConfig > &config)
 

Detailed Description

‍heuristic search namespace

Typedef Documentation

◆ binary_plan_type

using m::pe::hs::binary_plan_type = typedef std::vector<std::pair<Subproblem, Subproblem> >

Definition at line 2180 of file HeuristicSearchPlanEnumerator.hpp.

◆ Subproblem

Definition at line 40 of file HeuristicSearchPlanEnumerator.hpp.

Function Documentation

◆ goo_path_completion()

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 
)

◆ heuristic_search() [1/2]

template<typename PlanTable , typename State , typename Expand , typename Search , 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,
Search &  S,
const ai::SearchConfiguration< StaticConfig > &  config 
)

◆ heuristic_search() [2/2]

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 
)