lppl  v2.0.0

◆ operator()() [1/3]

template<template< typename, typename, typename, template< class, class, class... > class, typename... > class A, typename I , typename O , typename V , template< class, class, class... > class Q, typename... Ts>
template<template< typename, typename, typename, template< class, class, class... > class, typename... > class G = A>
std::enable_if_t<std::is_same_v<typename has_proposal<G>::type, No>, V> Inference< A, I, O, V, Q, Ts >::operator() ( I &  input)
inline

Runs the specified inference algorithm with the specified queryer.

This operator exists only for inference algorithms that do not require a proposal distribution.

Parameters
inputthe input data to the probabilistic program
Returns
V The return value of the queryer