Documentation ¶ Index ¶ type Edge type EdgeSet func (ec EdgeSet) Contains(edge Edge) bool func (ec EdgeSet) FindByNodes(node1, node2 Node) (Edge, bool) func (ec EdgeSet) Free(node Node) bool func (ec EdgeSet) SymmetricDifference(ec2 EdgeSet) EdgeSet Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ This section is empty. Types ¶ type Edge ¶ type Edge struct { Node1 int Node2 int } type EdgeSet ¶ type EdgeSet []Edge func (EdgeSet) Contains ¶ func (ec EdgeSet) Contains(edge Edge) bool func (EdgeSet) FindByNodes ¶ func (ec EdgeSet) FindByNodes(node1, node2 Node) (Edge, bool) func (EdgeSet) Free ¶ func (ec EdgeSet) Free(node Node) bool func (EdgeSet) SymmetricDifference ¶ func (ec EdgeSet) SymmetricDifference(ec2 EdgeSet) EdgeSet Source Files ¶ View all Source files edge.go Click to show internal directories. Click to hide internal directories.