FolksPotentialMatch

FolksPotentialMatch — Match calculator for pairs of individuals.

Types and Values

Description

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.

Functions

Types and Values

FOLKS_TYPE_POTENTIAL_MATCH

#define FOLKS_TYPE_POTENTIAL_MATCH (folks_potential_match_get_type ())

The type for FolksPotentialMatch.


struct FolksPotentialMatch

struct FolksPotentialMatch {
	GObject parent_instance;
	FolksPotentialMatchPrivate * priv;
};

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.

Members

FolksPotentialMatchPrivate *priv;

   

Since: 0.5.0


struct FolksPotentialMatchClass

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.

Members


enum FolksMatchResult

Likely-ness of a potential match.

Note that the order should be maintained.

Members

FOLKS_MATCH_RESULT_NONE

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.

 

FOLKS_MATCH_RESULT_VERY_LOW

Very low likelihood of a match.

 

FOLKS_MATCH_RESULT_LOW

Low likelihood of a match.

 

FOLKS_MATCH_RESULT_MEDIUM

Medium likelihood of a match.

 

FOLKS_MATCH_RESULT_HIGH

High likelihood of a match.

 

FOLKS_MATCH_RESULT_VERY_HIGH

Very high likelihood of a match.

 

FOLKS_MATCH_RESULT_MIN

Minimum likelihood of a match.

 

FOLKS_MATCH_RESULT_MAX

Maximum likelihood of a match.

 

Since: 0.5.0