|
MayaFlux 1.0.0
Digital-First Multimedia Processing Framework
|
|
inlinenoexcept |
Write an adjacency edge list into this table.
| edges | Index pairs, the same shape Kinesis::EdgeList is (Spatial::ProximityGraphs' sequential_chain(), k_nearest_neighbors(), minimum_spanning_tree(), and so on all return one) |
| weight | Value written at each edge |
| symmetric | When true (the default), also writes the reverse direction for every edge, matching an undirected graph. Some EdgeList producers (k_nearest_neighbors, nearest_neighbor_graph) are already directed; pass false for those. |
| normalize | When true (the default), every row touched by an edge is normalized afterward, so the result is directly usable as a transition table. |
Definition at line 224 of file Weights.hpp.
References a, b, m_cols, m_rows, normalize_row(), and weight.
Here is the call graph for this function: