add
Method of SSEAlgorithm.
add(const SSEVertex vertex, const Map payload) -> SSEAlgorithm
Adds a vertex to the algorithm. Payload supports either legacy map ['support_name':weight] or {weights: [...], branch_groups: [...]} format.
Parameters
- vertex: The vertex to add.
- payload: Weights map and optional branch groups map.