Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Reimplement OpenBabel::OBRandom as a wrapper of std::mt19937_64 #2241

Open
wants to merge 9 commits into
base: master
Choose a base branch
from

Commits on Jun 23, 2024

  1. Configuration menu
    Copy the full SHA
    c55eed4 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    a04c628 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    f01280e View commit details
    Browse the repository at this point in the history
  4. feat: add PRNG-related methods to OpenBabel::OBRandom

    - UniformInt
    - UniformReal
    - Normal
    - Bernoulli
    e-kwsm committed Jun 23, 2024
    Configuration menu
    Copy the full SHA
    82c632b View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    29ca772 View commit details
    Browse the repository at this point in the history
  6. feat: implement OpenBabel::OBRandomMT as a wrapper of std::mt19937_64

    deprecates OpenBabel::OBRandom
    e-kwsm committed Jun 23, 2024
    Configuration menu
    Copy the full SHA
    d399153 View commit details
    Browse the repository at this point in the history
  7. refactor: improve method to generate 3-D random unit vector

    this is enabled if OB_USE_IMPROVED_RANDOM_UNIT_VECTOR, which defaults to
    whether OpenBabel 4 is released or not, is defined as truthy
    e-kwsm committed Jun 23, 2024
    Configuration menu
    Copy the full SHA
    4c24910 View commit details
    Browse the repository at this point in the history
  8. refactor: switch to OBRandomMT if OB_USE_OBRANDOMMT is defined as truthy

    the macro defaults to whether OpenBabel 4 is released or not
    e-kwsm committed Jun 23, 2024
    Configuration menu
    Copy the full SHA
    1162981 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    632eaa7 View commit details
    Browse the repository at this point in the history