lecture notes for the algorithms class together with most of the programs
  • PostScript 35.3%
  • Jupyter Notebook 35%
  • TeX 21.8%
  • C 4.2%
  • Java 2.9%
  • Other 0.8%
Find a file
Karl Stroetmann cf86f47aa7 typo corrected
2022-12-17 15:30:48 +01:00
.github/workflows Updated worklfow 2020-12-18 13:35:36 +01:00
_archive renamed directory 2018-05-08 11:33:44 +02:00
Java comments added 2022-11-14 08:42:31 +01:00
Julia bug fixed 2022-11-26 13:21:17 +01:00
Lecture-Notes typo corrected 2022-12-17 15:30:48 +01:00
Lecture-Notes-SetlX nearest neighbour digit classification 2019-04-22 15:49:53 +02:00
Programme some deletes 2016-05-19 18:03:40 +02:00
Python typo corrected 2022-12-17 15:30:48 +01:00
Scannen Fix typos 2016-12-06 20:15:26 +01:00
SetlX recoloring 2021-05-30 13:06:02 +02:00
.gitignore bug fixed 2022-11-26 13:21:17 +01:00
apt.txt Added repo2docker - blocked pushing image 2020-12-16 19:07:23 +01:00
environment.yml seaborn added 2021-04-14 21:38:36 +02:00
LICENSE Initial commit 2014-02-28 14:07:40 -08:00
README.md README updated 2021-04-13 23:48:45 +02:00

Algorithms

Binder

These are the lecture notes for the class on "Algorithms and Complexity" that I am teaching at the Baden-Wuerttemberg Cooperative State University (DHBW) in Manheim. This repository contains the following directories:

  • Lecture-Notes contains the LaTeX sources of my lecture notes. The file Lecture-Notes/algorithms.pdf contains the lecture notes.
  • Python contains the Jupyter notebooks that are presented in my class.
  • Java contains Java implementations of some of the algorithms presented in my lecture.
  • SetlX contains SetlX implementations of the programs presented in my lecture

Docker (Experimental Feature)

The notebooks available in this repository can be run via Docker. In order to be able to store changes made to these notebooks it is beneficial to create a local directory Solutions that will contain the github repository. The permissions of the directory Solutions need to be set to 777, i.e. the directory needs to be readable, writeable and executable for everybody. For example, with linux creating this directory and setting the permissions is achieved with the following commands:

    cd
    mkdir Solutions
    chmod 777 Solutions

Next, I suggest cloning the github repository into this directory. This can be done as follows:

    cd Solution
    git clone https://github.com/karlstroetmann/Algorithms.git

The docker image can be downloaded via the following command:

    docker pull karlstroetmann/algorithms

After that, the container can be started as follows:

docker run -p 8888:8888 --rm -v /Users/yourname/Solutions/Algorithms/Python:/home/jovyan/Python/ karlstroetmann/algorithms

Note that you have to replace the directory /Users/yourname with your home directory. Unfortunately, you cannot specify your home directory as ~, sincer Docker does not understand this notation.

Now the directory /Users/yourname/Solutions/Algorithms/Python contains all notebooks locally. This directory should be regularly updated via git pull.

To connect to the container, enter the adress localhost:8888 into your browser. You will then be asked for a token. You find this token in the message that is displayed by the docker run ... command executed previously.