summary |
shortlog | log |
commit |
commitdiff |
tree
first ⋅ prev ⋅ next
Cyrus Harmon [Wed, 6 Oct 2010 21:46:39 +0000]
add floyd-warshall implementation
Cyrus Harmon [Wed, 6 Oct 2010 21:45:16 +0000]
Merge branch 'master' of git+ssh://git.cyrusharmon.org/pub/git/epigraph
Cyrus Harmon [Wed, 6 Oct 2010 21:45:09 +0000]
remove unused deepest variable
Cyrus Harmon [Thu, 8 Jul 2010 06:31:10 +0000]
remove sorry attempt at deprecating functions
Cyrus Harmon [Thu, 8 Jul 2010 06:28:42 +0000]
edge-nodes -> nodes
Cyrus Harmon [Thu, 8 Jul 2010 06:13:00 +0000]
graph-nodes -> nodes and graph-edges -> edges
Cyrus Harmon [Tue, 6 Jul 2010 00:31:18 +0000]
removed the slow version of graph-distance-matrix
Cyrus Harmon [Tue, 6 Jul 2010 00:29:14 +0000]
docstring formatting fixes.
Cyrus Harmon [Tue, 6 Jul 2010 00:28:49 +0000]
factored out some code into graph-distance-hash-table and exported that.
Cyrus Harmon [Tue, 6 Jul 2010 00:03:25 +0000]
added graph-distance and graph-distance-matrix and added *bfs-depth* special variable
Cyrus Harmon [Sun, 27 Jun 2010 02:10:27 +0000]
whitespace fix
Cyrus Harmon [Sun, 27 Jun 2010 02:09:59 +0000]
fix edgep and remove-edge-between-nodes to work with non-cons edges.
Cyrus Harmon [Sat, 26 Jun 2010 22:51:19 +0000]
added find-longest-paths and find-longest-path
Cyrus Harmon [Sun, 23 May 2010 22:24:08 +0000]
remove version.lisp-expr stuff.
Cyrus Harmon [Sat, 13 Jun 2009 16:37:06 +0000]
add doc/epigraph.pdf to .gitignore
Cyrus Harmon [Sat, 13 Jun 2009 16:36:34 +0000]
update generated documentation based on new smarkup bug fixes
Cyrus Harmon [Sat, 13 Jun 2009 16:19:21 +0000]
nodges -> nodes typo
Cyrus Harmon [Sat, 13 Jun 2009 16:19:10 +0000]
update copyright
Cyrus Harmon [Sun, 25 Jan 2009 09:05:53 +0000]
added make-node-hash-table
Cyrus Harmon [Sun, 11 Jan 2009 22:52:08 +0000]
added and exported some node and edge functions
* node-remove
* map-edges, map-edges->list
Cyrus Harmon [Sun, 11 Jan 2009 19:07:58 +0000]
various edge API changes
* edges-nodes-equal now defaults to (test 'equal)
* exported node-find, node-remove
* added and exported self-edge-p, node-equal
Cyrus Harmon [Sun, 11 Jan 2009 00:06:54 +0000]
added node-position and node-find
Cyrus Harmon [Sun, 14 Dec 2008 22:40:49 +0000]
minor edge cleanups
* add-edge and add-edge-between-nodes now return the edge
* export remove-edge-between-nodes
* documentation and tests
Cyrus Harmon [Thu, 11 Dec 2008 16:40:58 +0000]
map-nodes (and map-nodes->list) argument order change
* now take fn as first argument rather than second
* add NEWS to reflect this change
Cyrus Harmon [Mon, 8 Dec 2008 17:12:51 +0000]
add other-edge-node
* export other-edge-node and edges-nodes-equal
Cyrus Harmon [Mon, 8 Dec 2008 05:56:07 +0000]
added edges-nodes-equal
Cyrus Harmon [Mon, 8 Dec 2008 03:56:50 +0000]
edge/neighbor changes
* added edge-nodes gf and method.
* edgep now checks both "directions" of the edge. add a FIXME
to think about whether or not this is right in the long term.
* neighbors arg element -> node
* added neighbors-and-edges method (FIXME: no gf yet!)
* find-cycles now takes a pick-function that can be used to select
which edge to break
* export edge-nodes
* more simple edge tests
Cyrus Harmon [Sat, 6 Dec 2008 00:10:17 +0000]
big-graph test cleanup
Cyrus Harmon [Fri, 5 Dec 2008 18:35:59 +0000]
add some simple find-connected-component tests
Cyrus Harmon [Fri, 5 Dec 2008 17:56:38 +0000]
add map-nodes->list and fix remove-connected-component bug
* r-c-c wasn't working if we passed in a graph with no edges.
Cyrus Harmon [Sat, 29 Nov 2008 07:55:53 +0000]
export bfs-map-edges and dfs-map-edges
Cyrus Harmon [Sat, 29 Nov 2008 07:55:19 +0000]
fix xhtml stylesheet
* update docs a bit while we're at it
Cyrus Harmon [Sat, 29 Nov 2008 00:14:07 +0000]
remove-node, edge mapping and connected components operations
* added bfs-map-edges, dfs-map-edges
* added remove-node gf and method
* updated copy-graph docs
* remove-connected-component and find-connected-components
functions
Cyrus Harmon [Fri, 28 Nov 2008 22:00:50 +0000]
add inline stylesheet
Cyrus Harmon [Thu, 27 Nov 2008 06:20:00 +0000]
documentation, including putting the css inline.
Cyrus Harmon [Wed, 26 Nov 2008 19:57:20 +0000]
added .gitignore
Cyrus Harmon [Wed, 26 Nov 2008 19:57:04 +0000]
added scratch.lisp
Cyrus Harmon [Wed, 26 Nov 2008 19:55:05 +0000]
add epigraph-doc.asd
Cyrus Harmon [Wed, 26 Nov 2008 19:54:51 +0000]
make links prettier
Cyrus Harmon [Wed, 26 Nov 2008 19:45:57 +0000]
update xhtml doc
Cyrus Harmon [Wed, 26 Nov 2008 19:45:48 +0000]
more doc work
Cyrus Harmon [Wed, 26 Nov 2008 19:45:33 +0000]
added a FIXME note and first-node gf
Cyrus Harmon [Wed, 26 Nov 2008 18:03:02 +0000]
starting to document graph generic functions, etc...
Cyrus Harmon [Wed, 26 Nov 2008 18:02:32 +0000]
documentation, comments and a declare ignore.
Cyrus Harmon [Wed, 26 Nov 2008 07:06:04 +0000]
start docs about the node-agnostic philosophy of graphs
Cyrus Harmon [Wed, 26 Nov 2008 07:05:34 +0000]
cycle fixes
* don't return the first node of the cycle at the end of the node list
* properly return nil from find-cycles when there are no cycles instead
of causing an error.
Cyrus Harmon [Tue, 25 Nov 2008 07:05:56 +0000]
simplify edges a bit
* continuing the trend, edges no longer have an explicit graph slot
* added copy-edge
* added &key copy-edges to copy-graph
* find-cycle now returns the edges of the cycle, not just the last edge
* added a FIXME about find-cycle docs
* export copy-edge
Cyrus Harmon [Mon, 24 Nov 2008 22:04:26 +0000]
reorder values in find-cycle
* add some documentation strings
Cyrus Harmon [Mon, 24 Nov 2008 21:27:32 +0000]
export find-cycle and find-cycles
* remove debugging print
Cyrus Harmon [Mon, 24 Nov 2008 21:24:31 +0000]
adding cycle-finding stuff
* remove-edge now takes an edge instead of two nodes
* various bug fixes regarding graph-node-test
* added find-cycle and find-cycles
* beef test back up to 6000
Cyrus Harmon [Mon, 24 Nov 2008 19:07:30 +0000]
fixing various graph searching routines for the new node regime
* added forgotten utilities.lisp file
* minor doc update
* added node-test slot to graph class
* reworked make-graph
* added test args to find-edges-* etc...
* fix bfs and dfs bugs (working with key, test, new nodes, etc...)
* neighbors now only includes the node itself if there is a self-edge
* start cleaning up tests
Cyrus Harmon [Sun, 16 Nov 2008 05:28:58 +0000]
don't export removed symbols
Cyrus Harmon [Sun, 16 Nov 2008 05:08:56 +0000]
removed node class
* no any object can be a node. we give up the easy string -> node
mapping, but we allow, say, strings to be nodes and some other
class that sits on top of the graph can manage the string - object
mapping.
Cyrus Harmon [Sun, 16 Nov 2008 04:32:43 +0000]
remove element from neighbors
* putting aside for the moment what happens with self-edges...
Cyrus Harmon [Sat, 15 Nov 2008 18:05:16 +0000]
added graph-nodes and map-nodes
* exported map-nodes
* some more docs
Cyrus Harmon [Fri, 14 Nov 2008 21:45:56 +0000]
add print-node-data and print-edge-data and have print-object methods call these
add node-count
export print-node-data and print-edge-data
Cyrus Harmon [Fri, 14 Nov 2008 21:45:00 +0000]
gray background for :pre
Cyrus Harmon [Thu, 13 Nov 2008 19:21:25 +0000]
added doc/index.xhtml and some class definitions to epigraph-doc.sexp
Cyrus Harmon [Thu, 13 Nov 2008 08:32:18 +0000]
add-edge -> add-edge-between-nodes and add a new add-edge function
* changed the test examples to match
Cyrus Harmon [Thu, 13 Nov 2008 01:55:40 +0000]
add-edge now takes &key edge-class
* add *default-edge-class* 'edge
* copy-graph now makes edge objects of the same class as the edge
being copied
* export #:edge #:node1 #:node2 #:edge-data and #:default-edge-class
Cyrus Harmon [Thu, 13 Nov 2008 01:36:35 +0000]
make edges edge class objects instead of conses
* fixed a typo in node2 slot definition
* added edge data slot
* added print-object for edge
* edge-list-graph -> simple-edge-list-graph
* copy-graph now copies the graph-node-name-hash and the edges
* add-edge, remove-edge, edgep, find-edges-from, find-edges-to work with
the new edge class
Cyrus Harmon [Wed, 12 Nov 2008 19:59:33 +0000]
fix find-edges-containing infinite-loop
* we weren't specializing on node and therefore kept calling the general
function in a loop.
Cyrus Harmon [Wed, 12 Nov 2008 19:38:53 +0000]
added methods for add-edge, remove-edge, find-edges-* that take node-identifiers
minor doc work and scratch examples.
added NOTES
Cyrus Harmon [Wed, 12 Nov 2008 02:09:10 +0000]
added graph-node-p
Cyrus Harmon [Wed, 12 Nov 2008 02:03:01 +0000]
allow for multiple edges between the same nodes
add so far unused edge class
add graph subclasses -- might go away
add add-node function
Cyrus Harmon [Tue, 11 Nov 2008 06:00:57 +0000]
adding epigraph-test.asd, test/package.lisp and test/epigraph-test.lisp
Cyrus Harmon [Mon, 10 Nov 2008 20:29:56 +0000]
add alternative approach to bfs and dfs using a general-search algorithm.
not sure if I'll swap this in for the other or not.
Cyrus Harmon [Mon, 10 Nov 2008 18:56:21 +0000]
remove bfs2 as bfs works just as well now.
Cyrus Harmon [Mon, 10 Nov 2008 18:55:58 +0000]
use a hash-table instead of a list for the visited nodes. big win
on graphs with lots of edges.
remove unused bfs-node-data.
Cyrus Harmon [Mon, 10 Nov 2008 17:30:07 +0000]
depend on alexandria for copy-hash
add make-instance
remove nodes slot from graph
add *default-graph-class* and use this as the default value for
&key graph-class for the new make-graph function
add bfs-node-data class and bfs2 for posterity, even though I'll
probably remove them shortly.
egde-list-graph now stores is its nodes in a hash-table instead
of a list. edges are still stored in a list, however.
added add-node, get-node, find-node and with-graph-iterator
added add-edge
exported make-node, make-graph, *default-graph-class*, add-node
get-node and first-node
Cyrus Harmon [Sun, 9 Nov 2008 19:12:15 +0000]
begin documentation effort
add and export find-node function
Cyrus Harmon [Sat, 8 Nov 2008 17:17:05 +0000]
export copy-graph and neighbors
Cyrus Harmon [Sat, 8 Nov 2008 17:16:53 +0000]
added copy-graph and neighbors generic functions
use neighbors in search functions
added neighbors methods for graph
added copy-graph method for edge-list-graphs
Cyrus Harmon [Sat, 8 Nov 2008 07:29:18 +0000]
add &key key test to bfs, bfs-map, dfs, and dfs-map.
Cyrus Harmon [Sat, 8 Nov 2008 06:53:35 +0000]
fix typo
Cyrus Harmon [Sat, 8 Nov 2008 06:40:22 +0000]
fist version