ASPL Guide to Operations v 1.00
© 2024 by SetSphere.COM


6. 4
   y\ gets the fuzzy-elements difference

 

logo

y\ a1 a2 [a3 .. aN]       where a1 a2 [a3 .. aN] are set variables

y\`mtm~ a1 a2 [a3 .. aN]

y\/mtm~ a1 a2 [a3 .. aN]

y\

When specified by itself then the operation is performed on the object on top of the stack and the one that is one below it, then the result is pushed on the unswer stack

tsetop  asetoid  2**  notcommu        ins:H_H_H  ous:H_H_AH

●  Operator y*\ gets the fuzzy-elements difference

Use the operator y\ or its equivalent y*\ to get the difference between datasets based on their elements (being fuzzy matched). The operator y\ is equivalent to y*\. Refer to <<>>.

 

y*\ EXAMPLE
The following example shows how to get the fuzzy difference between two datasets representing files in directories on the UNIX system.

 

y*\ OPERATION

aspl WS1
    (start ASPL loading the sample workspace WS1 )

①  aspl> y\ a2 a3
    (print the difference between a2 a3 by fuzzy matching their elements)

②  aspl> fuzzy
    (display the fuzzy degree)

③  aspl> fuzzy 2
    (set fuzzy degree to 2)

④  aspl> y\ a2 a3
    (print the difference between a2 a3 by fuzzy matching their elements)

⑤  aspl> uns
    (print the unswer stack)

 

● Tickable Predicates for y*\

This y\ is tickable with predicates that are shown in the following table:

       a yellow note
y\`_  gets the fuzzy-elements difference 
y\`c=  gets the fuzzy-elements difference such that they have the same checksum 
y\`c~  gets the fuzzy-elements difference such that they have different checksums 
y\`c~~  gets the fuzzy-elements difference such that they have all over different checksums 
y\`h=  gets the fuzzy-elements difference such that they have the same entropy 
y\`h~  gets the fuzzy-elements difference such that they have different entropies 
y\`h~~  gets the fuzzy-elements difference such that they have all over different entropies 
y\`mtm=  gets the fuzzy-elements difference such that they have the same make time 
y\`mtm~  gets the fuzzy-elements difference such that they have different make times 
y\`mtm~~  gets the fuzzy-elements difference such that they have all over different make times 
y\`ks=  gets the fuzzy-elements difference such that they have the same ksum 
y\`ks~  gets the fuzzy-elements difference such that they have different ksums 
y\`ks~~  gets the fuzzy-elements difference such that they have all over different ksums 
(C)2024 ASPL Inc.