sdboyer / gogl

A graph library in Go
MIT License
77 stars 13 forks source link

See if negative bitmasks can be used for parts of GraphSpec #23

Open sdboyer opened 10 years ago

sdboyer commented 10 years ago

there's a TODO in builder.go for moving the zero-vals, e.g., G_UNDIRECTED, over to being negative bitmasks (that is, simply ensuring the absence of certain other flags). this approach seems the better way, if possible to do, so try to do it.