def ysorted(backend, *args, **kwargs): return getbackend(backend).sorted(*args, **kwargs)
def ydict(backend, *args, **kwargs): return getbackend(backend).create_dict(*args, **kwargs)
def yunion_find(backend, *args, **kwargs): import yaupon.data_structures.union_find as union_find return union_find.UnionFind(getbackend(backend), *args, **kwargs)
def ydeque(backend, *args, **kwargs): return getbackend(backend).create_deque(*args, **kwargs)
def yheap(backend, *args, **kwargs): import yaupon.data_structures.pairing_heaps as pairing_heaps return pairing_heaps.PairingHeap(getbackend(backend), *args, **kwargs)