packages feed

fregel-1.2.0: haskell/sssp2.hs

{-# LANGUAGE CPP #-}

import Fregel
import Graphs
import Prelude hiding (minimum)

-- we need the identity element (bigger than anything) for minimum, but...
minimum [] = 1000000
minimum xs = foldr1 min xs

#include "../sample-programs/sssp2.fgl"