Boost logo

Boost Users :

Subject: Re: [Boost-users] Trouble w/ fruchterman-reingold
From: Jeremiah Willcock (jewillco_at_[hidden])
Date: 2012-10-03 17:09:28


On Wed, 3 Oct 2012, eric wrote:

> I'm seeing a weird problem in fruchterman_reingold.hpp that after the
> displacements are calculated for every vertex, it gets down to the loop
> where it updates the positions (starting on line 327), and all the
> displacements are (0,0) by that point (they had been sensible values up in
> the calculation loop). Any idea what I could be doing to cause that? Here
> is my code:

What is the "point" type defined as? Also, if you print out the positions
in each iteration, do you have any vertices in the same position, out of
your defined range, or anything else unusual?

-- Jeremiah Willcock


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net