Commands/cost

From TNT

Jump to: navigation, search

cost
Version: 1.1.
Menu path: to do.

COST

COSTS

   N = x>y z   Define transformation costs for character(s) N to be z from all 
               states in x to all states in y.  Can use square brackets to 
               enclose multiple states (e.g. [012]>3 is from either 0 or 1 or 
                2 to 3).  Using / instead of > defines costs as symmetrical. 
               The symbol ? means every possible state. 
   *;          save all costs. 
   -;          save costs, for active chars. only. 
   [;          save costs in TNT format (default) 
   ];          save costs in SPA format

Example: define a transformation cost of 3 for character 9 from states 0 and 1 to state 2.

costs 9 = [01]>2 3;
Personal tools