Ejemplo n.º 1
0
 def __init__(self, inputFile, fileStart, fileEnd, N, outputFile):
     assert fileStart >= 0
     assert fileStart <= fileEnd
     Target.__init__(self, time=0.00045)
     self.inputFile = inputFile
     self.fileStart = fileStart
     self.fileEnd = fileEnd
     self.N = N
     self.outputFile = outputFile
Ejemplo n.º 2
0
 def __init__(self, depth=0):
     Target.__init__(self, time=random.random() * 10)
     self.tempFileName = getRandomAlphaNumericString()
     self.depth = depth
Ejemplo n.º 3
0
 def __init__(self, inputFile1, inputFile2, outputFile):
     Target.__init__(self, time=0.0007)
     self.inputFile1 = inputFile1
     self.inputFile2 = inputFile2
     self.outputFile = outputFile
Ejemplo n.º 4
0
 def __init__(self, inputFile, N):
     Target.__init__(self, time=0.00025, memory=1000000, cpu=1)
     self.inputFile = inputFile
     self.N = N
Ejemplo n.º 5
0
 def __init__(self, tempOutputFile, outputFile):
     Target.__init__(self, time=0.0031)
     self.tempOutputFile = tempOutputFile
     self.outputFile = outputFile
Ejemplo n.º 6
0
 def __init__(self):
     Target.__init__(self, 0)
Ejemplo n.º 7
0
 def __init__(self, followOnTargets):
     Target.__init__(self, 0)
     self.followOnTargets = followOnTargets
     for target in self.followOnTargets: #So that we can un-pickle the children
         for importString in target.importStrings:
             self.importStrings.add(importString)
Ejemplo n.º 8
0
 def __init__(self, tempFileName):
     #Try requesting random amounts of CPU and memory requirements..
     self.requestedMemory = int(1 + random.random() *100000000)
     self.requestedCpu = int(1 + random.random() * 1)
     Target.__init__(self, time=random.random() * 10, memory=self.requestedMemory, cpu=self.requestedCpu)
     self.tempFileName = tempFileName
Ejemplo n.º 9
0
 def __init__(self, treePointer):
     Target.__init__(self, 10)
     self.treePointer = treePointer
Ejemplo n.º 10
0
 def __init__(self, tempFileTree):
     Target.__init__(self, 10)
     self.tempFileTree = tempFileTree
Ejemplo n.º 11
0
 def __init__(self):
     Target.__init__(self, 5)
     self.depth = 0
Ejemplo n.º 12
0
 def __init__(self, tempFileName):
     Target.__init__(self, time=random.random() * 10)
     self.tempFileName = tempFileName