= mm-space
== DESCRIPTION:
MM::Space is a framework for working with Morphological Metrics and
Morphological Mutations in Ruby. A core component of MM::Space is that it has a
notion of global distance throughout a series of measurements or
transformations. This is what "Space" implies. It uses coworker libraries
MM::Metric and MM::Mutation to drive these measurements and transformations.
== FEATURES/PROBLEMS:
- Nothing is implemented. (Does this qualify as a "FEATURE" or a "PROBLEM"? We
will never know.)
== SYNOPSIS:
See bin/mm_space for a full example implementation (with comments)
x = MM::Metric.olm intra_delta: :tenney, inter_delta: :abs
y = MM::Metric.olm intra_delta: :ratio, inter_delta: :abs
space = Space.new [x, y]
distances = [[0.1, -0.1], [0.2, -0.2], [0.3, -0.3]]
start = %w(1/1 5/4 3/2 8/7 9/8).map {|x| MM::Ratio.from_s(x)}
space.enter do |s|
morph start, to: distances.each
morph start, to: distances.each, threads: 4
# Change some parameter of the space
s.lowest = start.map {|x| MM::Ratio.from_s("8/1")}
# Etc. etc...
end
== REQUIREMENTS:
== INSTALL:
- Will fix when I get this all implemented
== DEVELOPERS:
After checking out the source, run:
$ rake newb
This task will install any missing dependencies, run the tests/specs,
and generate the RDoc.
== LICENSE:
(The MIT License)
Copyright (c) 2014 FIX
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
'Software'), to deal in the Software without restriction, including
without limitation the rights to use, copy, modify, merge, publish,
distribute, sublicense, and/or sell copies of the Software, and to
permit persons to whom the Software is furnished to do so, subject to
the following conditions:
The above copyright notice and this permission notice shall be
included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND,
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
TORT OR OTHERWISE, ARISING FROM, OUT OF OR