def __init__(self, mtg1, mtg2, scale1, scale2, cost, tabletype=0, root1=None, root2=None): # mtg wrapper MtgMatchingWrapper.__init__(self, mtg1, mtg2, scale1, scale2, cost, tabletype, root1, root2) # creation of Matching Matching.__init__(self, self.tree1, self.tree2, self.costwrapper, tabletype)
def __init__(self,mtg1,mtg2,scale1,scale2,cost,tabletype = 0,root1=None,root2=None): # mtg wrapper MtgMatchingWrapper.__init__(self,mtg1,mtg2,scale1,scale2,cost,tabletype,root1,root2) # creation of Matching Matching.__init__(self,self.tree1,self.tree2,self.costwrapper,tabletype)