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 __native_get_dbt(self,a,b): # to be redefined to point toward actual getDBT of cpp implementation return Matching.getDBT(self,a,b)
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 __native_get_list(self, a, b): # to be redefined to point toward actual getList of cpp implementation return Matching.getList(self, a, b)