Ideally, the model should always be saved in full. You only load what you want using the filtering mechanism.
Doru
On 11 Dec 2011, at 15:21, Stéphane Ducasse wrote:
you save the model with just the package/classes and the metrics and after you reload everything and you should be able to get 1000 of models.
On Dec 11, 2011, at 1:58 PM, Alexandre Bergel wrote:
More likely, you are summarizing the dependencies with some metrics. In this case, what you can do is to produce the models, save it with all metrics, and only load the entities you are interested in. This is how I did all my analyses with Hismo for my thesis (e.g., 50 versions of JBoss). Would that not work?
It would indeed work. For example, one metric is: cls queryAllOutgoingDependencies atClassScope size
Maybe we could compute it right after having loaded it and store the result in the privateState. And then? We should remove all the dependencies since we do not need them anymore (e.g., setting to nil #accesses, #outgoingReferences)
How does that sound?
Cheers, Alexandre
Doru
Alexandre
-- _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;: Alexandre Bergel http://www.bergel.eu ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
Moose-dev mailing list Moose-dev@iam.unibe.ch https://www.iam.unibe.ch/mailman/listinfo/moose-dev
-- www.tudorgirba.com
"Quality cannot be an afterthought."
Moose-dev mailing list Moose-dev@iam.unibe.ch https://www.iam.unibe.ch/mailman/listinfo/moose-dev
-- _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;: Alexandre Bergel http://www.bergel.eu ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
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
"We can create beautiful models in a vacuum. But, to get them effective we have to deal with the inconvenience of reality."