diff options
Diffstat (limited to 'src/gen_chain.c')
-rw-r--r-- | src/gen_chain.c | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/src/gen_chain.c b/src/gen_chain.c index 636d3ea..0ad13d1 100644 --- a/src/gen_chain.c +++ b/src/gen_chain.c @@ -1,9 +1,10 @@ #include <stdio.h> +#include <time.h> #define PRINT_ITEM_FREQUENCY // #define PRINT_ON_WALK -#define SAVE_TO_FILE_ON_WALK "files/chain.txt" -#define WALK_LEN 100000 +#define SAVE_TO_FILE_ON_WALK "files/in.txt" +#define WALK_LEN 10000 #define ITEM_CAP 3 int ITEMS = 3; @@ -15,9 +16,9 @@ double chain[ITEM_CAP][ITEM_CAP] = { }; char item_names[ITEM_CAP][64] = { - "burger", - "pizza", - "hotdog" + "Burger", + "Pizza", + "Hotdog" }; #include "markov.h" |