def printCells(self, predictedOnly=False):
if predictedOnly:<EOL><INDENT>print("<STR_LIT>")<EOL><DEDENT>else:<EOL><INDENT>print("<STR_LIT>")<EOL><DEDENT>print("<STR_LIT>", self.activationThreshold, end='<STR_LIT:U+0020>')<EOL>print("<STR_LIT>", self.minThreshold, end='<STR_LIT:U+0020>')<EOL>print("<STR_LIT>", self.connectedPerm)<EOL>for c in range(self.numberOfCols):<EOL><INDENT>for i in range(self.cellsPerColumn):<EOL><INDENT>if not predictedOnly or self.infPredictedState['<STR_LIT:t>'][c, i]:<EOL><INDENT>self.printCell(c, i, predictedOnly)<EOL><DEDENT><DEDENT><DEDENT>
TODO: document

:param predictedOnly: 
:return: