JODA
0.13.1 (59b41972)
JSON On-Demand Analysis
|
#include <PathJaccard.h>
Public Member Functions | |
double | measure (const RJDocument &lhs, const RJDocument &rhs) override |
Static Public Member Functions | |
static double | measure (const similarityRepresentation< PathJaccard >::Representation &lhs, const similarityRepresentation< PathJaccard >::Representation &rhs) |
Uses the Jaccard coefficient of two sets of all unique JSON pointers(/paths) contained within two documents to calculate their similarity.
|
overridevirtual |
Measures the similarity between two RJDocuments.
lhs | First document to compare |
rhs | Second document to compare |
Implements IJSONSimilarityMeasure.
|
static |