Linkage Function: solving tie breaks?

6 visualizaciones (últimos 30 días)
João Carriço
João Carriço el 5 de Jun. de 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.

Respuestas (1)

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

Iniciar sesión para comentar.

Categorías

Más información sobre Loops and Conditional Statements en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by