Linkage Function: solving tie breaks?

6 visualizzazioni (ultimi 30 giorni)
João Carriço
João Carriço il 5 Giu 2012
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.

Risposte (1)

Sean de Wolski
Sean de Wolski il 5 Giu 2012
You could add a breakpoint to linkage and run it with a scenario that causes a tie and step through it.
  2 Commenti
João Carriço
João Carriço il 5 Giu 2012
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
Sean de Wolski
Sean de Wolski il 5 Giu 2012
Doh!
The engine is in mex, I missed that on my quick scan.

Accedi per commentare.

Categorie

Scopri di più su Loops and Conditional Statements in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by