=-=-=-==-=-=-==-=-=-==-=-=-==-=-=-=
classes := GLMLoggedObject withAllSubclasses.
classesToAuthors := (classes collect: [ :cls | cls -> ((cls methods collect: #author) asSet sortedAs: #yourself) ]) asDictionary.
authors := (classesToAuthors values flatCollect: #yourself) asSet sortedAs: #yourself.
authorsToClasses := (authors collect: [ :anAuthor | anAuthor -> (classesToAuthors associations select: [ :as | as value includes: anAuthor ] thenCollect: #key) ]) asDictionary.
b := RTGradualDSM new.
b objectsX: classes.
b objectsY: authors.
b score: [ :assoc | (assoc value methods collect: #author) occurrencesOf: assoc key ].
b
=-=-=-==-=-=-==-=-=-==-=-=-==-=-=-=
Merry Christmas to all!
Cheers,
Alexandre
--
_,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
Alexandre Bergel
http://www.bergel.eu^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.