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.

Answers (1)

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

2 Comments

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.

Sign in to comment.

Categories

Find more on Loops and Conditional Statements in Help Center and File Exchange

Asked:

on 5 Jun 2012

Community Treasure Hunt

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

Start Hunting!