code: def printCells(self, predictedOnly=False):
      
      if predictedOnly:
        print "--- PREDICTED CELLS ---"
      else:
        print "--- ALL CELLS ---"
      print "Activation threshold=", self.activationThreshold,
      print "min threshold=", self.minThreshold,
      print "connected perm=", self.connectedPerm
  
      for c in xrange(self.numberOfCols):
        for i in xrange(self.cellsPerColumn):
          if not predictedOnly or self.infPredictedState['t'][c, i]:
            self.printCell(c, i, predictedOnly)
docs: TODO: document
      
      :param predictedOnly: 
      :return: