Archeometer.Analysis.DSM.Utils (Archeometer v0.5.0)

Functions to iterate over the DSM matrix to find the coordinates of the modules that have cyclic dependencies.

Link to this section Summary

Functions

Generates a map where the keys are the matrix coordinates of all dependencies in the DSM, and the values the type of dependency.

Get coordinates of the modules that have cyclic dependencies. On the matrix, thse are the modules above the diagonal.

Link to this section Functions

Link to this function

to_coord_mtx(dsm)

Generates a map where the keys are the matrix coordinates of all dependencies in the DSM, and the values the type of dependency.

parameters

Parameters

  • dsm the dependency structure matrix.

returns

Returns

  • A map with the module coordinates and the type of dependency as a value.
Link to this function

upper_right_empty?(t1, t2, t3)

Link to this function

upper_right_group_corners(dsm)

Get coordinates of the modules that have cyclic dependencies. On the matrix, thse are the modules above the diagonal.

parameters

Parameters

  • dsm the dependency structure matrix.

returns

Returns

  • r and c coordinates in the DSM.