Пример #1
0
    def enumerate(self, dataset):
        from aBuild.enumeration import Enumerate

        nEnums = len(self.specs[dataset]["lattice"])

        for index in range(nEnums):
            enumController = Enumerate.fromYAML(self.specs[dataset], index,
                                                self.knary, self.root)
            enumController.buildInputFile(False)
            enumController.enumerate(False)
Пример #2
0
    def enums(self):
        from aBuild.enumeration import Enumerate

        nEnums = len(self.specs[self.dataset]["lattice"])

        enums = []
        for index in range(nEnums):
            enums.append(
                Enumerate.fromYAML(self.specs[self.dataset], index, self.knary,
                                   self.root))
        return enums