Explaining the Python code
The code in iSAXjoin.py
is going to be presented in five parts.
The first part is the following:
from isax import variables from isax import tools def Join(iSAX1, iSAX2): # Begin with the children of the root node. # That it, the nodes with SAX words # with a Cardinality of 1. for t1 in iSAX1.children: k1 = iSAX1.children[t1] if k1 == None: continue for t2 in iSAX2.children: k2 = iSAX2.children[t2] if k2 == None: ...