Skip to content

Sasa's greedy daemons doesn't work proprerly on dijkstra-ring

When testing on dijkstra ring, the greedy daemon doesn't work properly.

$ cd ../dijkstra-ring/                                                                                                                       
eliezerg@Laptop:~/sasa/test/dijkstra-ring$ sasa diring4.dot -gd                                                                                                                    
 [sasa] The sasa random engine seed is set to 580431516
# Automatically generated by /home/neogalaxy/.opam/ocaml-base-compiler.4.12.0/bin/sasa version "4.6.0-26-g25afed4" ("25afed4")
# on neogalaxy-FeelPad-MK02 the 26/7/2021 at 16:53:47
#sasa diring4.dot -gd

#seed 580431516
#inputs 
#outputs "p0_c":int "p1_c":int "p2_c":int "p3_c":int "Enab_p0_T":bool "Enab_p1_T":bool "Enab_p2_T":bool "Enab_p3_T":bool "p0_T":bool "p1_T":bool "p2_T":bool "p3_T":bool potential:real


#step 0
#outs 0 0 1 2 t t t t f f t f 13.

#step 1
#outs 0 0 2 2 t t f t f t f f 6.

#step 2
#outs 0 2 2 2 f f f t f t f f 1.

#This algo reached a legitimate configuration after 2 moves, 2 steps, 0 round.

#quit
eliezerg@Laptop:~/sasa/test/dijkstra-ring$ sasa diring4.dot -gcd
 [sasa] The sasa random engine seed is set to 629151512
# Automatically generated by /home/neogalaxy/.opam/ocaml-base-compiler.4.12.0/bin/sasa version "4.6.0-26-g25afed4" ("25afed4")
# on neogalaxy-FeelPad-MK02 the 26/7/2021 at 16:53:49
#sasa diring4.dot -gcd

#seed 629151512
#inputs 
#outputs "p0_c":int "p1_c":int "p2_c":int "p3_c":int "Enab_p0_T":bool "Enab_p1_T":bool "Enab_p2_T":bool "Enab_p3_T":bool "p0_T":bool "p1_T":bool "p2_T":bool "p3_T":bool potential:real


#step 0
#outs 0 0 1 2 t t t t f t f f 13.

#step 1
#outs 0 1 1 2 f f t t f f t f 3.

#step 2
#outs 0 1 2 2 f t f t f f f t 2.

#step 3
#outs 0 1 2 0 f t t f f t f f 1.

#step 4
#outs 0 2 2 0 f f t f f t f f 0.

#This algo reached a legitimate configuration after 4 moves, 4 steps, 2 rounds.

#quit
eliezerg@Laptop:~/sasa/test/dijkstra-ring$ sasa diring4.dot -expd greedy                                                                                                           
 [sasa] The sasa random engine seed is set to 405980181
# Automatically generated by /home/neogalaxy/.opam/ocaml-base-compiler.4.12.0/bin/sasa version "4.6.0-26-g25afed4" ("25afed4")
# on neogalaxy-FeelPad-MK02 the 26/7/2021 at 16:53:58
#sasa diring4.dot -expd greedy

#seed 405980181
#inputs 
#outputs "p0_c":int "p1_c":int "p2_c":int "p3_c":int "Enab_p0_T":bool "Enab_p1_T":bool "Enab_p2_T":bool "Enab_p3_T":bool "p0_T":bool "p1_T":bool "p2_T":bool "p3_T":bool potential:real


#step 0
#outs 0 0 1 2 t t t t t f f f 13.

#step 1
#outs 1 0 1 2 f t t t f t f f 12.

#step 2
#outs 1 1 1 2 t f t t f f t f 11.

#step 3
#outs 1 1 2 2 t t f t f f f t 10.

#step 4
#outs 1 1 2 1 t t t f t f f f 9.

#step 5
#outs 2 1 2 1 f t t t f t f f 8.

#step 6
#outs 2 2 2 1 t f t t f f t f 7.

#step 7
#outs 2 2 1 1 t t f t f f f t 6.

#step 8
#outs 2 2 1 2 t t t f t f f f 5.

#step 9
#outs 3 2 1 2 f t t t f t f f 4.

#step 10
#outs 3 1 1 2 f f t t f f t f 3.

#step 11
#outs 3 1 2 2 f t f t f t f f 2.

#step 12
#outs 3 2 2 2 f f f t f t f f 1.

#This algo reached a legitimate configuration after 12 moves, 12 steps, 4 rounds.

#quit