From: Mathieu D. <mat...@li...> - 2009-04-23 11:50:23
|
Hello PCSIMers, Sorry to bother you again but I was wondering why ConnectionsProjection doesn't inherit from SimObjectPopulation? I ask the question because I often want to create recorders for a whole ConnectionsProjection (for instance to record the psr). With a SimObjectPopulation, it's easy: the record method is here for that. But AFAIK there is no equivalent method in ConnectionsProjection. So I often have to create a population from a ConnectionsProjection with something like syn_popul = SimObjectPopulation( proj.idVector() ). Also why ConnectionsProjection doesn't store information about the source and destination populations? Therefore we could write something like proj.getSourcePopulation (which again could be useful in my case). I don't criticize PCSIM's API, it's wonderful. I was just asking the question. Maybe I am missing something? Thanks, Mathieu |