Directory src/test/dr/inference/operators/

Total Files:
1
Deleted Files:
0
Lines of Code:
0

[root]/src/test/dr/inference/operators

Lines of Code

src/test/dr/inference/operators/ Lines of Code

Developers

Author Changes Lines of Code Lines per Change
rambaut 3 (100.0%) 82 (100.0%) 27.3

Most Recent Commits

rambaut 2010-10-07 22:45 Rev.: 3608

Relaxed the test of RandomWalkOperator to allow for a loss of precision in the looping algorithm.

1 lines of code changed in 2 files:

  • src/test/dr/inference/operators: RandomWalkOperatorTest.java (new)
rambaut 2010-10-07 21:42 Rev.: 3607

Implemented algorithm for a reflected random walk avoiding a loop. Refactored the old looping algorithm out into a method and created a unit test to compare the two. Currently for the test with a very large number of loop iterations, the results are different at the 4th decimal place, probably as a result of loss of precision in the repeated subtractions in the loop.

81 lines of code changed in 1 file:

  • src/test/dr/inference/operators: RandomWalkOperatorTest.java (+81)
Generated by StatSVN 0.7.0