def printStates(self, printPrevious = True, printLearnState = True):
def formatRow(var, i):<EOL><INDENT>s = '<STR_LIT>'<EOL>for c in range(self.numberOfCols):<EOL><INDENT>if c > <NUM_LIT:0> and c % <NUM_LIT:10> == <NUM_LIT:0>:<EOL><INDENT>s += '<STR_LIT:U+0020>'<EOL><DEDENT>s += str(var[c, i])<EOL><DEDENT>s += '<STR_LIT:U+0020>'<EOL>return s<EOL><DEDENT>print("<STR_LIT>")<EOL>for i in range(self.cellsPerColumn):<EOL><INDENT>if printPrevious:<EOL><INDENT>print(formatRow(self.infActiveState['<STR_LIT>'], i), end='<STR_LIT:U+0020>')<EOL><DEDENT>print(formatRow(self.infActiveState['<STR_LIT:t>'], i))<EOL><DEDENT>print("<STR_LIT>")<EOL>for i in range(self.cellsPerColumn):<EOL><INDENT>if printPrevious:<EOL><INDENT>print(formatRow(self.infPredictedState['<STR_LIT>'], i), end='<STR_LIT:U+0020>')<EOL><DEDENT>print(formatRow(self.infPredictedState['<STR_LIT:t>'], i))<EOL><DEDENT>if printLearnState:<EOL><INDENT>print("<STR_LIT>")<EOL>for i in range(self.cellsPerColumn):<EOL><INDENT>if printPrevious:<EOL><INDENT>print(formatRow(self.lrnActiveState['<STR_LIT>'], i), end='<STR_LIT:U+0020>')<EOL><DEDENT>print(formatRow(self.lrnActiveState['<STR_LIT:t>'], i))<EOL><DEDENT>print("<STR_LIT>")<EOL>for i in range(self.cellsPerColumn):<EOL><INDENT>if printPrevious:<EOL><INDENT>print(formatRow(self.lrnPredictedState['<STR_LIT>'], i), end='<STR_LIT:U+0020>')<EOL><DEDENT>print(formatRow(self.lrnPredictedState['<STR_LIT:t>'], i))<EOL><DEDENT><DEDENT>
TODO: document

:param printPrevious: 
:param printLearnState: 
:return: