blob: 787fe49a42ebdca61ee28b18021849ec85195e6b (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
# Copyright (c) 2016 Egor Tensin <Egor.Tensin@gmail.com>
# This file is part of the "Sorting algorithms" project.
# For details, see https://github.com/egor-tensin/sorting-algorithms.
# Distributed under the MIT License.
from . import impl
_ALL_ALGORITHMS = impl.refresh_algorithms()
def get_codenames():
return _ALL_ALGORITHMS.keys()
def get(codename):
return _ALL_ALGORITHMS[codename]
|