Joana Plewnia
authored
Added a SimilarityFilter on EntitySnapshot-foundation. Calculates the similarity as absolute distance between all float-values of the snapshot.
Also added to the configure-method in the Processors-class that reads a JSON-file to configure the used (WM->LTM)-filter:
The filters are now only added to the list of filters if they will be used, this makes it so not all filters have to be checked for enabled/not enabled each time a snapshot/memory is moved to the LTM.
JSON-file path is still absolute and only usable on my PC for now.
Signed-off-by:
Joana Plewnia <uhfpm@student.kit.edu>