def mmPrettyPrintConnections(self):
text = "<STR_LIT>"<EOL>text += ("<STR_LIT>"<EOL>"<STR_LIT>")<EOL>text += "<STR_LIT>"<EOL>columns = range(self.numberOfColumns())<EOL>for column in columns:<EOL><INDENT>cells = self.cellsForColumn(column)<EOL>for cell in cells:<EOL><INDENT>segmentDict = dict()<EOL>for seg in self.connections.segmentsForCell(cell):<EOL><INDENT>synapseList = []<EOL>for synapse in self.connections.synapsesForSegment(seg):<EOL><INDENT>synapseData = self.connections.dataForSynapse(synapse)<EOL>synapseList.append(<EOL>(synapseData.presynapticCell, synapseData.permanence))<EOL><DEDENT>synapseList.sort()<EOL>synapseStringList = ["<STR_LIT>".format(sourceCell, permanence) for<EOL>sourceCell, permanence in synapseList]<EOL>segmentDict[seg] = "<STR_LIT>".format("<STR_LIT:U+0020>".join(synapseStringList))<EOL><DEDENT>text += ("<STR_LIT>".format(<EOL>column, cell,<EOL>len(segmentDict.values()),<EOL>"<STR_LIT>".format("<STR_LIT:U+002CU+0020>".join(segmentDict.values()))))<EOL><DEDENT>if column < len(columns) - <NUM_LIT:1>:  <EOL><INDENT>text += "<STR_LIT:\n>"<EOL><DEDENT><DEDENT>text += "<STR_LIT>"<EOL>return text<EOL>
Pretty print the connections in the temporal memory.

TODO: Use PrettyTable.

@return (string) Pretty-printed text