| Trees | Indices | Help |
|
|---|
|
|
object --+
|
base.semantics.distance.DistanceMetric --+
|
base.semantics.distance.FScoreMetric --+
|
TonalSpaceEditDistance
Original tonal space distance metric computed as the edit distance of the step vectors and functions of the path through the tonal space implied by the semantics.
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
Inherited from Inherited from |
|||
|
|||
OPTIONS = [ModuleOption('output', filter= choose_from_list(['f
|
|||
name =
|
|||
|
|||
|
identifier A human-readable identifier for the metric represented by this instance. |
|||
|
Inherited from |
|||
|
|||
Subclasses must provide this. It should return a tuple. The first three values must be floats: score given to the matching between the two inputs; max score that could be given to the first; max score for the second. There may be more values in the tuple.
|
A human-readable identifier for the metric represented by this instance.
|
Compares the two semantics instances and returns a float distance between them.
|
Shows the optimal alignment of the paths that the score comes from. See Also: jazzparser.formalisms.music_halfspan.semantics.distance.DistanceMetric.print_computation |
Handle the 'dist' output specially (just sum up distances). |
Format a distance value (as returned from distance or total_distance) as a string suitable for human-readable output.
|
|
|||
OPTIONS
|
|
|||
identifierA human-readable identifier for the metric represented by this instance.
|
| Trees | Indices | Help |
|
|---|
| Generated by Epydoc 3.0.1 on Mon Nov 26 16:04:57 2012 | http://epydoc.sourceforge.net |