-
Notifications
You must be signed in to change notification settings - Fork 139
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Привёл сигнатуры функций rpq и cfpq к одному виду #166
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Also delete all not necessary functions
WoWaster
approved these changes
Sep 6, 2024
#123? |
gsvgit
reviewed
Sep 6, 2024
tasks.md
Outdated
@@ -57,7 +57,7 @@ | |||
|
|||
Полный балл: 5 | |||
|
|||
- [ ] Реализовать тип (`AdjacencyMatrixFA`), представляющий конечный автомат в виде разреженной матрицы смежности из [sciPy](https://docs.scipy.org/doc/scipy/reference/sparse.html) (или сразу её булевой декомпозиции) и информации о стартовых и финальных вершинах. У типа должны быть конструкторы от `DeterministicFiniteAutomaton` и `NondeterministicFiniteAutomaton` из [Задачи 2](#задача-2-построение-детерминированного-конечного-автомата-по-регулярному-выражению-и-недетерминированного-конечного-автомата-по-графу). | |||
- [ ] Реализовать тип (`AdjacencyMatrixFA`), представляющий конечный автомат в виде разреженной матрицы смежности из [sciPy](https://docs.scipy.org/doc/scipy/reference/sparse.html) (или сразу её булевой декомпозиции) и информации о стартовых и финальных вершинах. У типа должны быть статические методы `from_dfa` и `from_nfa` для инициализации от `DeterministicFiniteAutomaton` и `NondeterministicFiniteAutomaton` из [Задачи 2](#задача-2-построение-детерминированного-конечного-автомата-по-регулярному-выражению-и-недетерминированного-конечного-автомата-по-графу). |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
В мы не хотим по старой доброй традиции добавить тест, который хотя бы проверяет наличие этих методов?
3 tasks
WoWaster
approved these changes
Sep 7, 2024
gsvgit
approved these changes
Sep 7, 2024
osogi
pushed a commit
to osogi/formal-lang-course
that referenced
this pull request
Sep 15, 2024
…PathQuerying#166) * Change signatures of tasks 3 and 4 Also delete all not necessary functions * Delete unused import * Rewrite task 3 about constructor
osogi
pushed a commit
to osogi/formal-lang-course
that referenced
this pull request
Sep 15, 2024
…PathQuerying#166) * Change signatures of tasks 3 and 4 Also delete all not necessary functions * Delete unused import * Rewrite task 3 about constructor
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Решения @WoWaster тоже переделал, всё работает