Reply To: !
A Tale of 2 Secrets › Forums › T.E.M.P.E.S.T. › ! › Reply To: !
@_hacker_,
My first complaint is that the code for ngram_fitness() is not provided. I tried to substitute with my code for party_planning(), but got lots of run-time errors.
My second observation is that your code is the simulated annealing algorithm from that article by Cowan. In that article, he states that the program needs to be run several times before finding the global maximum. Have you tried turning it off and back on again? My algorithm in Unit 106 of version 2 of my book is slightly different, and could be described as “churning” by a guy who wrote a page on the internet but the page is now gone (CryptoDen). It usually does not need to be restarted.
@Gen_ruikt, what have you read about it so far?