Ticket #5322 (closed: fixed)

Opened 8 years ago

Last modified 5 years ago

Improve RandomNumberGenerator interface

Reported by: Martyn Gigg Owned by: Martyn Gigg
Priority: major Milestone: Release 2.2
Component: Mantid Keywords: Quantification
Cc: Blocked By:
Blocking: Tester: Wenduo Zhou

Description

The quantification work requires the Sobol sequence generator from the GSL library.

The current random number generator interface is limited to 1D numbers. Create an interface for generating a point in ND space along with a specialized interface for a seeded pseudo-random number generator.

Change History

comment:1 Changed 8 years ago by Martyn Gigg

Created an NDRandomNumberGenerator interface. Refs #5322

The Vates quantification requires using the Sobol sequence for producing a point in ND space. The interface as it was made it difficult to swap out other random number generators. There is now a generic ND interface that returns a vector of numbers.

Changeset: e43d8e6073687ba7c9da25437fb327a2abc04aad

comment:2 Changed 8 years ago by Martyn Gigg

Add missing export macros. Refs #5322

Changeset: 9f65b6ee74ce2fded941d0abda6c8cf151bd65c5

comment:3 Changed 8 years ago by Martyn Gigg

Missed another export macro. Refs #5322

Changeset: 70cfa4200d0797f84a170bc7b8aa57648e12e204

comment:4 Changed 8 years ago by Martyn Gigg

Add a NDPseudoRandomNumberGenerator. Refs #5322

Uses a single generator to allow easy construction of an ND point from pseudo-random numbers thereby presenting a cleaner interface inline with the other ND generators.

Changeset: c5998a8824f378c27333b5c5390805d4df049629

comment:5 Changed 8 years ago by Martyn Gigg

  • Status changed from new to accepted

comment:6 Changed 8 years ago by Martyn Gigg

  • Status changed from accepted to verify
  • Resolution set to fixed

comment:7 Changed 8 years ago by Martyn Gigg

  • Status changed from verify to reopened
  • Resolution fixed deleted

comment:8 Changed 8 years ago by Martyn Gigg

Improve performance of random number generator. Refs #5322

Return is now by reference & there is a performance test.

Changeset: 840d4cd3a14b1c4dbd5a278a4ef6f91268f01c31

comment:9 Changed 8 years ago by Martyn Gigg

Didn't mean to commit the MDAlgs CMakeLists file. Refs #5322

Changeset: 43ac934134b20008595e91914a32b8570ce63988

comment:10 Changed 8 years ago by Martyn Gigg

Improve performance of random number generator. Refs #5322

Return is now by reference & there is a performance test.

Changeset: 840d4cd3a14b1c4dbd5a278a4ef6f91268f01c31

comment:11 Changed 8 years ago by Martyn Gigg

Didn't mean to commit the MDAlgs CMakeLists file. Refs #5322

Changeset: 43ac934134b20008595e91914a32b8570ce63988

comment:12 Changed 8 years ago by Martyn Gigg

Improve performance of random number generator. Refs #5322

Return is now by reference & there is a performance test.

Changeset: 840d4cd3a14b1c4dbd5a278a4ef6f91268f01c31

comment:13 Changed 8 years ago by Martyn Gigg

Didn't mean to commit the MDAlgs CMakeLists file. Refs #5322

Changeset: 43ac934134b20008595e91914a32b8570ce63988

comment:14 Changed 8 years ago by Martyn Gigg

  • Status changed from reopened to accepted

comment:15 Changed 8 years ago by Martyn Gigg

  • Status changed from accepted to verify
  • Resolution set to fixed

comment:16 Changed 8 years ago by Wenduo Zhou

  • Status changed from verify to verifying
  • Tester set to Wenduo Zhou

comment:17 Changed 8 years ago by Wenduo Zhou

  • Status changed from verifying to closed

comment:18 Changed 5 years ago by Stuart Campbell

This ticket has been transferred to github issue 6168

Note: See TracTickets for help on using tickets.