Skip to content
This repository has been archived by the owner on Jun 14, 2022. It is now read-only.

CameronAavik/GraphFS

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GraphFS

Graph Algorithm library for F#

Example Usage

let g = 
    Graph.empty
    |> Graph.addEdge (0, 1)
    |> Graph.addEdges [(1, 2); (2, 3); (3, 4)]
    |> Graph.removeEdge (1, 2)

printfn "Nodes: %A" (Graph.verts g |> Seq.toList) // Nodes: [0; 1; 2; 3; 4]
printfn "Neighbours of 2: %A" (Graph.neighbours 2 g |> Seq.toList) // Neighbours of 2: [3]

About

Graph library for F#

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages