[algogeeks] Re: Implementation of Dijkstra and other shortest path problems.

2007-07-21 Thread Yingjie Xu
Implements yourself please. On 7/21/07, TheTravellingSalesman [EMAIL PROTECTED] wrote: I'm using Java programming language and I'm trying to implement the shortest path algorithm. One thing I'm struggling with is how do I represent nodes and edges in Java. Don't know of too many Java

[algogeeks] Re: A Hard proof but makes intuitive sense

2007-07-21 Thread hongcheng zhu
Assume existing two different spanning trees, say Ta and Tb. Let Ea={edges of Ta} Eb={edges of Tb} Let Eab={ edges that belongs to either of Ea and Eb but not both }. Eab is not empty, because Ta and Tb are different. Let e be the maximum weighted edge in Eab. Assume e belongs to Ea (Eb in