DISTANCE

[GENERIC-FUNCTION]


Morphologie
Function Reference
ARGUMENTS:
  - seq1 [default = (morph::a morph::b morph::c morph::d morph::e)]
  - seq2 [default = (morph::a morph::b morph::c morph::d morph::e)]
  - change [default = 1]
  - ins/sup [default = 1]
  - scale [default = 1]
&optional
 
  - inex  

Description:

Returns the smallest distance between two lists of symbols seq1 and seq2
Args :
change = cost when changing a symbol in a list without deletion or insertion
ins/sup = cost for a deletion or insertion
inex = added cost if the change is applied on an element which doesn't exist on
the other list
&optional = scale of the distance, absolute or relative.
The relative distance is expressed in percent of the longer list



Auto doc generation by OpenMusic 6.3 © 2010 IRCAM