91 lines
5.1 KiB
HTML
91 lines
5.1 KiB
HTML
|
<!DOCTYPE html>
|
||
|
<html>
|
||
|
<head>
|
||
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
||
|
<title>CLiki: graph-utils</title>
|
||
|
<link rel="alternate" type="application/atom+xml" title="ATOM feed of edits to current article"
|
||
|
href="https://www.cliki.net/site/feed/article.atom?title=graph-utils">
|
||
|
<link rel="stylesheet" href="static/css/style.css">
|
||
|
<link rel="stylesheet" href="static/css/colorize.css">
|
||
|
</head>
|
||
|
|
||
|
<body>
|
||
|
<span class="hidden">CLiki - graph-utils</span>
|
||
|
<div id="content"><div id="content-area"><div id="article-title">graph-utils</div><div id="article">graph-utils: graph analysis <a href="utilities.html" class="internal">utilities</a> for Common Lisp<p>This library started off as a project for a social network analysis class. It is somewhat simple, but reasonably useful, so I thought I would make it available for others.<p>The source is available on github: <a href="https://github.com/kraison/graph-utils">https://github.com/kraison/graph-utils</a><p>Author: <a href="Kevin Raison.html" class="internal">Kevin Raison</a>, <a href="mailto:raison@chatsubo.net">raison@chatsubo.net</a><p>License: <a href="MIT-License.html" class="internal">MIT-License</a><p>Dependencies: <a href="cl-ppcre.html" class="internal">cl-ppcre</a>, <a href="dso-lex.html" class="internal">dso-lex</a>, <a href="cl-yacc.html" class="internal">cl-yacc</a>, <a href="trivial-shell.html" class="internal">trivial-shell</a>, <a href="parse-number.html" class="internal">parse-number</a>, <a href="alexandria.html" class="internal">alexandria</a>, <a href="bordeaux-threads.html" class="internal">bordeaux-threads</a><p>Implements the following functionality:
|
||
|
<ol>
|
||
|
<li> Create directed and undirected graphs with a single edge type
|
||
|
</li>
|
||
|
<li> Compare graphs using graph= method
|
||
|
</li>
|
||
|
<li> Bulk-add function for adding lots of nodes and growing the adjacency matrix in one operation, thus speeding up the node addition process quite a bit
|
||
|
</li>
|
||
|
<li> Neighbors, outbound-edges and inbound-edges methods for listing a node's neighbors in directed and undirected graphs
|
||
|
</li>
|
||
|
<li> Edge deletion and creation methods
|
||
|
</li>
|
||
|
<li> Functions for mapping over all nodes and edges
|
||
|
</li>
|
||
|
<li> Denisty calculation
|
||
|
</li>
|
||
|
<li> Node degree & degree distribution calculation
|
||
|
</li>
|
||
|
<li> An implementation of Dijkstra's algorithm
|
||
|
</li>
|
||
|
<li> Distance map calculation
|
||
|
</li>
|
||
|
<li> Methods to find all components in a graph
|
||
|
</li>
|
||
|
<li> Graph visualization using the Graphviz library
|
||
|
</li>
|
||
|
<li> Random graph generation using the two methods specified in our labs
|
||
|
</li>
|
||
|
<li> Clustering algorithms based on edge betweenness and edge span
|
||
|
</li>
|
||
|
<li> Page rank and page rank distribution calculation
|
||
|
</li>
|
||
|
<li> Hubs and authorities calculation
|
||
|
</li>
|
||
|
<li> Graph center calculator
|
||
|
</li>
|
||
|
<li> GML and Pajek .net graph file format parsers
|
||
|
</li>
|
||
|
</ol><p>TODO:
|
||
|
Get rid of the adjacency matrix and add typed edges.<p><hr>
|
||
|
<a href="Mathematics.html" class="category">Mathematics</a></div></div>
|
||
|
<div id="footer" class="buttonbar"><ul><li><a href="graph-utils.html">Current version</a></li>
|
||
|
<li><a href="https://www.cliki.net/site/history?article=graph-utils">History</a></li>
|
||
|
<li><a href="https://www.cliki.net/site/backlinks?article=graph-utils">Backlinks</a></li><li><a href="https://www.cliki.net/site/edit-article?title=graph-utils&from-revision=3803308082">Edit</a></li><li><a href="https://www.cliki.net/site/edit-article?create=t">Create</a></li></ul></div>
|
||
|
</div>
|
||
|
<div id="header-buttons" class="buttonbar">
|
||
|
<ul>
|
||
|
<li><a href="https://www.cliki.net/">Home</a></li>
|
||
|
<li><a href="https://www.cliki.net/site/recent-changes">Recent Changes</a></li>
|
||
|
<li><a href="CLiki.html">About</a></li>
|
||
|
<li><a href="Text Formatting.html">Text Formatting</a></li>
|
||
|
<li><a href="https://www.cliki.net/site/tools">Tools</a></li>
|
||
|
</ul>
|
||
|
<div id="search">
|
||
|
<form action="https://www.cliki.net/site/search">
|
||
|
<label for="search_query" class="hidden">Search CLiki</label>
|
||
|
<input type="text" name="query" id="search_query" value="" />
|
||
|
<input type="submit" value="search" />
|
||
|
</form>
|
||
|
</div>
|
||
|
</div>
|
||
|
<div id="pageheader">
|
||
|
<div id="header">
|
||
|
<span id="logo">CLiki</span>
|
||
|
<span id="slogan">the common lisp wiki</span>
|
||
|
<div id="login"><form method="post" action="https://www.cliki.net/site/login">
|
||
|
<label for="login_name" class="hidden">Account name</label>
|
||
|
<input type="text" name="name" id="login_name" class="login_input" />
|
||
|
<label for= "login_password" class="hidden">Password</label>
|
||
|
<input type="password" name="password" id="login_password" class="login_input" />
|
||
|
<input type="submit" name="login" value="login" id="login_submit" /><br />
|
||
|
<div id="register"><a href="https://www.cliki.net/site/register">register</a></div>
|
||
|
<input type="submit" name="reset-pw" value="reset password" id="reset_pw" />
|
||
|
</form>
|
||
|
</div>
|
||
|
</div>
|
||
|
</div>
|
||
|
</body></html>
|