Remove unnecessary explicit typing and remove _ in generics
Replace discouraged TupleN with () syntax
Suggested by dobblego in #scala, thanks!
Remove unnecessary asInstanceOf
Add write function
This proof-of-concept function dumps a given graph into a
Graphviz-compatible 'dot' file, which can be rendered into images for
The function most certainly needs work, currently it's nothing but a
simple debugging aid.
Add DFS algorithm
Add deg, del and suc
Replace foldLeft with /:, just for fun
Listing all contexts in a graph can be achieved using ufold, no need for a
special method (for now).
Implement gpred en gsucc
Add extractor ("&v:") to BaseGraph
The method is now called &: as well, needs a better name.
Code is imperative, needs to be cleaned up. getContexts is not
tail-recursive, needs to be fixed as well.
Cleanup match cases in algorithms
Add pattern matching test
Allow Seq as Adj type, not limited to List
Define (hopefully correct) type variance rules on Graph
Add building information to README
Add edge validation on construction
Remove context and graph on BaseGraph and Empty
Enable unchecked warnings during compilation
Some code cleanups
Add some more spec tests
Add first testcase
Initial import of ScalaGraphs