Behaviour: Wiggle/Shake score change threshold

Case number:671071-987729
Topic:Game: Other
Opened by:Crashguard303
Status:Closed
Type:Suggestion
Opened on:Thursday, May 20, 2010 - 12:52
Last modified:Saturday, July 27, 2013 - 03:10

As I learned, some users run fold.it minimized.
My idea is, to create a threshold slider in the beviour bar, which makes shake or wiggle automatically stop gererally, if there is no change in score, or smaller than the selected amount.
This would speed up all scripts at once, LUA and regular scripts and lower excessive CPU using duration.

regards,
Alex

(Thu, 05/20/2010 - 12:52  |  3 comments)


Joined: 09/18/2009
Groups: SETI.Germany

The threshold value should work as absolute value, as there are some rebuild/clashing importance scripts, which cause the score to drop (because they must).

Joined: 09/18/2009
Groups: SETI.Germany

The only way to speed things up at the moment works like this (global wiggle as example):

function xwiggleall(iter,threshold)
curr_iter=0
exit_condition=false
repeat
curr_iter=curr_iter+1
tempScore=get_score()
do_global_wiggle_all(1)
tempScore2=get_score()
if (iter>0) and (curr_iter==iter) then exit_condition=true end
if abs(tempScore2-tempScore) until exit_condition==true
end -- function

where abs() returns an absolute value.
And you see here again, that it won't work if the puzzle score are below 0.

spmm's picture
User offline. Last seen 9 hours 50 min ago. Offline
Joined: 08/05/2010
Groups: Void Crushers
Status: Open » Closed

newer version of LUA time bound closed

Sitemap

Developed by: UW Center for Game Science, UW Institute for Protein Design, Northeastern University, Vanderbilt University Meiler Lab, UC Davis
Supported by: DARPA, NSF, NIH, HHMI, Amazon, Microsoft, Adobe, RosettaCommons