- Mar 08, 2021
-
-
Tomáš Pecka authored
-
Tomáš Pecka authored
-
-
Jan Trávníček authored
The parents were set incorrectly in swap of trees and tries. Parents in children of swapped objects should be set, not the parents in swapped objects.
-
Jan Trávníček authored
The template function sort internally called swap so it internaly tests swap of trees
-
Jan Trávníček authored
-
Jan Trávníček authored
Take out common code in then and else branch
-
Jan Trávníček authored
The case (b*+a)* was only optimized to (b+a)* by lemma V4.
-
- Jan 31, 2021
-
-
Tomáš Pecka authored
This test generates a random automaton, runs both iteration algorithms on it and then tests that both these automata accept equal language. This is first of the aql integration tests (which support was added in commit d79fe028). This should serve as an example how to write aql integration tests. Also, this is something that should not be in the unit tests (and it was removed in the previous commits).
-
Tomáš Pecka authored
Algorithm automaton::transform::AutomatonIteration resulted in wrong output when the input automaton had a transition from the initial state to a final state. If such transitions exists, we must also add a transition from the new initial state to the old initial state in the new automata. Added a test case for this particular case. Closes #211
-
Tomáš Pecka authored
The tests for iteration were "messy". It was not clear what are they doing and also we tested two algorithms in one test case. Split those algorithms and make them clear -- test only for expected output.
-
Tomáš Pecka authored
There were two instances of the AutomatonIteration::iteration method, one for working with DFAs, one for NFAs. However, both shared the same code. Let's merge those methods.
-
Tomáš Pecka authored
-
- Jan 30, 2021
-
-
Jan Trávníček authored
protected field break encapsulation
-
Jan Trávníček authored
-
Jan Trávníček authored
-
Jan Trávníček authored
-
Jan Trávníček authored
-
Jan Trávníček authored
-
Jan Trávníček authored
-
Jan Trávníček authored
it was replaced with a constraint
-
Jan Trávníček authored
methods ext::Variant < ... >::set are joined + refactored to fix the std::move vs std::forward issue
-
Jan Trávníček authored
-
Jan Trávníček authored
concepts are language native construct that was introduced to replace enable_if (SFINAE)
-
Jan Trávníček authored
-
Jan Trávníček authored
moving is actually more expensive for shared_ptrs
-
Jan Trávníček authored
-
Jan Trávníček authored
constructor accepting an universal reference may interfere with move constructor
-
Jan Trávníček authored
-
Jan Trávníček authored
-
Jan Trávníček authored
add const qualification, remove explicit initialization of string to empty, and unify parameter names between declaration and definition
-
Jan Trávníček authored
-
Jan Trávníček authored
primitive types don't need std::move
-
Jan Trávníček authored
remove unnecessary move of an integral value, add const qualifier to a method that does not change the this object and remove another use of _identifier
-
Jan Trávníček authored
-
Jan Trávníček authored
virtual should start dynamic binding override checks dynamic binding is enabled in base class
-
Jan Trávníček authored
lambda is more efficient then bind
-
Jan Trávníček authored
-
Jan Trávníček authored
_identifiers are reserved for use for instance in the standard library
-
Although #pragma once is not a standard, compilers nowadays usually support it. We don't have any tricky build system so we should be OK. This also fixes many errors regarding using reserved identifiers (names starting with double underscore).
-