Hopcroft-Tarjan Planarity Algorithm (problem with edge weighting?)
- From: "Kakihara" <nikholaz@xxxxxxxxxxxxxx>
- Date: 19 Oct 2006 07:24:03 -0700
Perhaps I'm too tired but is there a problem with the edge weighting
scheme in this algorithim? Consider the following graph:
__________________
| |
1___2_______3_____4
|\ |
| \________5
| |
|_________6
formula for weight (phi) of edge vw:
if frond (i.e. w<v) phi = 2 * w
otherwise if LOWPT2 = v phi = 2 * LOWPT1
otherwise if LOWPT2 < v phi = 2 * LOWPT1 + 1
so the edges have the following weights:
phi = 2 (1,2) (2,3) (3,4) (4,1)
phi = 4 (3,5) (5,2) (5,6) (6,2)
The first path (the cycle) is obviously 1,2,3,4,1
But how about the second and third paths? 3,5,2 then 5,6,2 or 3,5,6,2
then 5,2 ?
.
- Prev by Date: Hopcroft-Tarjan Planarity Algorithm (problem with edge weighting?)
- Next by Date: Re: Growth Rate of Level-k Goodstein Function
- Previous by thread: Hopcroft-Tarjan Planarity Algorithm (problem with edge weighting?)
- Index(es):
Relevant Pages
|