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

subtree jumping is labeled with ranked wildcard

parent 7b2e311b
No related branches found
No related tags found
No related merge requests found
......@@ -20,7 +20,7 @@ namespace arbology {
namespace exact {
 
automaton::Automaton ExactTreePatternAutomaton::construct ( const tree::Tree & text ) {
return construct ( text, alphabet::Symbol ( alphabet::SubtreeWildcardSymbol::SUBTREE_WILDCARD ) );
return construct ( text, alphabet::Symbol ( alphabet::RankedSymbol ( alphabet::Symbol ( alphabet::SubtreeWildcardSymbol::SUBTREE_WILDCARD ), 0 ) ) );
}
 
automaton::Automaton ExactTreePatternAutomaton::construct ( const tree::Tree & text, const alphabet::Symbol & subtreeWildcard ) {
......@@ -28,7 +28,7 @@ automaton::Automaton ExactTreePatternAutomaton::construct ( const tree::Tree & t
}
 
automaton::InputDrivenNPDA ExactTreePatternAutomaton::construct ( const tree::PrefixRankedTree & tree ) {
return construct ( tree, alphabet::Symbol ( alphabet::SubtreeWildcardSymbol::SUBTREE_WILDCARD ) );
return construct ( tree, alphabet::Symbol ( alphabet::RankedSymbol ( alphabet::Symbol ( alphabet::SubtreeWildcardSymbol::SUBTREE_WILDCARD ), 0 ) ) );
}
 
automaton::InputDrivenNPDA ExactTreePatternAutomaton::construct ( const tree::PrefixRankedTree & tree, const alphabet::Symbol & subtreeWildcard ) {
......
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