[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [igraph] Memory management issue
From: |
Gabor Csardi |
Subject: |
Re: [igraph] Memory management issue |
Date: |
Tue, 21 Nov 2006 02:17:37 -0500 |
User-agent: |
Mutt/1.5.11 |
Oops, i forgot to send you the corrected algorithm, so here it is.
Some version of it will be in the next igraph release.
Gabor
On Tue, Nov 21, 2006 at 12:36:37AM -0500, Gabor Csardi wrote:
> Ok, the memory problem is because igraph_delete_vertices allocates more
> memory for the new than neccesary. I've rewritten it, the version in the
> development tree is good. If you need it right away then you can try to
> switch igraph_delete_vertices() in file src/type_indexededgelist.c with the
> one attached. I'm not sure that it works as there were some changes in the
> development version since the last release.
>
> Gabor
>
> On Mon, Nov 20, 2006 at 09:53:38PM -0500, Gabor Csardi wrote:
> > Vincent,
> >
> > there is a problem with the algorithm, since it does not produce the correct
> > results, i've tried it for trees, see the attached file, if you run that it
> > is clear that something is wrong. Just draw the tree in the example and
> > you'll see. But it is possible to correct it, easily.
> >
> > Gabor
> >
>
> --
> Csardi Gabor <address@hidden> MTA RMKI, ELTE TTK
--
Csardi Gabor <address@hidden> MTA RMKI, ELTE TTK
neighborhood.c
Description: Text Data
- [igraph] Memory management issue, Vincent Matossian, 2006/11/20
- Re: [igraph] Memory management issue, Gabor Csardi, 2006/11/20
- Re: [igraph] Memory management issue, Vincent Matossian, 2006/11/20
- Re: [igraph] Memory management issue, Gabor Csardi, 2006/11/20
- Re: [igraph] Memory management issue, Gabor Csardi, 2006/11/21
- Re: [igraph] Memory management issue,
Gabor Csardi <=
- Re: [igraph] Memory management issue, Vincent Matossian, 2006/11/21
- Re: [igraph] Memory management issue, Gabor Csardi, 2006/11/21
- Re: [igraph] Memory management issue, Gabor Csardi, 2006/11/21