anneal: uphill search on fucntion

Description Usage Arguments Author(s) Examples

View source: R/anneal.R

Description

General anneal function, where we conduct a uphill search on the function to find maximum

Usage

1
  anneal(f, mu, n = 1000, sig = 1, tt = 10, g = 0.999)

Arguments

f

function to find the maximum

mu

starting point

n

number of iterations

sig

size of steps

tt

temperature

g

rate of temperature

Author(s)

Ernest Chan faiernest418@gmail.com

Examples

1
anneal(onedfunction, 2, 100, 1, 10, .99)

JackStat/CompPack documentation built on May 7, 2019, 10:16 a.m.