46#ifndef GUM_CAUSAL_FORMULA_H
47#define GUM_CAUSAL_FORMULA_H
73 template < GUM_Numeric GUM_SCALAR >
87 std::unique_ptr< ASTtree< GUM_SCALAR > >
root,
104 std::unique_ptr< ASTtree< GUM_SCALAR > >
root,
124 Tensor< GUM_SCALAR >
eval()
const;
130 std::string
toLatex(std::string_view doOperatorPrefix =
"do(",
131 std::string_view doOperatorSuffix =
")")
const;
137 std::string
latexQuery(std::string_view doOperatorPrefix =
"do(",
138 std::string_view doOperatorSuffix =
")")
const;
141 std::unique_ptr< CausalFormula< GUM_SCALAR > >
copy()
const;
186 const
Set<
std::
string >& names);
208#ifndef GUM_NO_EXTERN_TEMPLATE_CLASS
Root abstract node for the AST of algebraic expressions.
A causal model pairing an observational BayesNet with a causal DAG.
Abstract Syntax Tree (AST) for algebraic probability expressions used in do-Calculus.
Set< NodeId > NodeSet
Some typdefs and define for shortcuts ...
gum is the global namespace for all aGrUM entities