2023-07-31

This commit is contained in:
Gennadiy 2023-12-17 08:09:03 +03:00
parent 8ed24b365e
commit 410c75ec2a
10 changed files with 61 additions and 69 deletions

2
.gitignore vendored
View file

@ -2,4 +2,4 @@
*.iml *.iml
*.zip *.zip
_site* _site*
.repo_*.sh .repo_*

View file

@ -1,7 +1,7 @@
## Дерево каталогов ## Дерево каталогов
<pre> <pre>
. <a href='.'>.</a>
├─ <a href='jekyll_site'>jekyll_site</a> ├─ <a href='jekyll_site'>jekyll_site</a>
│ ├─ <a href='jekyll_site/_includes'>_includes</a> │ ├─ <a href='jekyll_site/_includes'>_includes</a>
│ │ ├─ <a href='jekyll_site/_includes/counters_body.html'>counters_body.html</a> │ │ ├─ <a href='jekyll_site/_includes/counters_body.html'>counters_body.html</a>
@ -9,17 +9,11 @@
│ ├─ <a href='jekyll_site/en'>en</a> │ ├─ <a href='jekyll_site/en'>en</a>
│ │ ├─ <a href='jekyll_site/en/2021'>2021</a> │ │ ├─ <a href='jekyll_site/en/2021'>2021</a>
│ │ │ ├─ <a href='jekyll_site/en/2021/09'>09</a> │ │ │ ├─ <a href='jekyll_site/en/2021/09'>09</a>
│ │ │ │ ├─ <a href='jekyll_site/en/2021/09/07'>07</a> │ │ │ │ ├─ <a href='jekyll_site/en/2021/09/07'>07</a>/<a href='jekyll_site/en/2021/09/07/cartesian-product-of-sets.md'>cartesian-product-of-sets.md</a>
│ │ │ │ │ └─ <a href='jekyll_site/en/2021/09/07/cartesian-product-of-sets.md'>cartesian-product-of-sets.md</a> │ │ │ │ ├─ <a href='jekyll_site/en/2021/09/10'>10</a>/<a href='jekyll_site/en/2021/09/10/pascals-triangle-in-java.md'>pascals-triangle-in-java.md</a>
│ │ │ │ ├─ <a href='jekyll_site/en/2021/09/10'>10</a> │ │ │ │ ├─ <a href='jekyll_site/en/2021/09/14'>14</a>/<a href='jekyll_site/en/2021/09/14/combinations-by-columns.md'>combinations-by-columns.md</a>
│ │ │ │ │ └─ <a href='jekyll_site/en/2021/09/10/pascals-triangle-in-java.md'>pascals-triangle-in-java.md</a> │ │ │ │ └─ <a href='jekyll_site/en/2021/09/22'>22</a>/<a href='jekyll_site/en/2021/09/22/combinations-of-sequence-elements.md'>combinations-of-sequence-elements.md</a>
│ │ │ │ ├─ <a href='jekyll_site/en/2021/09/14'>14</a> │ │ │ └─ <a href='jekyll_site/en/2021/10'>10</a>/<a href='jekyll_site/en/2021/10/05'>05</a>/<a href='jekyll_site/en/2021/10/05/cartesian-product-parallel-streams.md'>cartesian-product-parallel-streams.md</a>
│ │ │ │ │ └─ <a href='jekyll_site/en/2021/09/14/combinations-by-columns.md'>combinations-by-columns.md</a>
│ │ │ │ └─ <a href='jekyll_site/en/2021/09/22'>22</a>
│ │ │ │ └─ <a href='jekyll_site/en/2021/09/22/combinations-of-sequence-elements.md'>combinations-of-sequence-elements.md</a>
│ │ │ └─ <a href='jekyll_site/en/2021/10'>10</a>
│ │ │ └─ <a href='jekyll_site/en/2021/10/05'>05</a>
│ │ │ └─ <a href='jekyll_site/en/2021/10/05/cartesian-product-parallel-streams.md'>cartesian-product-parallel-streams.md</a>
│ │ └─ <a href='jekyll_site/en/index.md'>index.md</a> │ │ └─ <a href='jekyll_site/en/index.md'>index.md</a>
│ ├─ <a href='jekyll_site/img'>img</a> │ ├─ <a href='jekyll_site/img'>img</a>
│ │ ├─ <a href='jekyll_site/img/arrangement-formula.svg'>arrangement-formula.svg</a> │ │ ├─ <a href='jekyll_site/img/arrangement-formula.svg'>arrangement-formula.svg</a>
@ -28,29 +22,25 @@
│ ├─ <a href='jekyll_site/ru'>ru</a> │ ├─ <a href='jekyll_site/ru'>ru</a>
│ │ ├─ <a href='jekyll_site/ru/2021'>2021</a> │ │ ├─ <a href='jekyll_site/ru/2021'>2021</a>
│ │ │ ├─ <a href='jekyll_site/ru/2021/09'>09</a> │ │ │ ├─ <a href='jekyll_site/ru/2021/09'>09</a>
│ │ │ │ ├─ <a href='jekyll_site/ru/2021/09/06'>06</a> │ │ │ │ ├─ <a href='jekyll_site/ru/2021/09/06'>06</a>/<a href='jekyll_site/ru/2021/09/06/cartesian-product-of-sets.md'>cartesian-product-of-sets.md</a>
│ │ │ │ │ └─ <a href='jekyll_site/ru/2021/09/06/cartesian-product-of-sets.md'>cartesian-product-of-sets.md</a> │ │ │ │ ├─ <a href='jekyll_site/ru/2021/09/09'>09</a>/<a href='jekyll_site/ru/2021/09/09/pascals-triangle-in-java.md'>pascals-triangle-in-java.md</a>
│ │ │ │ ├─ <a href='jekyll_site/ru/2021/09/09'>09</a> │ │ │ │ ├─ <a href='jekyll_site/ru/2021/09/13'>13</a>/<a href='jekyll_site/ru/2021/09/13/combinations-by-columns.md'>combinations-by-columns.md</a>
│ │ │ │ │ └─ <a href='jekyll_site/ru/2021/09/09/pascals-triangle-in-java.md'>pascals-triangle-in-java.md</a> │ │ │ │ └─ <a href='jekyll_site/ru/2021/09/20'>20</a>/<a href='jekyll_site/ru/2021/09/20/combinations-of-sequence-elements.md'>combinations-of-sequence-elements.md</a>
│ │ │ │ ├─ <a href='jekyll_site/ru/2021/09/13'>13</a> │ │ │ └─ <a href='jekyll_site/ru/2021/10'>10</a>/<a href='jekyll_site/ru/2021/10/04'>04</a>/<a href='jekyll_site/ru/2021/10/04/cartesian-product-parallel-streams.md'>cartesian-product-parallel-streams.md</a>
│ │ │ │ │ └─ <a href='jekyll_site/ru/2021/09/13/combinations-by-columns.md'>combinations-by-columns.md</a>
│ │ │ │ └─ <a href='jekyll_site/ru/2021/09/20'>20</a>
│ │ │ │ └─ <a href='jekyll_site/ru/2021/09/20/combinations-of-sequence-elements.md'>combinations-of-sequence-elements.md</a>
│ │ │ └─ <a href='jekyll_site/ru/2021/10'>10</a>
│ │ │ └─ <a href='jekyll_site/ru/2021/10/04'>04</a>
│ │ │ └─ <a href='jekyll_site/ru/2021/10/04/cartesian-product-parallel-streams.md'>cartesian-product-parallel-streams.md</a>
│ │ └─ <a href='jekyll_site/ru/index.md'>index.md</a> │ │ └─ <a href='jekyll_site/ru/index.md'>index.md</a>
│ ├─ <a href='jekyll_site/Gemfile_color'>Gemfile_color</a> │ ├─ <a href='jekyll_site/Gemfile_color'>Gemfile_color</a>
│ ├─ <a href='jekyll_site/Gemfile_older'>Gemfile_older</a> │ ├─ <a href='jekyll_site/Gemfile_older'>Gemfile_older</a>
│ ├─ <a href='jekyll_site/_config_color.yml'>_config_color.yml</a> │ ├─ <a href='jekyll_site/_config_color.yml'>_config_color.yml</a>
│ ├─ <a href='jekyll_site/_config_older.yml'>_config_older.yml</a> │ ├─ <a href='jekyll_site/_config_older.yml'>_config_older.yml</a>
│ └─ <a href='jekyll_site/robots.txt'>robots.txt</a> │ └─ <a href='jekyll_site/robots.txt'>robots.txt</a>
├─ <a href='.gitattributes'>.gitattributes</a>
├─ <a href='.gitignore'>.gitignore</a>
├─ <a href='CONTRIBUTING.md'>CONTRIBUTING.md</a> ├─ <a href='CONTRIBUTING.md'>CONTRIBUTING.md</a>
├─ <a href='DIRECTORY-TREE.md'>DIRECTORY-TREE.md</a> ├─ <a href='DIRECTORY_TREE.md'>DIRECTORY_TREE.md</a>
├─ <a href='LICENSE.md'>LICENSE.md</a> ├─ <a href='LICENSE.md'>LICENSE.md</a>
├─ <a href='OPEN_LICENSE.txt'>OPEN_LICENSE.txt</a> ├─ <a href='OPEN_LICENSE.txt'>OPEN_LICENSE.txt</a>
├─ <a href='README.en.md'>README.en.md</a>
├─ <a href='README.md'>README.md</a> ├─ <a href='README.md'>README.md</a>
├─ <a href='WIKI.md'>WIKI.md</a>
├─ <a href='build.sh'>build.sh</a> ├─ <a href='build.sh'>build.sh</a>
├─ <a href='package.sh'>package.sh</a> ├─ <a href='package.sh'>package.sh</a>
└─ <a href='serve.sh'>serve.sh</a> └─ <a href='serve.sh'>serve.sh</a>

