DmtkD / iot-discrete-math

Repository for the discrete math algorithms that we studied during the IoT course in LPNU

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

About iot-discrete-math repository

This repository was created to store algorithms for solving problems in discrete mathematics in a programming language (in this case Python) during the course «Internet of Things» in Lviv Polytehnic National University (@LPNU-IoT).

Algorithm 1.10 (Generating all sequences in antilexicographic order)

Data: n

Result: A sequence of permutations of the set {1,...,n} in antilexicographic order.

image

Algorithm 1.19 (Generation of all partitions of the set {1, 2, . . . , n})

Data: n

Result: The sequence of all partitions of the set {1, . . . , n}, in which each next partition is formed from the previous one by transferring a single element to another block.

image

Algorithm 1.22 (Finding all partitions of a number)

Data: n.

Result: a sequence of partitions of the number n in the reverse order of the lexicographic

image

I took all the algorithms from this book:

Комдинаторика для программистов - В. Липский.pdf

About

Repository for the discrete math algorithms that we studied during the IoT course in LPNU


Languages

Language:Python 100.0%