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


4. 21
   y& gets the fuzzy-elements intersection

 

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 stack

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

●  Operator y& gets the fuzzy-elements intersection

Use the operator y& or its equivalent y*& to get the intersection between datasets based on their elements (that are fuzzy matched). The operator y& is equivalent to y*&. Refer to <<>>.

 

y& EXAMPLE
The following example shows how to get the fuzzy intersection 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 intersetion 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 intersetion between a2 a3 by fuzzy matching their elements)

⑤  aspl> uns
    (print the partition 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 intersection 
y&`c=  gets the fuzzy-elements intersection such that they have the same checksum 
y&`c~  gets the fuzzy-elements intersection such that they have different checksums 
y&`c~~  gets the fuzzy-elements intersection such that they have all over different checksums 
y&`h=  gets the fuzzy-elements intersection such that they have the same entropy 
y&`h~  gets the fuzzy-elements intersection such that they have different entropies 
y&`h~~  gets the fuzzy-elements intersection such that they have all over different entropies 
y&`mtm=  gets the fuzzy-elements intersection such that they have the same make time 
y&`mtm~  gets the fuzzy-elements intersection such that they have different make times 
y&`mtm~~  gets the fuzzy-elements intersection such that they have all over different make times 
y&`mtm<  gets the fuzzy-elements intersection such that they have a prior make time 
y&`mtm<=  gets the fuzzy-elements intersection such that they have prior or same make time 
y&`mtm>  gets the fuzzy-elements intersection such that they have more recent make time 
y&`mtm>=  gets the fuzzy-elements intersection such that they have more recent or same make time 
y&`ks=  gets the fuzzy-elements intersection such that they have the same ksum 
y&`ks~  gets the fuzzy-elements intersection such that they have different ksums 
y&`ks~~  gets the fuzzy-elements intersection such that they have all over different ksums 
(C)2024 ASPL Inc.