DonggeLiu / AFLNet_Legion

AFLNet with MCTS
Apache License 2.0
5 stars 3 forks source link

Compilation warning #2

Open thuanpv opened 3 years ago

thuanpv commented 3 years ago

When I compile the MCTS test, I get this warning

./Tests.c:114:19: warning: incompatible pointer types initializing 'seed_info_t *' with an     
      expression of type 'struct queue_entry *' [-Wincompatible-pointer-types]                 
    seed_info_t * seed = Selection(ROOT);

Can you please explain why you store a queue_entry pointer in a seed_info_t* variable?

DonggeLiu commented 3 years ago

I was trying to encapsulate two counters into the structure of each seed: a) The number of times it has been selected; 2) The number of new paths it has found. They will be used when we select seeds with the UCB function.