@woosh/meep-engine
Version:
Pure JavaScript game engine. Fully featured and production ready.
10 lines • 538 B
TypeScript
/**
* Builds a matrix with node cardinality for each Node, that is, number of edges attached to each Node
* NOTE: does not clear matrix before writing
* @template T
* @param {Graph<T>} graph
* @param {SquareMatrix} result Where to store the result
* @param {Map<T,number>} node_indices de-referencing dictionary from Node to unsigned integer index
*/
export function graph_compute_degree_matrix<T>(graph: Graph<T>, result: SquareMatrix, node_indices: Map<T, number>): void;
//# sourceMappingURL=graph_compute_degree_matrix.d.ts.map