Interface TemperedAcceptanceProbabilityFunction

    • Method Detail

      • acceptanceProbability

        double acceptanceProbability​(Vector currentState,
                                     double energyCurrent,
                                     Vector proposedState,
                                     double energyProposed,
                                     double temperature)
        Computes the probability that the next state transition will be accepted.
        Parameters:
        currentState - the current state of the system
        energyCurrent - the energy in the current state
        proposedState - the proposed next state of the system
        energyProposed - the energy in the proposed state
        temperature - the current temperature
        Returns:
        the acceptance probability