An Empirical Evaluation of BFS, and DFS Search Algorithms on J2ME Platform, and SVG Tiny Parsing on J2ME Platform Using SAX, StAX, and DOM Parsers

Venera Sengirova (1), Aidana Oralbekova (2), Nathar Shah (3)
(1) Faculty of Information Technology, Multimedia University, Malaysia
(2) Faculty of Information Technology, Multimedia University, Malaysia
(3) Faculty of Information Technology, Multimedia University, Malaysia
Fulltext View | Download
How to cite (IJASEIT) :
Sengirova, Venera, et al. “An Empirical Evaluation of BFS, and DFS Search Algorithms on J2ME Platform, and SVG Tiny Parsing on J2ME Platform Using SAX, StAX, and DOM Parsers”. International Journal on Advanced Science, Engineering and Information Technology, vol. 2, no. 5, Oct. 2012, pp. 405-10, doi:10.18517/ijaseit.2.5.234.
SVG (Scalable Vector Graphics) Tiny, an XML-based data representation format was used in our Global Train Route Planner J2ME application to render and manipulate train network  images. The SVG Tiny format enables the application to be adaptable with any train network map. We compared three parsing models namely DOM (Document Object Model), SAX (Simple API for XML), and StAX (Streaming API for XML) which were used to visualize the images on mobile phone. We present here the result of the runtime performances, and memory footprints of those parsing models. This is a significant study because handheld devices like mobile phones require seamless interactivity (i.e. high performance) with users and an efficient parsing mechanism with less memory footprints. We also empirically investigated two route searching algorithms - graph and matrix based implementation of DFS (Depth First Search), and matrix based BFS (Breadth First Search) - for performance and memory footprints on a J2ME mobile device emulator. We concluded that DOM parser and DFS based on graph implementation are of better performance than the others.

Authors who publish with this journal agree to the following terms:

    1. Authors retain copyright and grant the journal right of first publication with the work simultaneously licensed under a Creative Commons Attribution License that allows others to share the work with an acknowledgement of the work's authorship and initial publication in this journal.
    2. Authors are able to enter into separate, additional contractual arrangements for the non-exclusive distribution of the journal's published version of the work (e.g., post it to an institutional repository or publish it in a book), with an acknowledgement of its initial publication in this journal.
    3. Authors are permitted and encouraged to post their work online (e.g., in institutional repositories or on their website) prior to and during the submission process, as it can lead to productive exchanges, as well as earlier and greater citation of published work (See The Effect of Open Access).