Linkage Function: solving tie breaks?

Greetings I was wondering how the linkage.m function solves the tie-breaks in order to provide an unique solution. I was checking the code of the function and couldn't find the tie-break decision part.
Thanks in Advance.

回答(1 个)

Sean de Wolski
Sean de Wolski 2012-6-5
You could add a breakpoint to linkage and run it with a scenario that causes a tie and step through it.

2 个评论

Dear Sean
Thanks for the suggestion.
The linkage function is now mex compiled therefore I wouldn't be able to use that strategy. The old version is still there and I'm still struggling to find how the tie-break is computed there but there is no assurance if they use the same tie break for the compiled one.
Best regards
JAC
Doh!
The engine is in mex, I missed that on my quick scan.

请先登录,再进行评论。

类别

在 帮助中心 和 File Exchange 中查找有关 Loops and Conditional Statements 的更多信息

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by