Commands/ratchet

From TNT

Jump to: navigation, search

ratchet
Version: 1.1.
Menu path: to do.

ratchet
   Ratchet, from trees in memory.  Options are:  
      iter N           number of iterations 
      [no]equal        periodic rounds with original weights [not] 
      numsubs N        number of replacements (i.e. accepted tree 
                       rearrangements) to do in perturbation phase 
      upfactor N       probability of upweighting a character 
      downfact N       same, for downweighting 
      [no]autoconst N  number of auto-constrained cycles 
      [no]giveup N     percentage of full swap to complete during perturbation 
      findscore N      if score N or better found, stop 
      [no]fuse NxR     every N iterations, do R rounds of fusing to the N 
                       trees 
      [no]dumpfuse     if fusing fails to produce a better tree, [don't] 
                       dump all the suboptimal trees 
      [no]tradrat      [don't] run the original ratchet (i.e. noequal, 
                       during perturbation swap to completion and don't 
                       accept equally good rearrangements). 
   Options are set with "ratchet:[options];" or "ratchet=[options];" 
   (first case changes settings only, second case runs as well). With 
   "ratchet:;" current settings are displayed

Example: Set ratchet to 200 iterations with 12 replacements and a probability of upweighting a character of 20% and run it.

ratchet=iter 200 numsubs 12 upfactor 20;
Personal tools