Top |
This provides functionality to explore the degree of a potential match between two individuals. It compares the similarity of the individuals' properties to determine how likely it is that the individuals represent the same physical person.
This can be used by folks clients to, for example, present suggestions of pairs of individuals which should be linked by the user.
#define FOLKS_TYPE_POTENTIAL_MATCH (folks_potential_match_get_type ())
The type for FolksPotentialMatch.
FolksMatchResult folks_potential_match_potential_match (FolksPotentialMatch *self
,FolksIndividual *a
,FolksIndividual *b
);
Whether two individuals are likely to be the same person.
self |
the FolksPotentialMatch instance |
|
a |
. an individual to compare . |
[in] |
b |
. another individual to compare . |
[in] |
Since 0.5.0
FolksPotentialMatch *
folks_potential_match_new (void
);
Create a new PotentialMatch.
Since 0.5.0
struct FolksPotentialMatch;
Match calculator for pairs of individuals.
This provides functionality to explore the degree of a potential match between two individuals. It compares the similarity of the individuals' properties to determine how likely it is that the individuals represent the same physical person.
This can be used by folks clients to, for example, present suggestions of pairs of individuals which should be linked by the user.
Since 0.5.0
struct FolksPotentialMatchClass { GObjectClass parent_class; };
The class structure for FOLKS_TYPE_POTENTIAL_MATCH
. All the fields in this structure are private and should never be accessed directly.
Likely-ness of a potential match.
Note that the order should be maintained.
Zero likelihood of a match. This is used in situations where two individuals should never be linked, such as when one of them has a "trust-level" of FOLKS_TRUST_LEVEL_NONE, or when the individuals are explicitly anti-linked. |
||
Very low likelihood of a match. |
||
Low likelihood of a match. |
||
Medium likelihood of a match. |
||
High likelihood of a match. |
||
Very high likelihood of a match. |
||
Minimum likelihood of a match. |
||
Maximum likelihood of a match. |
Since 0.5.0