473,385 Members | 1,798 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

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 1798

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

Similar topics

0
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...
7
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...
1
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...
19
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...
3
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...
7
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...
5
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...
4
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
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
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
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,...
0
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...

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.