AI 24/25 Project Software
Documentation for the AI 24/25 course programming project software
Loading...
Searching...
No Matches
probfd::pdbs::MatchTree Class Reference

#include "probfd/pdbs/match_tree.h"

Description

Applicable actions generator for projections.

Public Member Functions

void insert (const AssignmentEnumerator &ranking_function, ProjectionOperator op, const std::vector< FactPair > &progression_preconditions, FDRSimpleCostFunction *task_cost_function)
 Insert a new projection operator with the given preconditions into the match tree.
 
void get_applicable_operators (StateRank abstract_state, std::vector< const ProjectionOperator * > &operators) const
 Obtain the applicable prohjection operators for a given abstract state.
 
void generate_all_transitions (StateRank abstract_state, std::vector< Transition< const ProjectionOperator * > > &transitions, ProjectionStateSpace &state_space) const
 Obtain the applicable prohjection operators for a given abstract state.
 
void dump (std::ostream &out) const
 Dump the match tree to an output stream.
 

Member Function Documentation

◆ insert()

void probfd::pdbs::MatchTree::insert ( const AssignmentEnumerator & ranking_function,
ProjectionOperator op,
const std::vector< FactPair > & progression_preconditions,
FDRSimpleCostFunction * task_cost_function )

Insert a new projection operator with the given preconditions into the match tree.

◆ get_applicable_operators()

void probfd::pdbs::MatchTree::get_applicable_operators ( StateRank abstract_state,
std::vector< const ProjectionOperator * > & operators ) const

Obtain the applicable prohjection operators for a given abstract state.

◆ generate_all_transitions()

void probfd::pdbs::MatchTree::generate_all_transitions ( StateRank abstract_state,
std::vector< Transition< const ProjectionOperator * > > & transitions,
ProjectionStateSpace & state_space ) const

Obtain the applicable prohjection operators for a given abstract state.

◆ dump()

void probfd::pdbs::MatchTree::dump ( std::ostream & out) const

Dump the match tree to an output stream.