473,804 Members | 4,153 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Tree Automata questions

I initially posted this question in comp.theory but did not get much
response. Please help! I think tree automata is very well studied area
in math and computer science. Tree automata is also used often in
context of XML and will appreciate your response and opinions about
using tree automata for XML.

I am looking for an algorithm that performs intersection operation on
two tree automatas. I unable to find any in textbooks or online. Please
let me know of algorithms that you may be aware of. I am not concerned
with efficiency right now and would like to see a complete algorithm
from ground up.

I did find online book TATA:
http://www.grappa.univ-lille3.fr/tata/
Chapter 1, page 27, under "Closure Properties"

Intersection operation could be performed in terms of union and
complement. However, I am not sure how there union algorithm works. It
seems to be incomplete to me.. more specifically, i see following
problems:
a. Explanation given in this section considers two tree automata's A1
and A1. In this section, both automatons are defined to have same
alphabet set F. Why is it so? Is it not possible to perform union
operation when alphabet sets are different? or is it an unwritten
assumption that F is constructed such that it includes symbols of both
A1 and A2?
b. Definition of transition function for the product automaton seems
to be incomplete. It includes only the cases where number of states in
transition rules for a given symbol 'f' in both automatons is equal. In
other words, it does not include the following cases:
i) Product when A1 has transition f(q1, ... , qn) -> q and A2 has
transition rule f(q'2, ..., q'm) -> q' where n != m.
ii) For a transition rule f(q1, ... , qn) -> q in A1, there is no
corresponding rule in A2 (A2 does not have transition for f).
Am i wrong / correct?

I would also appreciate if you can point me to good reference that give
formal description of tree automatas with variables.

Jul 20 '05 #1
0 1811

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
2447
by: Gregory Nans | last post by:
hello, i need some help to 'tree-ify' a string... for example i have strings such as : s = """A(here 's , B(A ) silly test) C(to show D(what kind) of stuff i need))""" and i need to parse them to have a tree representation such as :
7
2513
by: Rolf Kemper | last post by:
Dear All, somehow I remember that such or similar question was discussed already somewhere. But I can't find it anymore. I have a template calling itself. As long it goes deeper into the hierarchy (by the key) I can set the CurrentY parameter by itself + some constant correctly. Hence which each call the CurrentY gets bigger. But when the template reaches a leave and the caller is poped from
1
2134
by: Nobody | last post by:
I've got a Binary Search Tree all completed, and now I am trying to derive an AVL Tree from it. I've got all the functions figured out except the removal. Haven't got a clue on an algorithm to do this. Obviously, I remove the node and all of its sub nodes and then balance the tree. Or do I remove the node & sub nodes "in order" balancing the tree as I go?
19
6792
by: Christian Fowler | last post by:
I have a VERY LARGE pile of geographic data that I am importing into a database (db of choice is postgres, though may hop to oracle if necessary). The data is strictly hierarchical - each node has one, and only one parent. The depth should not exceed 6 or 7 levels. The initial import will have about 6 million leaves, and 3 million branches. I would expect the leaves to grow significantly, in number easily tripling. However, the branches will...
3
1591
by: Alan Silver | last post by:
Hello, I am just looking at the tree view control, which looks very good, but has some apparent limitations. This could easily be my lack of experience with it. Specifically, I have two questions... 1) I would like to have more than one root for the tree. Although this may sound odd, it can be logical in certain cases. For example, I have some e-commerce sites where the navigational links are split into two sections, one containing...
7
2874
by: defcon8 | last post by:
Hello. I have recently been experimenting with cellular automata and I would like to know how I could convert a 2d list of 0's and 1's into white and black squares on an image. I have tried to install matplotlib and also NumTut but both to no avail. There seem to be bugs in their installation and I have not been able to figure out how to resolve them. I would be happy for someone to suggest a library and maybe give a simple example of how...
5
2136
by: defcon8 | last post by:
I thought people would be interested in this little script I wrote to reproduce the 256 simple automata that is shown in the first chapters of "A New Kind of Science". You can see a few results without running the script, at http://cooper-j.blogspot.com . And here is the code (You will need PIL (Python Imaging Library)): <code> import Image # Contract: # To simulate simple cellular automata.
4
1926
by: onkar | last post by:
Can any one suggest me a game which uses FA as central concept and to be written in C.
1
3065
by: lakshmiraj | last post by:
Hi everyone, I was trying a C++ program to implement a finite automata which reads the input from a text file. Can some one please help me with this? Thanks Lakshmi
0
9707
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
10586
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10338
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
10082
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
1
7622
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6856
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5525
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5658
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
3823
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.