Skip to content
Snippets Groups Projects
Commit fe3f2e7d authored by Jan Trávníček's avatar Jan Trávníček
Browse files

fix registration of random regexp factory

parent 40f0cab2
No related branches found
No related tags found
No related merge requests found
...@@ -67,7 +67,7 @@ regexp::UnboundedRegExp < > RandomRegExpFactory::generateUnboundedRegExp( size_t ...@@ -67,7 +67,7 @@ regexp::UnboundedRegExp < > RandomRegExpFactory::generateUnboundedRegExp( size_t
return res; return res;
} }
   
auto GenerateUnboundedRegExp2 = registration::AbstractRegister < RandomRegExpFactory, regexp::UnboundedRegExp < >, size_t, size_t, size_t, bool > ( RandomRegExpFactory::generateUnboundedRegExp, abstraction::AlgorithmCategories::AlgorithmCategory::DEFAULT, "leafNodes", "height", "alphabet" ); auto GenerateUnboundedRegExp2 = registration::AbstractRegister < RandomRegExpFactory, regexp::UnboundedRegExp < >, size_t, size_t, ext::set < DefaultSymbolType > > ( RandomRegExpFactory::generateUnboundedRegExp, abstraction::AlgorithmCategories::AlgorithmCategory::DEFAULT, "leafNodes", "height", "alphabet" );
   
regexp::UnboundedRegExp < > RandomRegExpFactory::SimpleUnboundedRegExp( size_t n, size_t h, const ext::ptr_vector < regexp::UnboundedRegExpElement < DefaultSymbolType > > & elems) { regexp::UnboundedRegExp < > RandomRegExpFactory::SimpleUnboundedRegExp( size_t n, size_t h, const ext::ptr_vector < regexp::UnboundedRegExpElement < DefaultSymbolType > > & elems) {
return regexp::UnboundedRegExp < > (regexp::UnboundedRegExpStructure < DefaultSymbolType > ( SimpleUnboundedRegExpElement (n, h, elems))); return regexp::UnboundedRegExp < > (regexp::UnboundedRegExpStructure < DefaultSymbolType > ( SimpleUnboundedRegExpElement (n, h, elems)));
...@@ -131,7 +131,7 @@ ext::ptr_value < regexp::UnboundedRegExpElement < DefaultSymbolType > > RandomRe ...@@ -131,7 +131,7 @@ ext::ptr_value < regexp::UnboundedRegExpElement < DefaultSymbolType > > RandomRe
} }
return ext::ptr_value < regexp::UnboundedRegExpElement < DefaultSymbolType > > ( std::move ( alt ) ); return ext::ptr_value < regexp::UnboundedRegExpElement < DefaultSymbolType > > ( std::move ( alt ) );
} }
} }
} }
   
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment