Class BoxGSAAnnealingFunction

    • Constructor Detail

      • BoxGSAAnnealingFunction

        public BoxGSAAnnealingFunction​(Vector lower,
                                       Vector upper,
                                       double qv,
                                       RandomLongGenerator uniform)
        Constructs a boxed annealing function.
        Parameters:
        lower - lower bounds
        upper - upper bounds
        qv - a visiting parameter
        uniform - a random long generator
    • Method Detail

      • nextProposal

        public Vector nextProposal​(Vector currentState,
                                   double temperature)
        Description copied from interface: AnnealingFunction
        Gets the next proposal, given the current state and the temperature.
        Specified by:
        nextProposal in interface AnnealingFunction
        Parameters:
        currentState - the current state of the system
        temperature - the current temperature of the system
        Returns:
        the next proposal