organofcorti

Navigator1.0

Oct 8th, 2011
281
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
R 0.50 KB | None | 0 0
  1. #navigator 1.0
  2. #finds the c
  3.  
  4. #most recent webpage updates here
  5. shares<-367
  6. currentScore<-1829.06812123
  7. avhashrate<-702.12
  8. currentSecs<-shares*2^32/avhashrate/10^6
  9. sharesPerSec<-shares/currentSecs
  10.  
  11. #navigator. often fails badly.
  12. score<-vector(shares,mode="numeric")
  13. ctest<-300; j<-0               
  14. while(abs(log(round(currentScore/score[shares],digits=2)))>0.01){
  15.     j<-j+1
  16.     for(i in 2:shares){
  17.         score[i]<-score[(i-1)]+exp((i/sharesPerSec)/ctest)}
  18.         ctest<-ctest-ctest*log(currentScore/score[i],25)
  19.             }
  20. ctest
Advertisement
Add Comment
Please, Sign In to add comment