Skip to content

yamafaktory/hypergraphz

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

32 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

HyperZig - A Hypergraph Implementation in Zig

HyperZig 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 hyperzig as a dependency to your build.zig.zon:

zig fetch --save https://github.com/yamafaktory/hyperzig/archive/<commit-hash>.tar.gz

Add hyperzig as a dependency to your build.zig:

const hyperzig = b.dependency("hyperzig", .{
    .target = target,
    .optimize = optimize,
});
exe.root_module.addImport("hyperzig", hyperzig.module("hyperzig"));

Releases

No releases published

Packages

No packages published

Languages