DocumentCode
1706095
Title
Formal description of a generic graph model with RTPA
Author
Adewumi, Aderemi ; Wang, Yingxu
Author_Institution
Dept. of Comput. Sci., Lagos Univ., Nigeria
Volume
3
fYear
2004
Firstpage
1537
Abstract
Formal specification of abstract data types (ADTs) is important in modeling system architectures and their implementations. One of the most widely used ADTs is graph, since many problems in sciences and engineering can be formulated and solved by a graph model. In this paper, we present a formal approach to the specification of graphs as an ADT using real-time process algebra (RTPA). RTPA is a formal method that describes a software system, especially a real-time system, as a set of processes. We use RTPA to describe a generic graph model in three parts encompassing the architecture, static and dynamic behaviors. In the RTPA specification, the graph behaviors can be classified into four categories, namely: (a) basic operations (InsertNode, DeleteNode, InsertEdge, DeleteEdge, GetSize, GetNumberOfEdges, Retrieve, Update, and Search); (b) node/edge-specific operations (FindNode, FindEdge, Fanin, Fanout, FindNeighbours, and Degree); (c) pointer operations (CurrentNode and CurrentEdge); and (d) utility operations (Create, Clear, and Release). Each of the 20 operations is formally described by an RTPA processes in a unified encapsulation of graph behaviors. On the basis of the RTPA graph model, a wide range of graph-based applications can be implemented by sharing the common architecture and behaviors of the graph as a system type or class.
Keywords
abstract data types; data structures; formal specification; graph theory; process algebra; real-time systems; ADT; RTPA; RTPA specification; abstract data types; basic operations; common graph architecture sharing; common graph behavior sharing; edge-specific operations; formal description; formal method; formal specification; generic graph model; graph model; graph model architecture; graph model dynamic behavior; graph model static behavior; graph-based applications; node-specific operations; pointer operations; real-time process algebra; software engineering; software system; system architecture modeling; unified encapsulation graph behaviors; utility operations; Algebra; Application software; Computer architecture; Encapsulation; Formal specifications; Mathematical model; Real time systems; Software engineering; Software systems; Tree graphs;
fLanguage
English
Publisher
ieee
Conference_Titel
Electrical and Computer Engineering, 2004. Canadian Conference on
ISSN
0840-7789
Print_ISBN
0-7803-8253-6
Type
conf
DOI
10.1109/CCECE.2004.1349699
Filename
1349699
Link To Document