assignment.Associate
class Associate:Materialise a :class:`~unitrack.data.CostExpression` and run an :class:`Assignment`.
Acts as the bridge between cost-construction (gates, fused costs) and
hard matching. For :class:`~unitrack.assignment.SoftAssignment` backends
the Sinkhorn log-plan is solved once and reused both for hard extraction and for
downstream :class:`~unitrack.states.SoftReplace` blending.
Parameters
| Name | Type | Description |
|---|---|---|
| assignment | Assignment | Backend that produces a hard match from a materialised cost matrix. |
Members
property
Source: unitrack/assignment/associate.py:22