[ 
https://issues.apache.org/jira/browse/SANDBOX-348?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Thomas Neidhart updated SANDBOX-348:
------------------------------------

    Attachment: BoruvkaTestCase2.java
                DefaultSpanningTreeAlgorithmSelector.java

Hi Simone,

I took the time and updated my attempt on Boruvka's algorithm, and you can find 
it in attachment together with a quite simple performance test case.

It is based on the SuperVertex idea, and can be further improved by updating 
the edge list for each SuperVertex instead of re-calculating it each time.

The files are provided as is, please take a look at it and if you find it 
useful, I can create a proper patch.

Thomas
                
> Implement the Boruvka's algorithm
> ---------------------------------
>
>                 Key: SANDBOX-348
>                 URL: https://issues.apache.org/jira/browse/SANDBOX-348
>             Project: Commons Sandbox
>          Issue Type: Sub-task
>          Components: Graph
>            Reporter: Simone Tripodi
>            Assignee: Simone Tripodi
>         Attachments: BoruvkaTestCase2.java, 
> DefaultSpanningTreeAlgorithmSelector.java, 
> SANDBOX-348-ConnectivityAlgo.patch, 
> SANDBOX-348_Boruvka_algorithm_implementation.patch
>
>
> The class {{org.apache.commons.graph.spanning.Boruvka}} contains an empty 
> implementation of 
> [Boruvka|http://en.wikipedia.org/wiki/Bor%C5%AFvka's_algorithm]'s algorithm, 
> that needs to be filled.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to