aGrUM 3.1.1
a C++ library for (probabilistic) graphical models
counterfactual_tpl.h File Reference
#include <utility>
#include <agrum/CM/counterfactual.h>
Include dependency graph for counterfactual_tpl.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  gum
 gum is the global namespace for all aGrUM entities

Functions

template<GUM_Numeric GUM_ELEMENT>
Tensor< GUM_ELEMENT > gum::counterfactual (const CausalModel< GUM_ELEMENT > &cm, const Set< std::string > &on, const Set< std::string > &whatif, const HashTable< std::string, std::string > &profile=HashTable< std::string, std::string >(), const HashTable< std::string, std::string > &values=HashTable< std::string, std::string >())
 Compute a counterfactual distribution using the high-level API.
template<GUM_Numeric GUM_ELEMENT>
CausalModel< GUM_ELEMENT > gum::counterfactualModel (const CausalModel< GUM_ELEMENT > &cm, const HashTable< std::string, std::string > &profile, const Set< std::string > &whatif)
 Build the twin causal model.