Exemplo n.º 1
0
    def input(self):
        from Parser import parseStringArray

        for o in parseStringArray(open(self.inputPath)):
            stringArray = o[0]
            board = [list(s) for s in stringArray]
            yield board,
Exemplo n.º 2
0
 def input(self):
     from Parser import parseStringArray
     return parseStringArray(open(self.inputPath))
Exemplo n.º 3
0
 def output(self):
     from Parser import parseStringArray
     for o in parseStringArray(open(self.outputPath)):
         yield o[0]
Exemplo n.º 4
0
 def input(self):
     from Parser import parseStringArray
     for o in parseStringArray(open(self.inputPath)):
         stringArray = o[0]
         board = [list(s) for s in stringArray]
         yield board,
Exemplo n.º 5
0
 def input(self):
     from Parser import parseStringArray
     return parseStringArray(open(self.inputPath))
Exemplo n.º 6
0
 def input(self):
     from Parser import parseStringArray
     for o in parseStringArray(open(self.inputPath)):
         yield [list(s) for s in o[0]],
Exemplo n.º 7
0
 def input(self):
     from Parser import parseStringArray
     for o in parseStringArray(open(self.inputPath)):
         yield [list(s) for s in o[0]],