AI 24/25 Project Software
Documentation for the AI 24/25 course programming project software
|
#include "probfd/task_proxy.h"
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. | |
|
nodiscard |
Get the operator of the outcomes.
|
nodiscard |
Returns the number of outcomes of the probabilistic operator.
ProbabilisticOutcomeProxy probfd::ProbabilisticOutcomesProxy::operator[] | ( | std::size_t | eff_index | ) | const |
Get a proxy to a specific outcome by its list index.