edu.mit.util.stats
Class Annealer
java.lang.Object
edu.mit.util.stats.Annealer
public class Annealer
- extends Object
Constructor Summary |
Annealer(double burnin_duration,
double cooling_duration,
double max_burnin,
int num_its)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Annealer
public Annealer(double burnin_duration,
double cooling_duration,
double max_burnin,
int num_its)
reset
public void reset()
anneal
public double anneal(double prob)
- calls the annealer, adds one tick
getHalfProbAnnealed
public double getHalfProbAnnealed()
- returns f(.5) given the current temp.
seems more useful than the temperature
annealWithoutUpdate
public double annealWithoutUpdate(double prob)
update
public void update()
Copyright © 2008 MIT. All Rights Reserved.