View file

@ -1,17 +0,0 @@
## Website pages
- [Cartesian product in parallel streams](https://pomodoro2.mircloud.ru/en/2021/10/05/cartesian-product-parallel-streams.html) — 05.10.2021.
- [Combinations of sequence elements](https://pomodoro2.mircloud.ru/en/2021/09/22/combinations-of-sequence-elements.html) — 22.09.2021.
- [Combinations of elements by columns](https://pomodoro2.mircloud.ru/en/2021/09/14/combinations-by-columns.html) — 14.09.2021.
- [Pascal's Triangle in Java](https://pomodoro2.mircloud.ru/en/2021/09/10/pascals-triangle-in-java.html) — 10.09.2021.
- [Cartesian product of sets](https://pomodoro2.mircloud.ru/en/2021/09/07/cartesian-product-of-sets.html) — 07.09.2021.
## [Source texts](README.md)
- Series of the static websites [«Pomodori»](https://hub.mos.ru/golovin.gg/pomodoro/blob/master/README.en.md).
- Used formats — Markdown, Liquid, YAML.
- Build tool — Jekyll with tomato design themes.
- Automation of processes — Bash scripts for command line.
- [build.sh](build.sh) — Building a site in two tomato themes and optimizing the results.
- [serve.sh](serve.sh) — Local deployment to verify the correctness of the build.
- [package.sh](package.sh) — Preparing an archive for subsequent deployment.

View file

@ -1,17 +1,5 @@
## Страницы вёб-сайта ## Исходные тексты
- [Декартово произведение в параллельных потоках](https://pomodoro2.mircloud.ru/ru/2021/10/04/cartesian-product-parallel-streams.html) — 04.10.2021.
- [Комбинации элементов последовательности](https://pomodoro2.mircloud.ru/ru/2021/09/20/combinations-of-sequence-elements.html) — 20.09.2021.
- [Комбинации элементов по столбцам](https://pomodoro2.mircloud.ru/ru/2021/09/13/combinations-by-columns.html) — 13.09.2021.
- [Треугольник Паскаля на Java](https://pomodoro2.mircloud.ru/ru/2021/09/09/pascals-triangle-in-java.html) — 09.09.2021.
- [Декартово произведение множеств](https://pomodoro2.mircloud.ru/ru/2021/09/06/cartesian-product-of-sets.html) — 06.09.2021.
## [Исходные тексты](README.en.md)
- Серия статических вёб-сайтов [«Помидоры»](https://hub.mos.ru/golovin.gg/pomodoro/blob/master/README.md).
- Используемые форматы — Markdown, Liquid, YAML. - Используемые форматы — Markdown, Liquid, YAML.
- Инструмент сборки — Jekyll с помидорными темами оформления. - Инструмент сборки — Jekyll с помидорными темами оформления.
- Автоматизация процессов — Bash скрипты для командной строки. - Управление процессами — Bash скрипты.
- [build.sh](build.sh) — Сборка сайта в двух помидорных темах и оптимизация результатов.
- [serve.sh](serve.sh) — Локальное развёртывание для проверки корректности сборки.
- [package.sh](package.sh) — Подготовка архива для последующего развёртывания.

31
WIKI.md Normal file
View file

@ -0,0 +1,31 @@
<hr>
<details open>
<summary><h3>Оглавление</h3></summary>
<hr>
- [Декартово произведение в параллельных потоках](https://pomodoro2.mircloud.ru/ru/2021/10/04/cartesian-product-parallel-streams.html) — 04.10.2021.
- [Комбинации элементов последовательности](https://pomodoro2.mircloud.ru/ru/2021/09/20/combinations-of-sequence-elements.html) — 20.09.2021.
- [Комбинации элементов по столбцам](https://pomodoro2.mircloud.ru/ru/2021/09/13/combinations-by-columns.html) — 13.09.2021.
- [Треугольник Паскаля на Java](https://pomodoro2.mircloud.ru/ru/2021/09/09/pascals-triangle-in-java.html) — 09.09.2021.
- [Декартово произведение множеств](https://pomodoro2.mircloud.ru/ru/2021/09/06/cartesian-product-of-sets.html) — 06.09.2021.
</details>
<hr>
<details open>
<summary><h3>Contents</h3></summary>
<hr>
- [Cartesian product in parallel streams](https://pomodoro2.mircloud.ru/en/2021/10/05/cartesian-product-parallel-streams.html) — 05.10.2021.
- [Combinations of sequence elements](https://pomodoro2.mircloud.ru/en/2021/09/22/combinations-of-sequence-elements.html) — 22.09.2021.
- [Combinations of elements by columns](https://pomodoro2.mircloud.ru/en/2021/09/14/combinations-by-columns.html) — 14.09.2021.
- [Pascal's Triangle in Java](https://pomodoro2.mircloud.ru/en/2021/09/10/pascals-triangle-in-java.html) — 10.09.2021.
- [Cartesian product of sets](https://pomodoro2.mircloud.ru/en/2021/09/07/cartesian-product-of-sets.html) — 07.09.2021.
</details>
<hr>

View file

@ -1,10 +1,10 @@
<!-- Google tag (gtag.js) --> <!-- Google tag (gtag.js) -->
<script async src="https://www.googletagmanager.com/gtag/js?id=UA-209134013-2"></script> <script async src="https://www.googletagmanager.com/gtag/js?id=G-CGTC57DX5F"></script>
<script> <script>
window.dataLayer = window.dataLayer || []; window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);} function gtag(){dataLayer.push(arguments);}
gtag('js', new Date()); gtag('js', new Date());
gtag('config', 'UA-209134013-2'); gtag('config', 'G-CGTC57DX5F');
</script> </script>
<!-- Yandex.Metrika counter --> <!-- Yandex.Metrika counter -->
<script> <script>

View file

@ -16,7 +16,7 @@ in Java with the appropriate filter for the minimum and maximum number of elemen
*[Table setting problem](#table-setting-problem) [Method for solving in Java](#combinations-of-length)* *[Table setting problem](#table-setting-problem) [Method for solving in Java](#combinations-of-length)*
An *arrangement* is an ordered set of {`k`} distinct elements from a set of distinct {`n`} elements, An *arrangement* is an ordered set of {`k`} distinct elements from a set of {`n`} distinct elements,
where {<code>k&nbsp;&le;&nbsp;n</code>}. If {<code>k&nbsp;=&nbsp;n</code>}, then this ordered set where {<code>k&nbsp;&le;&nbsp;n</code>}. If {<code>k&nbsp;=&nbsp;n</code>}, then this ordered set
is a *permutation*. For the universality of the solution, we'll also consider *permutations* as is a *permutation*. For the universality of the solution, we'll also consider *permutations* as
a special case of *arrangement*. a special case of *arrangement*.

View file

@ -29,7 +29,7 @@ Consider a problem where you need to get all possible combinations of sequence e
the number of elements in the combination does not exceed a given maximum, and let's write a method the number of elements in the combination does not exceed a given maximum, and let's write a method
in Java with the appropriate filter for the minimum and maximum number of elements. in Java with the appropriate filter for the minimum and maximum number of elements.
An *arrangement* is an ordered set of {`k`} distinct elements from a set of distinct {`n`} elements, An *arrangement* is an ordered set of {`k`} distinct elements from a set of {`n`} distinct elements,
where {<code>k&nbsp;&le;&nbsp;n</code>}. If {<code>k&nbsp;=&nbsp;n</code>}, then this ordered set where {<code>k&nbsp;&le;&nbsp;n</code>}. If {<code>k&nbsp;=&nbsp;n</code>}, then this ordered set
is a *permutation*. For the universality of the solution, we'll also consider *permutations* as is a *permutation*. For the universality of the solution, we'll also consider *permutations* as
a special case of *arrangement*. a special case of *arrangement*.

View file

@ -15,10 +15,10 @@ date: 2021.09.20
*[Задача о сервировке стола](#table-setting-problem) [Метод для решения на Java](#combinations-of-length)* *[Задача о сервировке стола](#table-setting-problem) [Метод для решения на Java](#combinations-of-length)*
*Размещением* называется упорядоченный набор {`k`} различных элементов из множества различных *Размещением* называется упорядоченный набор {`k`} различных элементов из множества {`n`} различных
{`n`} элементов, где {<code>k&nbsp;&le;&nbsp;n</code>}. Если {<code>k&nbsp;=&nbsp;n</code>}, то элементов, где {<code>k&nbsp;&le;&nbsp;n</code>}. Если {<code>k&nbsp;=&nbsp;n</code>}, то такой
такой упорядоченный набор называется *перестановкой*. Для универсальности решения *перестановки* упорядоченный набор называется *перестановкой*. Для универсальности решения *перестановки* тоже
тоже будем учитывать как частный случай *размещения*. будем учитывать как частный случай *размещения*.
## Количество возможных комбинаций {#number-of-possible-combinations} ## Количество возможных комбинаций {#number-of-possible-combinations}

View file

@ -28,10 +28,10 @@ title_translated: Code with comments
где количество элементов в комбинации не превышает заданного максимума, и напишем метод на Java где количество элементов в комбинации не превышает заданного максимума, и напишем метод на Java
с соответствующим отбором по минимальному и максимальному количеству элементов. с соответствующим отбором по минимальному и максимальному количеству элементов.
*Размещением* называется упорядоченный набор {`k`} различных элементов из множества различных *Размещением* называется упорядоченный набор {`k`} различных элементов из множества {`n`} различных
{`n`} элементов, где {<code>k&nbsp;&le;&nbsp;n</code>}. Если {<code>k&nbsp;=&nbsp;n</code>}, то элементов, где {<code>k&nbsp;&le;&nbsp;n</code>}. Если {<code>k&nbsp;=&nbsp;n</code>}, то такой
такой упорядоченный набор называется *перестановкой*. Для универсальности решения *перестановки* упорядоченный набор называется *перестановкой*. Для универсальности решения *перестановки* тоже
тоже будем учитывать как частный случай *размещения*. будем учитывать как частный случай *размещения*.
{%- endcapture %} {%- endcapture %}
{%- assign articles = articles | push: article_brief %} {%- assign articles = articles | push: article_brief %}
{%- assign articles = articles | push: "Комбинации элементов по столбцам" %} {%- assign articles = articles | push: "Комбинации элементов по столбцам" %}