diff options
| author | kr.angelov <kr.angelov@gmail.com> | 2013-01-07 12:50:32 +0000 |
|---|---|---|
| committer | kr.angelov <kr.angelov@gmail.com> | 2013-01-07 12:50:32 +0000 |
| commit | 2c169406fcfa7a38cd89f8a6acbd0bb138d7c330 (patch) | |
| tree | f169176053215f23bf098d22e8c1f24a2b222c16 /src/runtime/c/pgf/data.h | |
| parent | cade578d04b7a104723a06beea98895369c85cfc (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.h | 8 |
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 }; |
