summaryrefslogtreecommitdiff
path: root/src/runtime/c/pgf/expr.h
diff options
context:
space:
mode:
authorKrasimir Angelov <kr.angelov@gmail.com>2017-09-01 08:46:52 +0200
committerKrasimir Angelov <kr.angelov@gmail.com>2017-09-01 08:46:52 +0200
commit5a37660811d2b23439a542c70cd09bdda9418a1a (patch)
tree2d5adac94b7d5ac7a4b69aca3cfdfd4927f00b99 /src/runtime/c/pgf/expr.h
parent1182a9b63d983a749829d774ef05e3dd7dfe6a8e (diff)
added function treeProbability in the Haskell binding
Diffstat (limited to 'src/runtime/c/pgf/expr.h')
-rw-r--r--src/runtime/c/pgf/expr.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/runtime/c/pgf/expr.h b/src/runtime/c/pgf/expr.h
index a30e44318..7f8746b28 100644
--- a/src/runtime/c/pgf/expr.h
+++ b/src/runtime/c/pgf/expr.h
@@ -226,4 +226,7 @@ PGF_API_DECL void
pgf_print_expr_tuple(size_t n_exprs, PgfExpr exprs[], PgfPrintContext* ctxt,
GuOut* out, GuExn* err);
+PGF_API prob_t
+pgf_compute_tree_probability(PgfPGF *gr, PgfExpr expr);
+
#endif /* EXPR_H_ */