[New library] hypergraphz: HypergraphZ - A Hypergraph Implementation in Zig
[New library] hypergraphz: HypergraphZ - A Hypergraph Implementation in Zig
github.com GitHub - yamafaktory/hypergraphz: HypergraphZ - A Hypergraph Implementation in Zig
HypergraphZ - A Hypergraph Implementation in Zig. Contribute to yamafaktory/hypergraphz development by creating an account on GitHub.
From the README:
HypergraphZ - A Hypergraph Implementation in Zig
HypergraphZ is a directed hypergraph implementation in Zig (https://en.wikipedia.org/wiki/Hypergraph):
- Each hyperedge can contain zero, one (unary) or multiple vertices.
- Each hyperedge can contain vertices directed to themselves one or more times.
Usage
Add hypergraphz
as a dependency to your build.zig.zon
:
zig fetch --save https://github.com/yamafaktory/hypergraphz/archive/<commit-hash>.tar.gz
Add hypergraphz
as a dependency to your build.zig
:
const hypergraphz = b.dependency("hypergraphz", .{
.target = target,
.optimize = optimize,
});
exe.root_module.addImport("hypergraphz", hypergraphz.module("hypergraphz"));
Documentation
The latest online documentation can be found here.
0
comments