Skip to content

Releases: alexandrepiveteau/kotlin-graphs

0.6.1

02 Dec 13:57
Compare
Choose a tag to compare

Improvements

  • Perform chunk copies in IntDequeue.toIntArray().
  • Support contracts in graph builders.

0.6.0

02 Dec 13:24
Compare
Choose a tag to compare

Improvements

  • Perform chunk copies in IntDequeue.toIntArray().
  • Support contracts in graph builders.

0.5.0

28 Apr 12:03
Compare
Choose a tag to compare

Algorithms

  • Add Prim's minimum spanning tree algorithm.
  • Add overloads to forEachNeighbor, forEachArc and forEachEdge with weights.

API Changes

  • Introduce a bunch of interfaces to model mutable graphs.
    • Added MutableGraph, MutableNetwork and directed/undirected variants.
    • Renamed GraphBuilderScope and variants to MutableGraphScope, which is implemented by the new MutableGraph interface.

Bug fixes

  • Remove some references to Vertex.index from multiple algorithms.

0.4.0

27 Apr 13:03
Compare
Choose a tag to compare

Algorithms

  • Add Dijkstra's shortest path algorithm.

0.3.1

25 Apr 23:22
Compare
Choose a tag to compare

Fixes

  • Make int packing functions non-inline.

0.3.0

25 Apr 22:20
Compare
Choose a tag to compare

Algorithms

  • Add a topological sort algorithm.

API Changes

  • Add Array<Vertex>.toVertexArray() and VertexArray.toTypedArray() extension methods.

0.2.0

25 Apr 13:58
Compare
Choose a tag to compare
  • Moved algorithms to the io.github.alexandrepiveteau.graphs.algorithms
    package.
  • Added scope and dedicated builder interfaces to graph builders.