Hello,
The truth is that I am not familiar with this code. I can hardly provide any justification about the result. I advice you to subscribe to the Moose mailing list (http://moosetechnology.org) Alexandre
--
_,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;: Alexandre Bergel http://www.bergel.eu ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;. _______________________________________________ Moose-dev mailing list [hidden email] https://www.iam.unibe.ch/mailman/listinfo/moose-dev |
Hi guy, If i remember, this algorithm check for each edge if there is a circuit. It returns for each edge the smallest circuit. It seems to have a bug somewhere, because in your result, the value (1,5) should appaers only one time, and the value (1,3,2) must be present. About the value (1,5,2,3), this algorithm will never return it because it is a bigger circuit. Cheers, Jannik 2014-11-27 22:23 GMT+01:00 Alexandre Bergel <[hidden email]>:
~~Jannik Laval~~ _______________________________________________ Moose-dev mailing list [hidden email] https://www.iam.unibe.ch/mailman/listinfo/moose-dev |
just to let you know, there is also this tool available for Pharo 4: http://www.baptistequide.fr/packagedependencies.php
It also uses the Tarjan algorithm Christophe. Le 28 nov. 2014 à 09:20, jannik laval a écrit :
_______________________________________________ Moose-dev mailing list [hidden email] https://www.iam.unibe.ch/mailman/listinfo/moose-dev smime.p7s (5K) Download Attachment |
Hello,
Thank you for your answers. Good to know, I’m using it for the same scope, I can compare with my tool. I missed a value it’s not 1-5 but 1-5-2. Still I don’t get want do you mean with smallest circuit, and what is the purpose to return the smallest one? Considering the node 1 it returns the circuit 1-5 but also 1-5-2. Cheers, Bledar.
_______________________________________________ Moose-dev mailing list [hidden email] https://www.iam.unibe.ch/mailman/listinfo/moose-dev |
Hi,
2014-11-28 11:52 GMT+01:00 Bledar Aga <[hidden email]>:
Ok, if it is 1-5-2, the algorithm is ok. As I explained, the algorithm is not based on nodes, but on edges. It means that for the edge 1-5, it find the circuit 1-5. For the edge 2-1, it find the circuit 1-5-2. This is why it return both. But, for the edge 2-1, it could return 1-3-2 too. The algorithm returns only one value, the first value it find. Jannik
~~Jannik Laval~~ _______________________________________________ Moose-dev mailing list [hidden email] https://www.iam.unibe.ch/mailman/listinfo/moose-dev |
Hi,
Good explanation. Thank you very much. Cheers, Bledar.
_______________________________________________ Moose-dev mailing list [hidden email] https://www.iam.unibe.ch/mailman/listinfo/moose-dev |
Free forum by Nabble | Edit this page |