Hi Mariano,
It seems to me like your problem has nothing to do with Moose, but with Smalltalk in general. You seem to want to get to all objects that can be referred from a root object.
Do I understand correctly?
If yes, then would a normal traversal of the values of the instance variables not be enough (of course with a check that a duplication does not exist already)?
Cheers, Doru
On 26 Jun 2010, at 20:57, Mariano Martinez Peck wrote:
If someone can help me with this I will REALLY appreciated as I need it for a paper deadline of monday noon :(
thanks in advance
mariano
On Fri, Jun 25, 2010 at 10:46 AM, Mariano Martinez Peck <marianopeck@gmail.com
wrote:
On Fri, Jun 25, 2010 at 10:39 AM, Simon Denier Simon.Denier@inria.fr wrote:
On 25 juin 2010, at 10:35, Mariano Martinez Peck wrote:
Hi all. I don't know why but today I am completly dumb. I need to
take a MooseModel and get two things:
- how many objects represents such MooseModel object. I mean,
suppose that MooseModel references objects, and those objects references other objects....etc. I need to know the "size" of such graph.
You mean regular objects, not just famix objects ?
mmmm I am not sure I know what famix objects are. I am just doing some benchmarks with ImageSegment and ReferenceStream for object graphs and I am using this MooseModels as examples. I need to know the size of the graph. So. I guess in my case I am interesting in regular obejcts. What do you think?
cheers
mariano
- how many classes represents such MooseModel object.
So for example, for Moose default model I could have 4034 objects,
8 classes.
For Moose Network Model, I could have 54354365 objects and 344
classes
(I put random numbers)
I tried analysing the RuntimeStorage, but didn't get anything.
Thanks in advance.
Mariano _______________________________________________ Moose-dev mailing list Moose-dev@iam.unibe.ch https://www.iam.unibe.ch/mailman/listinfo/moose-dev
-- Simon
Moose-dev mailing list Moose-dev@iam.unibe.ch https://www.iam.unibe.ch/mailman/listinfo/moose-dev
Moose-dev mailing list Moose-dev@iam.unibe.ch https://www.iam.unibe.ch/mailman/listinfo/moose-dev
-- www.tudorgirba.com
"What we can governs what we wish."