diff options
author | Gregor Kleen <gkleen@yggdrasil.li> | 2017-05-03 13:45:13 +0200 |
---|---|---|
committer | Gregor Kleen <gkleen@yggdrasil.li> | 2017-05-03 13:45:13 +0200 |
commit | df6269ce248021e9705c716346751e3afa924ba0 (patch) | |
tree | 3701b431b0726c269acaf89240c5498d3dc280b8 | |
parent | 47706c9239192b1298eef8b2cc0ead7a60262751 (diff) | |
download | uni-df6269ce248021e9705c716346751e3afa924ba0.tar uni-df6269ce248021e9705c716346751e3afa924ba0.tar.gz uni-df6269ce248021e9705c716346751e3afa924ba0.tar.bz2 uni-df6269ce248021e9705c716346751e3afa924ba0.tar.xz uni-df6269ce248021e9705c716346751e3afa924ba0.zip |
Some work on structure
-rw-r--r-- | ss2017/stable_marriage_problem/structure.md | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/ss2017/stable_marriage_problem/structure.md b/ss2017/stable_marriage_problem/structure.md new file mode 100644 index 0000000..89f467c --- /dev/null +++ b/ss2017/stable_marriage_problem/structure.md | |||
@@ -0,0 +1,29 @@ | |||
1 | - Implement algorithm in haskell, split over single steps | ||
2 | - During presentation show steps working on examples of the problem (one solves during step 1, one fails during step 1, one that requires multiple rotations to be eliminated), within `ghci` | ||
3 | - For most important proofs (tbd) show applicable step in haskell code with sketch of proof | ||
4 | |||
5 | |||
6 | # Tables | ||
7 | - Definition: Tables, embedded tables, embedded pairs, embedded matchings | ||
8 | - Definition: stable tables | ||
9 | - Matchings embedded in stable tables are stable (4.2.4 ii) | ||
10 | - (Stable tables are determined by all first OR all last entries (4.2.4 iii)) | ||
11 | - No pair absent from a stable table can block any of it's embedded matchings (4.2.4 i) | ||
12 | |||
13 | # Phase 1 | ||
14 | - Present algorithm and demonstrate | ||
15 | - Phase 1 has no effect on the embeddedness of stable pairs (4.2.3 i) | ||
16 | - Phase 1 stabilizes a table, when it doesn't fail (4.2.2 + 4.2.3 ii) | ||
17 | - Phase 1 results in the largest stable table (4.2.4 iv) | ||
18 | |||
19 | # Rotations | ||
20 | - Definition: rotation, exposure of rotations in stable tables | ||
21 | - Rotations exposed in a stable T are either identical or disjunct (4.2.5) | ||
22 | |||
23 | # Phase 2 | ||
24 | - Stable tables that are not already matchings expose at least one rotation and how to find it (4.2.6) | ||
25 | - Elimination of rotations from stable tables | ||
26 | - ignores non-elements of rotation (4.2.7 iii) | ||
27 | - results in table consistent with rotation (4.2.7 i, ii) | ||
28 | - Thus: produce stable subtables (4.2.8) | ||
29 | - Present derived algorithm and demonstrate | ||