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

#include "probfd/task_proxy.h"

Description

Proxy class used to inspect a list of probabilistic operators of a probabilistic task. Can be used as a range of ProbabilisticOperatorProxies, one for each probabilistic operator.

Public Member Functions

std::size_t size () const
 Returns the number of probabilistic operators in the list.
 
ProbabilisticOperatorProxy operator[] (std::size_t index) const
 Get a proxy for a specific probabilistic operator by list index.
 
ProbabilisticOperatorProxy operator[] (OperatorID id) const
 Get a proxy for a specific probabilistic operator by operator id.
 

Member Function Documentation

◆ size()

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

Returns the number of probabilistic operators in the list.

◆ operator[]() [1/2]

ProbabilisticOperatorProxy probfd::ProbabilisticOperatorsProxy::operator[] ( std::size_t index) const

Get a proxy for a specific probabilistic operator by list index.

◆ operator[]() [2/2]

ProbabilisticOperatorProxy probfd::ProbabilisticOperatorsProxy::operator[] ( OperatorID id) const

Get a proxy for a specific probabilistic operator by operator id.