On Sun, Sep 29, 2019 at 6:44 PM <[email protected]> wrote: > Yes, of course. E and T relate to the analogy of metallurgical > annealing. The appearance of kT is reminiscent of the Boltzmann > constant k in kT in thermodynamics. If the analogy is deeper than > appearance, more explanation would help.
It controls "temperature", yes. Specifically: "kmax = 1000_000" "For k = 0 to kmax by step kmax/10 , display k, ..." And "temperature" is a function of kT, k and kmax: "kT * (1 - k/kmax)" (Though in J, we'd use % in place of / and I'm using english language quotes here, to indicate content from that page.) This comes directly from the pseudocode on the linked wikipedia page (which has an instance quoted at the top of the page). The issue seems to be that wikipedia shows temperature being an unspecified [cooling] function of k and kMax and this task description specifies the function while using notation conventions that tie back to the wikipedia page. It's a muddy distinction, and it's muddy on the wikipedia page: a proper fix would probably need to start there. The psuedocode on that page is basically the same as the original entry from whoever it was that first created that page, and while people have updated the grammar of the rest of the page, the pseudocode is still the original. It's a bit uncomfortable introducing the kT*(1-kMax/k) notation into the psuedocode, because that suggests a specific cooling schedule. And, it's uncomfortable introducing a sentence into the pseudocode section of the wikipedia page which emphasizes that temperature is a cooling function because that has already been said. It might be worth going the other direction and taking a hint from that wikipedia text which says temperature is a function of r (which is a ratio), but... even there it's getting into slippery grammatical territory trying to bring out whatever missing important issues are missing. What would be a better way of phrasing this, from your point of view? Thanks, -- Raul ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm
