Re: [guppi-list] categorical data in Goose



> To try to sort things out, I decided to implement a container for a
> completely different type of beast, categorical data.  This code is
> largely untested... but at least it compiles, and it shouldn't be
> *too* broken.
> 
> The new code is in src/Category.{cpp,h} and src/CategoricalData.{cpp,h}.
> I've also written a pseudo-tutorial type of thing on the scheme, which
> is in doc/categories.txt.
> 
> Comments are welcome.  I leave the problem of how to integrate this
> with the ASCII import stuff as an exercise for the reader. :-)

Two quick questions:  

1) Is there any good reason why the categorical type should not be dynamic? 
I.e. why should it not be allowed to change it dynamically?  Specifically, when
I discover that I need to have Copenhagen in the list of big cities, is there
any good reason that this should be disallowed?  Similarly, I want to be able
to delete London.

2) Would there be any foreseeable problem with deriving it from the DataType
abstract base?

Regarding the GooseSet:  Last week, I did some work on this myself, but I
haven't committed it to the cvs yet.  I'll try to integrate my setup with yours
when I find the time.

Greets,

Asger



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]