From 655b1a186f2ccf76ba995b59d4ca4b7d08ef5bcf Mon Sep 17 00:00:00 2001 From: "N.N." Date: Fri, 6 Jan 2006 20:19:28 +0000 Subject: . svn path=/trunk/abstractions/pureunity/; revision=4365 --- README | 28 ++++++++++++++++++++++++++-- 1 file changed, 26 insertions(+), 2 deletions(-) (limited to 'README') diff --git a/README b/README index 074c401..37c7639 100644 --- a/README +++ b/README @@ -1,4 +1,4 @@ -$Id: README,v 1.7 2006-01-04 02:59:22 matju Exp $ +$Id: README,v 1.8 2006-01-06 20:19:28 matju Exp $ PureUnity @@ -225,7 +225,7 @@ those other operators are faithful to an algebraic property. [commutator $type $class] (2 inlets) ab-ba [associator $type $class] (2 inlets) (ab)c-a(bc) -[distributor $type $class1 $class2] (3 inlets) a(b+c)-(ab+ac) +[distributor $type $class1 $class2] (3 inlets) a&(b^c)-(a&b^a&c) [invertor $type $class1 $class2] (2 inlets) ab/b-a +-+-+--+---+-----+--------+-------------+---------------------+ @@ -235,6 +235,30 @@ For each class, a test file's name is the class name followed by "-test.pd", and a rule file's name is the class name followed by "-rule.pd", in the same way as it is for help files. +for a class called $foo, the protocol (aka interface aka rule) $foo is the +set of behaviours expected from the $foo class; the class called $foo-rule +must repect the $foo protocol as well, plus it should test that the inputs +are valid, and if they are, it should test for one or several results and +report any errors. + +(((To report errors and inaccuracies, output them through the properties outlet at the right. If there is no +properties outlet in $foo (curently almost nothing in Pd has one), +then $foo-rule must have one more outlet than $foo.))) + +(((Float messages coming out of the properties outlet of $foo-rule report +accuracy. Named error messages come out with selector "error" followed by +an error-symbol and then its arguments.))) + +(((In the case of true/false logic, a value of 0 means that a test has passed +and a 1 means that a test has failed. Those values represent failure and not +success. The reason is so that it matches with accuracy levels, where 0 is +perfectly accurate, but any inaccuracy shows up as a relative error fraction. +Any finite nonnegative value is allowed for accuracy, because it is expected +to be the result of a norm))). + +(((In standard math, "Discrete Metric" is when there are only two possible +distances between objects: together=0 and apart=1))) + +-+-+--+---+-----+--------+-------------+---------------------+ ETC -- cgit v1.2.1