Skip to content

C API for the DeGroot iteration - #57

Open
HaoZeke wants to merge 1 commit into
mainfrom
feat/capi-degroot
Open

HaoZeke wants to merge 1 commit into
mainfrom
feat/capi-degroot

Conversation

@HaoZeke

@HaoZeke HaoZeke commented Sep 11, 2026

Copy link
Copy Markdown
Member

Summary

seldon_degroot_settle is the same sweep as DeGrootModel::iteration.
A seat crate can call it without linking the whole engine.

Header: include/seldon_capi.h. Source: src/capi.cpp. Test: Test_CAPI.

Two-agent symmetric weights meet at 0.5.

Testing

Standalone driver on the C API (Catch2 not present on that host): 25 rounds, opinions 0.5 / 0.5.

seldon_degroot_settle is the same sweep as DeGrootModel::iteration
so a seat crate can call it without linking the whole engine.
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