Global

Type Definitions

SubsetPropsInitializer(i) → {Object}

Defines initial properties for a subset. Initially, a set with n elements will contain n subsets, each containing a single element.
Parameters:
Name Type Description
i Number The element the initial subset will contain.
Source:
Returns:
Properties of the initial subset containing element i.
Type
Object

SubsetPropsReducer(s1, s2, edgeProps) → {Object}

Defines how subset properties are combined when two subsets are merged as the result of a union.
Parameters:
Name Type Description
s1 Object Properties of a subset.
s2 Object Properties of a subset.
edgeProps Object Properties of the edge that will join sets s1 and s2.
Source:
Returns:
Properties of the merged subset.
Type
Object