bkrueger / mocasinns

MOnte-CArlo-SImulations - Neat'N'Simple
Other
4 stars 1 forks source link

Split the call of the observator and the handling of signals within Metropolis-like algorithms #43

Closed bkrueger closed 11 years ago

bkrueger commented 11 years ago

Advantage: A call to a signal handler is slow and should be done very rarely, whereas the call of observator and accumulating it is fast.

Calling the signal handler not every observation can increase performance for measurements that observe very often (e.g. measurement of the auto-correlation time)