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

#include "probfd/task_proxy.h"

Description

Proxy class used to inspect the list of probabilistic outcomes of a probabilistic operator. Can be used as a range of ProbabilisticOutcomeProxies, one for each probabilistic outcome.

Public Member Functions

ProbabilisticOperatorProxy get_operator () const
 Get the operator of the outcomes.
 
std::size_t size () const
 Returns the number of outcomes of the probabilistic operator.
 
ProbabilisticOutcomeProxy operator[] (std::size_t eff_index) const
 Get a proxy to a specific outcome by its list index.
 

Member Function Documentation

◆ get_operator()

ProbabilisticOperatorProxy probfd::ProbabilisticOutcomesProxy::get_operator ( ) const
nodiscard

Get the operator of the outcomes.

◆ size()

std::size_t probfd::ProbabilisticOutcomesProxy::size ( ) const
nodiscard

Returns the number of outcomes of the probabilistic operator.

◆ operator[]()

ProbabilisticOutcomeProxy probfd::ProbabilisticOutcomesProxy::operator[] ( std::size_t eff_index) const

Get a proxy to a specific outcome by its list index.