From e25536a4df3e6ffaa80abdcb34df2382213a725a Mon Sep 17 00:00:00 2001 From: kartofen Date: Wed, 24 Aug 2022 16:48:07 +0300 Subject: works better --- src/gen_chain.c | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) (limited to 'src/gen_chain.c') 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 +#include #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" -- cgit v1.2.3