summaryrefslogtreecommitdiff
path: root/src/runtime/c/pgf/data.h
diff options
context:
space:
mode:
authorkr.angelov <kr.angelov@gmail.com>2013-01-07 12:50:32 +0000
committerkr.angelov <kr.angelov@gmail.com>2013-01-07 12:50:32 +0000
commit2c169406fcfa7a38cd89f8a6acbd0bb138d7c330 (patch)
treef169176053215f23bf098d22e8c1f24a2b222c16 /src/runtime/c/pgf/data.h
parentcade578d04b7a104723a06beea98895369c85cfc (diff)
a new reasoner in the C runtime. It supports tabling which makes it decideable for propositional logic. dependent types and high-order types are not supported yet. The generation is still in decreasing probability order
Diffstat (limited to 'src/runtime/c/pgf/data.h')
-rw-r--r--src/runtime/c/pgf/data.h8
1 files changed, 1 insertions, 7 deletions
diff --git a/src/runtime/c/pgf/data.h b/src/runtime/c/pgf/data.h
index ea87e17c1..f2cbc31cc 100644
--- a/src/runtime/c/pgf/data.h
+++ b/src/runtime/c/pgf/data.h
@@ -131,11 +131,6 @@ struct PgfFunDecl {
extern GU_DECLARE_TYPE(PgfFunDecl, struct);
-struct PgfCatFun {
- double prob;
- PgfCId fun;
-};
-
typedef GuMap PgfMetaChildMap;
extern GU_DECLARE_TYPE(PgfMetaChildMap, GuMap);
@@ -147,8 +142,7 @@ struct PgfCat {
prob_t meta_token_prob;
PgfMetaChildMap* meta_child_probs;
- GuLength n_functions;
- PgfCatFun functions[]; // XXX: resolve to PgfFunDecl*?
+ GuBuf* functions; // -->PgfFunDecl
};