Skip to content

Commit bb8a0f6

Browse files
committed
Added docs for Dynamic Programming
1 parent ab387ae commit bb8a0f6

File tree

1 file changed

+43
-0
lines changed

1 file changed

+43
-0
lines changed

docs/DynamicP.rst

Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
===================
2+
Dynamic Programming
3+
===================
4+
5+
A place for implementation of greedy algorithms
6+
7+
Features
8+
--------
9+
10+
* To see all the available functions in a module, you can just type ``help()`` with the module name as argument. For example,
11+
12+
.. code:: python
13+
14+
>>> from pygorithm import greedy_algorithm
15+
>>> help(greedy_algorithm)
16+
Help on package pygorithm.dynamic_programming in pygorithm:
17+
18+
NAME
19+
pygorithm.dynamic_programming - Collection for dynamic programming algorithms
20+
21+
PACKAGE CONTENTS
22+
binary_knapsack
23+
lis
24+
25+
DATA
26+
__all__ = ['binary_knapsack', 'lis']
27+
28+
29+
Binary (0/1) Knapsack
30+
---------------------
31+
32+
* Functions and their uses
33+
34+
.. automodule:: pygorithm.dynamic_programming.binary_knapsack
35+
:members:
36+
37+
Longest Increasing Subsequence
38+
------------------------------
39+
40+
* Functions and their uses
41+
42+
.. automodule:: pygorithm.dynamic_programming.lis
43+
:members:

0 commit comments

Comments
 (0)