Greedy auto-connect from lobe outputs to preset actuators using Jaccard similarity on semantic tags. More...
| Header: | #include <AutoConnect> |
| Since: | Phase 5 |
Algorithm (matches the spec, 04-stanzas.md ยง Auto-Connect): 1. Collect lobe-output ports (name + tags). 2. Collect actuators (name + tags). 3. Score each (output, actuator) pair via Jaccard on tag sets. 4. Sort all pairs by descending score. 5. Greedily assign: take the highest-scoring unassigned pair, mark both ports as assigned, repeat until no pairs remain. 6. Pairs with score == 0 are dropped (no semantic match at all).
The user reviews/adjusts the resulting mapping in the pose-mapping UI.