| summaryrefslogtreecommitdiff |
diff options
| author | Nathanael Sensfelder <SpamShield0@MultiAgentSystems.org> | 2016-07-24 22:42:09 +0200 |
|---|---|---|
| committer | Nathanael Sensfelder <SpamShield0@MultiAgentSystems.org> | 2016-07-24 22:42:09 +0200 |
| commit | 8994c7b5cf56f540c71c763173a8927569ba94b3 (patch) | |
| tree | 5b7822bd827593f612c1e103df92001781ac72c6 /src/core/knowledge.h | |
| parent | f74d57fee040218af039f8157cf645d0902ad300 (diff) | |
Experimenting with K Order Markovian chains.
I do not recommend using this branch ATM, it has not been tested.
Diffstat (limited to 'src/core/knowledge.h')
| -rw-r--r-- | src/core/knowledge.h | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/src/core/knowledge.h b/src/core/knowledge.h index c9ea342..93f5f49 100644 --- a/src/core/knowledge.h +++ b/src/core/knowledge.h @@ -75,4 +75,22 @@ int ZoO_knowledge_extend ZoO_char * result [const static 1] ); +int ZoO_knowledge_find_link +( + ZoO_index const links_count, + struct ZoO_knowledge_link links [const], + ZoO_index const sequence [const restrict static ZoO_SEQUENCE_SIZE], + ZoO_index result [const restrict static 1] +); + +/* Create it if it's not found. */ +int ZoO_knowledge_get_link +( + ZoO_index links_count [const], + struct ZoO_knowledge_link * links [const], + ZoO_index const sequence [const restrict static ZoO_S_LINK_SIZE], + ZoO_index result [const restrict static 1] +); + + #endif |


