local_search/local_search.py
def print_schedule(self):
		''' helper method which prints out schedule in a nice way. '''
		s = self.get_schedule()
		num_open = len([1 for x in s if len(x) > 0])
		print num_open
		for t, tjobs in enumerate(s):
			if tjobs != []:
				print t, ":", ",".join(map(str, tjobs))
 helper method which prints out schedule in a nice way. 
helper method which prints out schedule in a nice way.
helper method which prints out schedule in a nice way .
def print_schedule(self):
		s = self.get_schedule()
		num_open = len([1 for x in s if len(x) > 0])
		print num_open
		for t, tjobs in enumerate(s):
			if tjobs != []:
				print t, ":", ",".join(map(str, tjobs))
def print_schedule ( self ) : s = self . get_schedule ( ) num_open = len ( [ 1 for x in s if len ( x ) > 0 ] ) print num_open for t , tjobs in enumerate ( s ) : if tjobs != [ ] : print t , ":" , "," . join ( map ( str , tjobs ) )
helper method which prints out schedule in a nice way.
helper method which prints out schedule in a nice way .
''' helper method which prints out schedule in a nice way. '''
self