Simulated annealing of transition path between two states by Monte Carlo.

<p>
Usage: <tt>annealspec = [ <i>rmax T0 &lambda; alg</i> ] annealpath </tt>

<p>
<tt><i>rmax</i></tt> is the maximum allowed distance between neighboring states during the
Monte Carlo (annealing) simulation.
<br>
<tt><i>T0</i></tt> is the initial temperature of the simulation.
<br>
<tt><i>&lambda;</i></tt> is the annealing rate.  The actual temperature during the simulation
is computed by <tt>T = <i>T0</i> * exp(-<i>&lambda;</i> * curstep / totalsteps)</tt>.
<br>
<tt><i>alg</i></tt> specifies which energy function is used to compute the acceptance
probability of the Monte Carlo simulation.  <tt><i>alg</i> = 0</tt> means using the maximum 
potential energy along the path; <tt><i>alg</i> = 1</tt> means using the sum of 
<tt>max(Ec[j]-Ec[j-1],0)</tt>, where <tt>j</tt> is the index along the path; 
<tt><i>alg</i> = 2</tt> means using the sum of all potential energies along the path.

<p>
Example: <tt>MD++/scripts/CSD-book/chap7/sect7.4/si-kink-pathmc.script</tt>

<p>
For details, see <a href="http://micro.stanford.edu/~caiwei/CSD-Book/">Computer Simulations
of Dislocations</a>, Chapter 7, Section 7.4.

<p>
Also see <tt>runTAMC</tt>.


