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

#include "probfd/probabilistic_task.h"

Description

Represents a probabilistic planning task with axioms and conditional effects.

This class should not be used directly to access the information of a probabilistic planning task. To this end, use ProbabilisticTaskProxy.

See also
ProbabilisticTaskProxy

Public Member Functions

virtual value_t get_non_goal_termination_cost () const =0
 Get the cost of terminating in a non-goal state.
 
virtual value_t get_operator_cost (int op_index) const =0
 Get the cost of the probabilistic operator with index op_index.
 
virtual int get_num_operator_outcomes (int op_index) const =0
 Get the number of probabilistic outcomes of the probabilistic operator with index op_index.
 
virtual value_t get_operator_outcome_probability (int op_index, int outcome_index) const =0
 Get the probabilistic outcome probability of the outcome with index outcome_index of the probabilistic operator with index op_index.
 
virtual int get_operator_outcome_id (int op_index, int outcome_index) const =0
 Get the global outcome index for the outcome with index outcome_index of the probabilistic operator with index op_index.
 
virtual int get_num_operator_outcome_effects (int op_index, int outcome_index) const =0
 Get the number of effects of the outcome with index outcome_index of the probabilistic operator with index op_index.
 
virtual FactPair get_operator_outcome_effect (int op_index, int outcome_index, int eff_index) const =0
 Get the effect with index eff_index of the outcome with index outcome_index of the probabilistic operator with index op_index.
 
virtual int get_num_operator_outcome_effect_conditions (int op_index, int outcome_index, int eff_index) const =0
 Get the number of effect conditions for the effect with index eff_index of the outcome with index outcome_index of the probabilistic operator with index op_index.
 
virtual FactPair get_operator_outcome_effect_condition (int op_index, int outcome_index, int eff_index, int cond_index) const =0
 Get the number of effect conditions for the effects with given index of outcome with given index of the probabilistic operator with given index.
 

Member Function Documentation

◆ get_non_goal_termination_cost()

virtual value_t probfd::ProbabilisticTask::get_non_goal_termination_cost ( ) const
pure virtual

Get the cost of terminating in a non-goal state.

◆ get_operator_cost()

virtual value_t probfd::ProbabilisticTask::get_operator_cost ( int op_index) const
pure virtual

Get the cost of the probabilistic operator with index op_index.

◆ get_num_operator_outcomes()

virtual int probfd::ProbabilisticTask::get_num_operator_outcomes ( int op_index) const
pure virtual

Get the number of probabilistic outcomes of the probabilistic operator with index op_index.

◆ get_operator_outcome_probability()

virtual value_t probfd::ProbabilisticTask::get_operator_outcome_probability ( int op_index,
int outcome_index ) const
pure virtual

Get the probabilistic outcome probability of the outcome with index outcome_index of the probabilistic operator with index op_index.

◆ get_operator_outcome_id()

virtual int probfd::ProbabilisticTask::get_operator_outcome_id ( int op_index,
int outcome_index ) const
pure virtual

Get the global outcome index for the outcome with index outcome_index of the probabilistic operator with index op_index.

◆ get_num_operator_outcome_effects()

virtual int probfd::ProbabilisticTask::get_num_operator_outcome_effects ( int op_index,
int outcome_index ) const
pure virtual

Get the number of effects of the outcome with index outcome_index of the probabilistic operator with index op_index.

◆ get_operator_outcome_effect()

virtual FactPair probfd::ProbabilisticTask::get_operator_outcome_effect ( int op_index,
int outcome_index,
int eff_index ) const
pure virtual

Get the effect with index eff_index of the outcome with index outcome_index of the probabilistic operator with index op_index.

◆ get_num_operator_outcome_effect_conditions()

virtual int probfd::ProbabilisticTask::get_num_operator_outcome_effect_conditions ( int op_index,
int outcome_index,
int eff_index ) const
pure virtual

Get the number of effect conditions for the effect with index eff_index of the outcome with index outcome_index of the probabilistic operator with index op_index.

◆ get_operator_outcome_effect_condition()

virtual FactPair probfd::ProbabilisticTask::get_operator_outcome_effect_condition ( int op_index,
int outcome_index,
int eff_index,
int cond_index ) const
pure virtual

Get the number of effect conditions for the effects with given index of outcome with given index of the probabilistic operator with given index.