File tree Expand file tree Collapse file tree 3 files changed +81
-3
lines changed Expand file tree Collapse file tree 3 files changed +81
-3
lines changed Original file line number Diff line number Diff line change
1
+ =================
2
+ Greedy Algorithms
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.greedy_algorithm in pygorithm:
17
+
18
+ NAME
19
+ pygorithm.greedy_algorithm - Collection for greedy algorithms
20
+
21
+ PACKAGE CONTENTS
22
+ activity_selection
23
+ fractional_knapsack
24
+
25
+ DATA
26
+ __all__ = [' fractional_knapsack' , ' activity_selection' ]
27
+
28
+
29
+ Activity Selection Problem
30
+ --------------------------
31
+
32
+ * Functions and their uses
33
+
34
+ .. automodule:: pygorithm.greedy_algorithm.activity_selection
35
+ :members:
36
+
37
+ Fractional Knapsack
38
+ ------------------ -
39
+
40
+ * Functions and their uses
41
+
42
+ .. automodule:: pygorithm.greedy_algorithm.fractional_knapsack
43
+ :members:
Original file line number Diff line number Diff line change @@ -22,14 +22,17 @@ Quick Links
22
22
:maxdepth: 2
23
23
:caption: Documentation:
24
24
25
- Sorting
26
- Searching
27
25
Data_Structure
26
+ DynamicP
28
27
Fibonacci
28
+ Greedy
29
29
Math
30
30
Pathfinding
31
+ Searching
32
+ Sorting
31
33
strings
32
34
35
+
33
36
Quick Start Guide
34
37
-----------------
35
38
Original file line number Diff line number Diff line change @@ -27,9 +27,41 @@ Features
27
27
28
28
29
29
Anagram
30
- -----------
30
+ -------
31
31
32
32
* Functions and their uses
33
33
34
34
.. automodule :: pygorithm.strings.anagram
35
35
:members:
36
+
37
+ Isogram
38
+ -------
39
+
40
+ * Functions and their uses
41
+
42
+ .. automodule :: pygorithm.strings.isogram
43
+ :members:
44
+
45
+ Palindrome
46
+ ----------
47
+
48
+ * Functions and their uses
49
+
50
+ .. automodule :: pygorithm.strings.palindrome
51
+ :members:
52
+
53
+ Pangram
54
+ -------
55
+
56
+ * Functions and their uses
57
+
58
+ .. automodule :: pygorithm.strings.pangram
59
+ :members:
60
+
61
+ Manacher's Algorithm
62
+ --------------------
63
+
64
+ * Functions and their uses
65
+
66
+ .. automodule :: pygorithm.strings.manacher_algorithm
67
+ :members:
You can’t perform that action at this time.
0 commit comments