Skip to content

Initial tsls engine - #3

Merged
jeromekelleher merged 1 commit into
tskit-dev:mainfrom
jeromekelleher:initial-tsls-engine
Oct 16, 2026
Merged

jeromekelleher merged 1 commit into
tskit-dev:mainfrom
jeromekelleher:initial-tsls-engine

Conversation

@jeromekelleher

Copy link
Copy Markdown
Member

No description provided.

A single Li and Stephens HMM engine based on the tsinfer matcher. Every
node in the tree at a position is a state (isolated nodes cannot be
copied), any topology is supported, and the engine provides the
Viterbi algorithm (with tsinfer's find_path interface) and the forward
and backward algorithms, returning compressed matrices. It uses
tsinfer's compression, likelihood threshold and weight_by_n, and
supports multiple mutations per site.

The tests compare against a dense implementation on small hand-built
examples.

Add tsls engine to the benchmarks
@jeromekelleher
jeromekelleher merged commit 0d001d8 into tskit-dev:main Oct 16, 2026
11 of 15 checks passed
@jeromekelleher
jeromekelleher deleted the initial-tsls-engine branch October 16, 2026 13:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant