[Pybrainsim-activity] SF.net SVN: pybrainsim:[43] trunk/src/Head.py
Status: Planning
Brought to you by:
rgoj
From: <rg...@us...> - 2009-08-02 18:50:18
|
Revision: 43 http://pybrainsim.svn.sourceforge.net/pybrainsim/?rev=43&view=rev Author: rgoj Date: 2009-08-02 18:50:08 +0000 (Sun, 02 Aug 2009) Log Message: ----------- * Added another explanatory comment about the way connections are handled in the Head.runSimulation() method. Modified Paths: -------------- trunk/src/Head.py Modified: trunk/src/Head.py =================================================================== --- trunk/src/Head.py 2009-08-02 18:47:20 UTC (rev 42) +++ trunk/src/Head.py 2009-08-02 18:50:08 UTC (rev 43) @@ -90,6 +90,10 @@ # Sending the output of generators through connections for i in range(len(self.connectionList)): + # All the generator names are checked against names of the + # source generators of all the connections, to find which + # generator's output should be passed on to the connection. + # There must be a better way to do this... sourceGeneratorIndex = 0 for j in range(len(self.generatorList)): if self.connectionList[i].getSourceName() == self.generatorList[j].getName(): This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |