[GRASS5] dalloc.c, svd.c ?? linked list code ??

David D Gray ddgray at armadce.demon.co.uk
Sun Feb 24 21:09:12 EST 2002


Eric G. Miller wrote:

> On Sun, Feb 24, 2002 at 10:24:49PM +0000, David D Gray wrote:
> [...]
>>
>>Eric
>>
>>I am preparing a graph -like thing, as part of the import filter, and 
>>maybe for other purposes. It is doubly linked so would do for a 
>>doubl-linked list, by just using n_vertices = 2. It doesn't have any 
>>functions other than the linking, but other things could be added. There 
>>is already an example in v.in.shape/mif, but it's sort of hard-wired 
>>into these functions so not much use for general-purpose.
>>
> 
> A graph is a bit different from a run of the mill linked list.  I think
> it'd be useful to have both.  
> 
> 


Yes. It would be useful to build up a full set of standard containers in C.

David








More information about the grass-dev mailing list