User Guide: CLI: Clustering Operation Commands
Clustering Operation Commands
The following commands allow users to manipulate DSM matrices, including:
Cluster a DSM based on namespace or package structureCluster a DSM into a Design Rule Hierarchy
Cluster a DSM into a lower-triangle form
Cluster a DSM Based on Namespace or Package Structure
This command computes the namespace cluster for a dependency matrix.
Usage
dv8-console core:namespace-cluster [-h] [-outputFile <OUTPUTFILE>] INPUT_FILE
Input
The input is a DSM file (*.dv8-dsm) generated by DV8.
Options
outputFile: The output clustering file to create (*.dv8-clsx). Defaults to the same filename as the input dependency matrix file in the current working folder.
Example
dv8-console core:namespace-cluster -outputFile clustering.dv8-clsx structure-dsm.dv8-dsm
Cluster a DSM into a Design Rule Hierarchy
This command computes the design rule hierarchy for a dependency matrix.
Usage
dv8-console dr-hier:dr-hier [-h] [-maxDepth <INTEGER>] [-modules] [-outputFile <OUTPUTFILE>] [-recursive] INPUT_FILE
Input
The input is a DSM file (*.dv8-dsm) generated by DV8.
Options
maxDepth: Recursion depth limit.
modules: Merge modules following the same set of design rules if switched on.
outputFile: The output clustering file to create (*.dv8-clsx). Defaults to the same filename as the input dependency matrix file in the current working folder.
recursive: Use the recursive algorithm if switched on.
Example
dv8-console dr-hier:dr-hier -outputFile clustering.dv8-clsx structure-dsm.dv8-dsm