| Products: | Compendium-TA A modelling tool | Email Control Center Free - Control Outlook | URL Control Center Free url manager | Perl Path Analysis Free Testing Tool | Test Utilities in Excel Free Testing Utilities | Test Data Utilities Free Test Data Utilities | ForceWindowVisible Free System Util |
![]() | ||
| Page 6 Appendix 1: Graph Theory Cheat Sheet Appendix 3: Relevant web sites Appendix 1: Graph Theory Cheat Sheet
A Graph
Edges Join vertices. (synonyms; Vertex:Node).
The count of the number of edges which have the vertex as an end point is the Degree of that vertex.
Concepts: -
Multiple Edges -
Loop - Two vertices are Adjacent when joined by an edge; two edges are Adjacent when they have a shared vertex -
A Weight is a value assigned to an edge, a graph
with weighted edges is a Weighted Graph - Vertices are Incident to the edge joining them -
Simple Graph has no loops or multiple edges -
Digraph is a graph where the edges have a
direction (Directed Graph) - An edge in a Digraph is called an Arc - In a digraph, the degree of a vertex is the out-degree for arcs out of the vertex and the in-degree for arcs into the vertex - A Vertex with In-degree of 0 is a Source and a Vertex with Out-degree of 0 is a Sink - Subgraph is defined in terms of a Graph minus edges; G – {e,f,g} (where e,f,g are edges) - an End Vertex has degree of 1; an Isolated Vertex has degree of 0
- A Walk is a sequence of edges, from the Initial Vertex to the Final Vertex. The length of a walk is the number of edges. - A Path is a walk in which no vertex appears more than once. - A Trail is a walk where no edge appears more than once - A walk is Closed when the Initial Vertex is the same as the Final Vertex - A Cycle is a walk where the start vertex is the end vertice.
- A Connected Graph is in one piece
- A Disconnected Graph is one with more than one piece - A Tree is a graph with 1 path between each pair of vertices. - A Forest is a disconnected graph where each graph is a tree
- Planar Graph is a graph that can be redrawn without edges crossing
Graphs can be represented non visually as lists & matrices.
Graph Types: Null, Complete, Cycle, Path, Wheel, Regular, Biparite, Cubes, Simple, Eulerian, Hamiltonian, Isomorphic
Recommended References
Appendix 2: References
Agile Modelling – Effective Practices for extreme programming and the unified process, Scott Ambler, 2002, John Wiley & Sons
Black Box Testing, Boris Beizer, 1995, John Wiley & Sons,
Software testing techniques, Boris Beizer, 1990, Van Nostrand Reinhold, 2nd Edition
Testing Object Oriented Systems, Robert V. Binder, 2000, Addison Wesley
The Compendium Developments Alternative Tools List (http://www.compendiumdev.co.uk/alttools/index.php)
The Compendium Developments Perl Path Analysis tool (http://www.compendiumdev.co.uk/perltools/) Appendix 3: Relevant web sites
Links to the majority of graph languages, lists of graph books and links to the Graph Drawing Symposiums
http://rw4.cs.uni-sb.de/users/sander/html/gstools.html Graph Drawing Tools and Related Work page has a list of tools, most of which are listed in Appendix 4
http://www.utm.edu/departments/math/graph/ Graph Theory Tutorials, by Chris Caldwell
http://www.math.uni-hamburg.de/home/diestel/books/graph.theory/ Reinhard Diestel’s ‘Graph Theory’, 2nd Edition, published by Springer, has an on-line electronic version here
http://www.model-based-testing.org/ Harry Robinson’s model based testing site always has plenty of interesting papers
http://www.compendiumdev.co.uk My web site has other writings related to graph based testing Page 6 |
|
Send mail to webmaster@compendiumdev.co.uk with questions or comments about this web site.
Copyright © 2005 Compendium Developments Ltd
Last modified:April 08, 2002