Skip to main content

approximate_match

Function approximate_match 

Source
pub fn approximate_match(
    pattern: &[FuzzyTriple],
    data: &[FuzzyTriple],
    n_pattern_nodes: usize,
    n_data_nodes: usize,
    restarts: usize,
    seed: u64,
) -> Option<MatchResult>
Expand description

Find the best correspondence of n_pattern_nodes pattern nodes onto n_data_nodes data nodes by restarts hill-climbing runs from random seeds. Returns the highest-scoring mapping. None on a degenerate problem.