Code covered by the BSD License
-
BG=grBase(E)
Function BG=grBase(E) find all bases of digraph.
-
CBG=grCoBase(E)
Function CBG=grCoBase(E) find all contrabases of digraph.
-
CoCycles=grCoCycleBasis(E)
Function CoCycles=grCoCycleBasis(E) find
-
Cycles=grCycleBasis(E)
Function Cycles=grCycleBasis(E) find
-
Etc=grTranClos(E)
Function Etc=grTranClos(E) built
-
[CrP,Ts,Td]=grPERT(E)
-
[Dec,Ord]=grDecOrd(E)
Function Dec=grDecOrd(E) solve
-
[Ec,Rad,Diam,Cv,Pv]=grEccentr...
Function Ec=grEccentricity(E) find the (weighted)
-
[IsIsomorph,Permut]=grIsomorp...
Function [IsIsomorph,Permut]=grIsomorph(E1,E2,n)
-
[dMWP,ssp]=grShortVerPath(E,W...
Function dMVP=grShortVerPath(E,Wv) for digraph with weighted vertexes
-
[dSP,sp]=grDistances(E,s,t)
Function dSP=grDistances(E) find the distances
-
[dSP,sp]=grShortPath(E,s,t)
Function dSP=grShortPath(E) solve the problem about
-
[eu,cEu]=grIsEulerian(E)
Function eu=grIsEulerian(E) returns 1 for Eulerian graph,
-
[nMCS,mf]=grMinCutSet(E,s,t)
-
[pTS,fmin]=grTravSale(C)
Function [pTS,fmin]=grTravSale(C) solve the nonsymmetrical
-
[v,mf]=grMaxFlows(E,s,t)
-
grValidation(E);
The validation of array E - auxiliary function for GrTheory Toolbox.
-
h=grPlot(V,E,kind,vkind,ekind...
Function h=grPlot(V,E,kind,vkind,ekind,sa)
-
mCol=grColEdge(E)
function mCol=grColEdge(E) solve the color graph problem
-
nCol=grColVer(E)
function nCol=grColVer(E) solve the color graph problem
-
nCol=grColVerOld(E)
function nCol=grColVer(E) solve the color graph problem
-
nMC=grMinEdgeCover(E)
Function nMC=grMinEdgeCover(E) solve the minimal edge cover problem.
-
nMC=grMinVerCover(E,d)
Function nMC=grMinVerCover(E,d) solve the minimal vertex cover problem.
-
nMM=grMaxMatch(E)
Function nMM=grMaxMath(E) solve the maximal matching problem.
-
nMS=grMaxComSu(E,d)
Function nMS=grMaxComSu(E,d) solve
-
nMS=grMaxStabSet(E,d)
Function nMS=grMaxStabSet(E,d) solve the maximal stable set problem.
-
nMS=grMinAbsEdgeSet(E)
Function nMS=grMinAbsEdgeSet(E) solve the minimal absorbant set problem
-
nMS=grMinAbsVerSet(E,d)
Function nMS=grMinAbsVerSet(E,d) solve the minimal absorbant set problem
-
nMST=grMinSpanTree(E)
Function nMST=grMinSpanTree(E) solve
-
ncV=grComp(E,n)
Function ncV=grComp(E,n) find all components of the graph.
-
Contents.m
-
grTheoryTest.m
-
View all files
grTheory - Graph Theory Toolbox
by Sergii Iglin
16 Dec 2003
(Updated 30 Jan 2011)
28 functions for different tasks of graph theory
|
Watch this File
|
| File Information |
| Description |
GrTheory - Graph Theory Toolbox.
Functions:
grBase - find all bases of digraph;
grCoBase - find all contrabases of digraph;
grCoCycleBasis - find all independent cut-sets for a connected graph;
grColEdge - solve the color problem for graph edges;
grColVer - solve the color problem for graph vertexes;
grComp - find all components of graph;
grCycleBasis - find all independent cycles for a connected graph;
grDecOrd - solve the problem about decomposition of the digraph to the sections with mutually accessed vertexes (strongly connected components);
grDistances - find the distances between any vertexes of graph;
grEccentricity - find the (weighted) eccentricity of all vertexes, radius, diameter, center vertexes and the periphery vertexes;
grIsEulerian - find the Eulerian cycle of graph;
grIsomorph - solve the problem about isomorphism for two graphs;
grMaxComSu - solve the maximal complete sugraph problem for the graph;
grMaxFlows - solve the maximal flow problem for the digraph;
grMaxMatch - solve the maximal matching problem for the graph;
grMaxStabSet - solve the maximal stable set problem for the graph;
grMinAbsEdgeSet - solve the minimal absorbant set problem for the graph edges;
grMinAbsVerSet - solve the minimal absorbant set problem for the graph vertexes;
grMinCutSet - solve the minimal cut-set problem for the digraph;
grMinEdgeCover - solve the minimal edge cover problem for the graph;
grMinSpanTree - solve the minimal spanning tree problem for the graph;
grMinVerCover - solve the minimal vertex cover problem for the graph;
grPERT - solve the project evaluation research task;
grPlot - draw the plot of the graph (digraph);
grShortPath - solve the shortest path problem for the digraph;
grShortVerPath - for digraph with weighted vertexes solve the problem about the path with minimal weight of verticies;
grTranClos - built the transitive closure for the digraph;
grTravSale - solve the nonsymmetrical traveling salesman problem;
grValidation - auxiliary function (the data validation);
grTheoryTest - test program for all functions. |
| Required Products |
Optimization Toolbox
|
| MATLAB release |
MATLAB 7.0.1 (R14SP1)
|
| Other requirements |
PC |
|
Tags for This File
|
| Everyone's Tags |
|
| Tags I've Applied |
|
| Add New Tags |
Please login to tag files.
|
| Comments and Ratings (39) |
| 21 Dec 2003 |
x s
|
|
|
| 12 Feb 2004 |
Alex Pesch
|
|
|
| 23 Feb 2004 |
Nick Valuy
|
|
|
| 12 Mar 2004 |
ahmed kolsi
|
|
|
| 14 Jun 2004 |
Michael Waisberg
|
|
|
| 13 Dec 2004 |
Alexandre Felt
|
|
|
| 29 Dec 2004 |
Zhenya Donchik
|
|
|
| 02 Apr 2005 |
Vlastislav Weiner
|
|
|
| 10 Apr 2005 |
Igor Yegorkin
|
|
|
| 25 May 2005 |
sanith Wijesinghe
|
|
|
| 31 Aug 2005 |
Pablo Riera
|
|
|
| 20 Oct 2005 |
giu giu
|
|
|
| 22 Jul 2006 |
wael rashwan
|
|
|
| 28 Jun 2007 |
li yifan china
|
|
|
| 21 Aug 2007 |
Ahmad AbdulWakeel
|
|
|
| 28 Sep 2007 |
gloria macapagal
|
|
|
| 19 Oct 2007 |
hiro mano
|
|
|
| 19 Oct 2007 |
xue huiyan
|
|
|
| 05 Feb 2008 |
xm blade
|
|
|
| 06 May 2008 |
jason tharmaraj
|
|
|
| 07 May 2008 |
Andi Patombongi
|
|
|
| 23 May 2008 |
Swamy Korada
|
|
|
| 10 Aug 2008 |
fan fanwen
|
|
|
| 18 Aug 2008 |
Tim Davis
|
|
|
| 19 Aug 2008 |
li pengfei
|
|
|
| 26 Aug 2008 |
rose rose
|
|
|
| 11 Sep 2008 |
Chao Wang
|
|
|
| 19 Nov 2008 |
Andrew Jackson
|
|
|
| 02 Sep 2009 |
Florian
|
|
|
| 30 Mar 2010 |
Tomaz
|
|
|
| 19 Apr 2010 |
Sergii Iglin
|
|
|
| 09 Jun 2010 |
Wang
|
|
|
| 30 Jun 2010 |
Sergii Iglin
|
|
|
| 02 Oct 2010 |
Tianfan XUE
|
|
|
| 28 Mar 2011 |
kira
|
|
|
| 13 Apr 2011 |
Adina Stoica
|
|
|
| 18 Nov 2011 |
Nina
|
|
|
| 18 Jan 2012 |
kira
|
|
|
| 12 Mar 2012 |
Martin
|
|
|
| Updates |
|
A bug in grPlot is corrected. |
| 24 Dec 2003 |
Draws the graph and solves the tasks: Maximal Flow, Maximal Matching, Minimal Vertex Cover, Minimal Spanning Tree, Shortest Path etc. |
| 20 Jan 2004 |
Draws the graph and solves the tasks: Maximal Flow, Maximal Matching, Minimal Vertex Cover, Minimal Spanning Tree, Shortest Path etc. |
| 09 Feb 2004 |
ShortPath had update for fast calculation |
| 26 Aug 2004 |
The new e-mail is added |
| 14 Sep 2004 |
PlotGraph is updated |
| 11 Oct 2004 |
CycleBasis is updated |
| 28 Mar 2006 |
All functions are updated, new functions are added. |
| 30 Mar 2006 |
Summary title is updated |
| 26 Apr 2006 |
The function grMinAbsEdgeSet are included. |
| 09 May 2006 |
The grMinSpanTree had update;
two new functions are created. |
| 16 May 2006 |
The function grPERT is added. |
| 29 Jun 2006 |
Two new functions is added. One function with bugs is deleted. |
| 05 Jul 2006 |
Two new functions is added |
| 08 Aug 2006 |
The function grDecOrd has update. |
| 25 May 2007 |
A bug in grPlot is corrected. |
| 11 Jul 2009 |
two new functions are added |
| 09 Nov 2009 |
Bugs in some functions for work with the isolated vertexes were corrected. Thanks to Marcin Eichner! |
| 30 Jan 2011 |
New function grShortVerPath is added. |
|
Contact us at files@mathworks.com