GraphAlg Playground

Compile and execute GraphAlg programs in your browser!

func SSSP(
    graph: Matrix<s1, s1, trop_real>,
    source: Vector<s1, bool>) -> Vector<s1, trop_real> {
  v = cast<trop_real>(source);
  for i in graph.nrows {
    v += v * graph;
  }
  return v;
}

This site uses Just the Docs, a documentation theme for Jekyll.