calcTstart: Calculate Start Temp for simulated annealing

Description Usage Arguments

View source: R/calcTstart.R

Description

The goal of this function is to determine the appropriate starting temp so that the 'average' swap has a targetProb chance of being accepted. Obtained by simulating nswaps swaps and then calculating the temperature using σ / ln(targetProb) = Tstart

Usage

1
calcTstart(object, nswaps, targetProb)

Arguments

object

The trModel object

nswaps

How many random energies/swaps should be calculated.

targetProb

The target probability desired for setting the initial temperature. Tstart calculated as σ / ln(targetProb)


ColeWunderlich/trSim documentation built on May 5, 2019, 12:28 p.m.