ASPL Manual v 1.00
© 2024 by SetSphere.COM
9. 6yD gets the fuzzy-elements symmetric difference
yD a1 a2 [a3 .. aN] where a1 a2 [a3 .. aN] are set variables
yD`mtm~ a1 a2 [a3 .. aN]
yD/mtm~ a1 a2 [a3 .. aN]
yD
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 partition stack
tsetop asetoid 2** notcommu ins:H_H_H ous:H_H_AH
Use the operator yD or its equivalent y*D to get the symmetric difference of datasets based on fuzzy matching of their elements.
yD EXAMPLEIn this example we will compare the files in two directories using the symmetric difference by fuzzy matching their file names (or their elements).
yD OPERATION# aspl WS1
(start ASPL loading the sample workspace WS1 )
① aspl>
yD a1 a2
(show the symmetric difference of the datasets in a1 and a2 by fuzzy matching their elements)
The yD is the same as y*D
② aspl>
y*D a1 a2
(show the symmetric difference of the datasets in a1 and a2 by fuzzy matching their elements)
③ aspl>
yD`mtm~ a1 a2
(show the symmetric difference of the datasets in a1 and a2 by fuzzy matching their elements whose mtimes are different)
● Tickable Predicates for yD
This yD is tickable with predicates that are shown in the following table:
a yellow note
yD`_ gets the fuzzy-elements symmetric difference yD`c= gets the fuzzy-elements symmetric difference such that they have the same checksum yD`c~ gets the fuzzy-elements symmetric difference such that they have different checksums yD`c~~ gets the fuzzy-elements symmetric difference such that they have all over different checksums yD`h= gets the fuzzy-elements symmetric difference such that they have the same entropy yD`h~ gets the fuzzy-elements symmetric difference such that they have different entropies yD`h~~ gets the fuzzy-elements symmetric difference such that they have all over different entropies yD`mtm= gets the fuzzy-elements symmetric difference such that they have the same make time yD`mtm~ gets the fuzzy-elements symmetric difference such that they have different make times yD`mtm~~ gets the fuzzy-elements symmetric difference such that they have all over different make times yD`ks= gets the fuzzy-elements symmetric difference such that they have the same ksum yD`ks~ gets the fuzzy-elements symmetric difference such that they have different ksums yD`ks~~ gets the fuzzy-elements symmetric difference such that they have all over different ksums