示例#1
0
 def __init__(self, problem):
     Join.__init__(self)
     self.grandparent_problem = problem
     '''automatically add appropriate jobs to this join'''
     for l1 in self.grandparent_problem.children:
         self.add_job(l1.jobs["searchfragment"])
         for l2 in l1.children:
             self.add_job(l2.jobs["buildmodel"])
示例#2
0
 def __init__(self, problem):
     Join.__init__(self)
     self.grandparent_problem = problem
     '''automatically add appropriate jobs to this join'''
     for l1 in self.grandparent_problem.children:
         self.add_job(l1.jobs["searchfragment"])
         for l2 in l1.children:
             self.add_job(l2.jobs["buildmodel"])
示例#3
0
 def __init__(self):
     Join.__init__(self)
示例#4
0
 def __init__(self, root_problem):
     Join.__init__(self)
     self.root_problem = root_problem
     for p in root_problem.iter_leaves():
         self.add_job(p.jobs["searchfragment"])
示例#5
0
 def __init__(self, problem):
     Join.__init__(self)
     self.summarylevel_problem = problem
     '''Add jobs of applymodel of the grand __parent's children (parents)'''
     for tip in self.summarylevel_problem.iter_leaves():
         self.add_job(tip.jobs["applymodel"])
 def __init__(self, alignment_threshold):
     Join.__init__(self)
     self.alignment_threshold = alignment_threshold
 def __init__(self, placer):
     Join.__init__(self)
     self.placer = placer
示例#8
0
文件: scratch.py 项目: smirarab/sepp
 def __init__(self):
     Join.__init__(self)
示例#9
0
 def __init__(self, alignment_threshold):
     Join.__init__(self)
     self.alignment_threshold = alignment_threshold
示例#10
0
 def __init__(self, placer):
     Join.__init__(self)
     self.placer = placer
示例#11
0
 def __init__(self):
     Join.__init__(self)
     self.root_problem = None
示例#12
0
 def __init__(self, root_problem):
     Join.__init__(self)
     self.root_problem = root_problem
     for p in root_problem.iter_leaves():
         self.add_job(p.jobs["searchfragment"])
示例#13
0
 def __init__(self, problem):
     Join.__init__(self)
     self.summarylevel_problem = problem
     '''Add jobs of applymodel of the grand __parent's children (parents)'''
     for tip in self.summarylevel_problem.iter_leaves():
         self.add_job(tip.jobs["applymodel"])
示例#14
0
 def __init__(self, alignment_threshold):
     Join.__init__(self)
     self.alignment_threshold = alignment_threshold
     self.root_problem = None