예제 #1
0
파일: gengoal.py 프로젝트: COLAB2/midca
class TFStackGen:
    def __init__(self, mem, memKeys):
        self.tree = TreeStack()
        self.mem = mem
        self.memKeys = memKeys

    def gen_goals(self, verbose):
        world = self.mem.get(self.memKeys.MEM_STATES)[-1]
        blocks = blockstate.get_block_list(world)
        return [self.tree.givegoal(blocks)]
예제 #2
0
class TFStackGen:
    
    def __init__(self, mem, memKeys):
        self.tree = TreeStack()
        self.mem = mem
        self.memKeys = memKeys

    def gen_goals(self, verbose):
        world = self.mem.get(self.memKeys.MEM_STATES)[-1]
        blocks = blockstate.get_block_list(world)
        return [self.tree.givegoal(blocks)]
예제 #3
0
 def give_goal(self, blockset):
     tree = TreeScen()
     return tree.givegoal(blockset)
예제 #4
0
 def __init__(self, mem, memKeys):
     self.tree = TreeStack()
     self.mem = mem
     self.memKeys = memKeys
예제 #5
0
파일: gengoal.py 프로젝트: COLAB2/midca
 def __init__(self, mem, memKeys):
     self.tree = TreeStack()
     self.mem = mem
     self.memKeys = memKeys