IntroCModelingLA/Code/MIParser.py
def makeMinList(self, list, curr, final):
		"""Recursively creates the structure of the sentence my marking halves and recurring on the halves.
			Curr is the current depth of the recursion and final is the maximum depth to go.
		"""
		if len(list) <= 2:
			return list
		if curr == final:
			return list
		pos = self.findMinima(list)
		if pos == -1:
			return list
		else:
			return [ self.makeMinList(list[:pos], curr+1, final), self.makeMinList(list[pos + 1:], curr+1, final) ]
Recursively creates the structure of the sentence my marking halves and recurring on the halves.
			Curr is the current depth of the recursion and final is the maximum depth to go.
		
Recursively creates the structure of the sentence my marking halves and recurring on the halves.
Curr is the current depth of the recursion and final is the maximum depth to go.
Recursively creates the structure of the sentence my marking halves and recurring on the halves . Curr is the current depth of the recursion and final is the maximum depth to go .
def makeMinList(self, list, curr, final):
		if len(list) <= 2:
			return list
		if curr == final:
			return list
		pos = self.findMinima(list)
		if pos == -1:
			return list
		else:
			return [ self.makeMinList(list[:pos], curr+1, final), self.makeMinList(list[pos + 1:], curr+1, final) ]
def makeMinList ( self , list , curr , final ) : if len ( list ) <= 2 : return list if curr == final : return list pos = self . findMinima ( list ) if pos == - 1 : return list else : return [ self . makeMinList ( list [ : pos ] , curr + 1 , final ) , self . makeMinList ( list [ pos + 1 : ] , curr + 1 , final ) ]
Recursively creates the structure of the sentence my marking halves and recurring on the halves.
Recursively creates the structure of the sentence my marking halves and recurring on the halves .
"""Recursively creates the structure of the sentence my marking halves and recurring on the halves.
			Curr is the current depth of the recursion and final is the maximum depth to go.
		"""
self
list
curr
final