Commands/costs

From TNT

Jump to: navigation, search

COSTS
Version: 1.1.
Menu path: to do.

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 
    <;          don't allow using sankoff (saves small amount of memory) 
    >;          allow using it (=default)

Example: define transformation cost for character 11.

costs 11 = ?>3 2 *;
 Define a cost of 2 for a transformation from every possible state of character 11 
 to state 3, and save this cost.
Personal tools