Skip to content
nclandoPublic

About

golang set and binary relation interfaces and structures

Resources

Stars

1 star

Watchers

1 watching

Forks

Latest commit

 

History

32 Commits

Folders and files

Repository files navigation

set GoDoc

The set package defines the Interface for working with sets and provides an implementation of a set backed by a Go map.

Furthermore we define the interface for a BinaryRelation defined over a set. Implementations of a map backed binary relation and predicate backed binary relation are provided.

Note: In the majority of cases, a set of type T can be represented as a map[T]bool, without the excess machinery. Using a go map is about 3 times as fast.

About

golang set and binary relation interfaces and structures

Resources

Stars

1 star

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages