dot-blocks_parallel: Shared parallel block matching implementation

.blocks_parallelR Documentation

Shared parallel block matching implementation

Description

Core logic for both optimal (LAP) and greedy parallel block matching. Called by match_blocks_parallel() and greedy_blocks_parallel().

Usage

.blocks_parallel(
  blocks,
  left,
  right,
  left_ids,
  right_ids,
  block_col,
  vars,
  distance,
  weights,
  scale,
  max_distance,
  calipers,
  solver_fn,
  solver_params = list(),
  check_costs = FALSE,
  strict_no_pairs = FALSE,
  parallel = FALSE,
  replace = FALSE,
  ratio = 1L
)

Arguments

solver_fn

Solver function (assignment or greedy_matching)

solver_params

Named list of extra args passed to solver_fn

check_costs

If TRUE, passed through to .couples_single

strict_no_pairs

If TRUE, passed through to .couples_single

Value

List with combined results from all blocks


couplr documentation built on March 3, 2026, 5:08 p.m.