Provides actions for network analysis
Calculates the cycles of a graph.
If a row includes a subparameter, you can specify the name, caslib, and so on in the subparameter. Otherwise, you can specify the name, caslib, and so on in the parameter.
|
Parameter |
Subparameter |
Description |
|---|---|---|
|
— |
specifies the input data table that contains the graph link information. |
|
|
— |
specifies the input data table that contains the graph node information. |
|
Parameter |
Subparameter |
Description |
|---|---|---|
|
— |
specifies the output data table to contain the nodes of the cycles. |
|
|
— |
specifies the output data table to contain the links of the cycles. |
|
|
— |
specifies the output data table to contain summary information about in-memory graphs. |
|
|
— |
specifies the output data table to contain the graph link information along with any results from the algorithms that calculate metrics on links. |
|
|
— |
specifies the output data table to contain the graph node information along with any results from the algorithms that calculate metrics on nodes. |
|
|
names |
lists the names of results tables to save as CAS tables on the server. |
specifies which algorithm to use in enumerating cycles. By default, the value of the algorithm parameter is BACKTRACK when the value of the maxLength parameter is greater than 20; otherwise, the default value of the algorithm parameter is BUILD.
when set to True, ensures that each invocation (with the same machine configuration and parameter settings) produces the same final result.
| Default | TRUE |
|---|
specifies whether to consider the input graph as directed or undirected.
| Default | UNDIRECTED |
|---|
considers the input graph to be directed. In a directed graph, each link (i,j) has a direction that defines how something (such as information) can flow over that link. In link (i,j), the flow is from node i to node j. Node i is called the source (tail) node, and node j is called the sink (head) node.
specifies a list of results tables to send to the client for display.
For more information about specifying the display parameter, see the common displayTables parameter (Appendix A: Common Parameters).
when set to True, uses a distributed graph.
| Default | FALSE |
|---|
specifies the in-memory graph to use.
| Default | -1 |
|---|
specifies the index offset for identifiers in the log and results output data tables. For example, if three entities are found, they are labeled entity 0, 1, and 2 by default. If the value of indexOffset is 4, the entities are labeled entity 4, 5, and 6.
| Default | 0 |
|---|---|
| Minimum value | 0 |
specifies the input data table that contains the graph link information.
| Long form | links={name="table-name"} |
|---|---|
| Shortcut form | links="table-name" |
The castable value can be one or more of the following:
specifies the caslib for the input table that you want to use with the action. By default, the active caslib is used. Specify a value only if you need to access a table from a different caslib.
when set to True, creates the computed variables when the table is loaded instead of when the action begins.
| Alias | compOnDemand |
|---|---|
| Default | FALSE |
specifies the names of the computed variables to create. Specify an expression for each variable in the computedVarsProgram parameter. If you do not specify this parameter, then all variables from computedVarsProgram are automatically included.
| Alias | compVars |
|---|
The casinvardesc value can be one or more of the following:
specifies the format to apply to the variable.
specifies the length of the format field plus the length of the format precision.
specifies the descriptive label for the variable.
specifies the name for the variable.
specifies the length of the format precision.
specifies the length of the format field.
specifies an expression for each computed variable that you include in the computedVars parameter.
| Alias | compPgm |
|---|
specifies data source options.
| Aliases | options |
|---|---|
| dataSource |
specifies the names of the variables to use for grouping results.
The casinvardesc value can be one or more of the following:
specifies the format to apply to the variable.
specifies the length of the format field plus the length of the format precision.
specifies the descriptive label for the variable.
specifies the name for the variable.
specifies the length of the format precision.
specifies the length of the format field.
specifies the settings for reading a table from a data source.
| Alias | import |
|---|
For more information about specifying the importOptions parameter, see the common importOptions parameter (Appendix A: Common Parameters).
specifies the name of the input table.
specifies the variables to use in the action.
The casinvardesc value can be one or more of the following:
specifies the format to apply to the variable.
specifies the length of the format field plus the length of the format precision.
specifies the descriptive label for the variable.
specifies the name for the variable.
specifies the length of the format precision.
specifies the length of the format field.
specifies an expression for subsetting the input data.
specifies an input table that contains rows to use as a WHERE filter. If the vars parameter is not specified, then all the variable names that are common to the input table and the filtering table are used to find matching rows. If the where parameter for the input table and this parameter are specified, then this filtering table is applied first.
The groupbytable value can be one or more of the following:
specifies the caslib for the filter table. By default, the active caslib is used.
specifies the settings for reading a table from a data source.
| Alias | import |
|---|
For more information about specifying the importOptions parameter, see the common importOptions parameter (Appendix A: Common Parameters).
specifies the name of the filter table.
specifies the variable names to use from the filter table.
The casinvardesc value can be one or more of the following:
specifies the format to apply to the variable.
specifies the length of the format field plus the length of the format precision.
specifies the descriptive label for the variable.
specifies the name for the variable.
specifies the length of the format precision.
specifies the length of the format field.
specifies an expression for subsetting the data from the filter table.
specifies the data variable names for the links table.
For more information about specifying the linksVar parameter, see the common linksVar parameter (Appendix A: Common Parameters).
controls the frequency n (in seconds) for displaying iteration logs for some algorithms, where n can be any integer greater than or equal to 1. This parameter is useful for computationally intensive algorithms. Setting n too low can hurt algorithm performance.
| Alias | logFrequencyTime |
|---|---|
| Default | 5 |
| Minimum value | 1 |
controls the amount of information that is displayed in the SAS log.
| Default | BASIC |
|---|
specifies the maximum number of cycles to return during cycle enumeration. You can specify either a number or ALL. If you specify a number, it must be greater than or equal to 1.
| Default | 1 |
|---|---|
| ALL | represents the maximum that can be represented by a 64-bit integer. |
specifies the maximum number of links in a cycle. Any cycle whose length is greater than this value is removed from the results. The default is the largest number that can be represented by a 32-bit integer, which causes no cycles to be removed from the results.
| Minimum value | 1 |
|---|
specifies the maximum sum of link weights in a cycle. Any cycle whose sum of link weights is greater than this value is removed from the results. The default is the largest number that can be represented by a double, which causes no cycles to be removed from the results.
specifies the maximum sum of node weights in a cycle. Any cycle whose sum of node weights is greater than this value is removed from the results. The default is the largest number that can be represented by a double, which causes no cycles to be removed from the results.
specifies the maximum amount of time for the algorithm to spend. The default is the largest number that can be represented by a double.
| Minimum value (exclusive) | 0 |
|---|
specifies the minimum number of links in a cycle. Any cycle that has fewer links than this value is removed from the results. By default, no cycles are removed from the results.
| Default | 1 |
|---|---|
| Minimum value | 1 |
specifies the minimum sum of link weights in a cycle. Any cycle whose sum of link weights is less than this value is removed from the results. The default is the largest (in magnitude) negative number that can be represented by a double, which causes no cycles to be removed from the results.
specifies the minimum sum of node weights in a cycle. Any cycle whose sum of node weights is less than this value is removed from the results. The default is the largest (in magnitude) negative number that can be represented by a double, which causes no cycles to be removed from the results.
when set to True, includes multilinks when an input graph is read. By default, the value of this parameter is True for algorithms that support multilinks.
specifies the input data table that contains the graph node information.
| Long form | nodes={name="table-name"} |
|---|---|
| Shortcut form | nodes="table-name" |
The castable value can be one or more of the following:
specifies the caslib for the input table that you want to use with the action. By default, the active caslib is used. Specify a value only if you need to access a table from a different caslib.
when set to True, creates the computed variables when the table is loaded instead of when the action begins.
| Alias | compOnDemand |
|---|---|
| Default | FALSE |
specifies the names of the computed variables to create. Specify an expression for each variable in the computedVarsProgram parameter. If you do not specify this parameter, then all variables from computedVarsProgram are automatically included.
| Alias | compVars |
|---|
The casinvardesc value can be one or more of the following:
specifies the format to apply to the variable.
specifies the length of the format field plus the length of the format precision.
specifies the descriptive label for the variable.
specifies the name for the variable.
specifies the length of the format precision.
specifies the length of the format field.
specifies an expression for each computed variable that you include in the computedVars parameter.
| Alias | compPgm |
|---|
specifies data source options.
| Aliases | options |
|---|---|
| dataSource |
specifies the settings for reading a table from a data source.
| Alias | import |
|---|
For more information about specifying the importOptions parameter, see the common importOptions parameter (Appendix A: Common Parameters).
specifies the name of the input table.
specifies the variables to use in the action.
The casinvardesc value can be one or more of the following:
specifies the format to apply to the variable.
specifies the length of the format field plus the length of the format precision.
specifies the descriptive label for the variable.
specifies the name for the variable.
specifies the length of the format precision.
specifies the length of the format field.
specifies an expression for subsetting the input data.
specifies an input table that contains rows to use as a WHERE filter. If the vars parameter is not specified, then all the variable names that are common to the input table and the filtering table are used to find matching rows. If the where parameter for the input table and this parameter are specified, then this filtering table is applied first.
The groupbytable value can be one or more of the following:
specifies the caslib for the filter table. By default, the active caslib is used.
specifies the settings for reading a table from a data source.
| Alias | import |
|---|
For more information about specifying the importOptions parameter, see the common importOptions parameter (Appendix A: Common Parameters).
specifies the name of the filter table.
specifies the variable names to use from the filter table.
The casinvardesc value can be one or more of the following:
specifies the format to apply to the variable.
specifies the length of the format field plus the length of the format precision.
specifies the descriptive label for the variable.
specifies the name for the variable.
specifies the length of the format precision.
specifies the length of the format field.
specifies an expression for subsetting the data from the filter table.
specifies the data variable names for the nodes table.
| Long form | nodesVar={node="variable-name"} |
|---|---|
| Shortcut form | nodesVar="variable-name" |
The nodesVar value can be one or more of the following:
specifies the data variable name for the nodes.
| Default | "node" |
|---|
specifies the additional data variable names for node attributes.
specifies the output data variable names for node attributes.
specifies the data variable name for the node weights.
| Default | "weight" |
|---|
specifies the maximum number of threads to use for multithreaded processing.
| Range | 1–1024 |
|---|
specifies the output data table to contain the nodes of the cycles.
For more information about specifying the out parameter, see the common casouttable (Form 1) parameter (Appendix A: Common Parameters).
| Alias | outCyclesNodes |
|---|
specifies the output data table to contain the links of the cycles.
For more information about specifying the outCyclesLinks parameter, see the common casouttable (Form 1) parameter (Appendix A: Common Parameters).
specifies the output data table to contain summary information about in-memory graphs.
For more information about specifying the outGraphList parameter, see the common casouttable (Form 1) parameter (Appendix A: Common Parameters).
specifies the output data table to contain the graph link information along with any results from the algorithms that calculate metrics on links.
For more information about specifying the outLinks parameter, see the common casouttable (Form 1) parameter (Appendix A: Common Parameters).
specifies the output data table to contain the graph node information along with any results from the algorithms that calculate metrics on nodes.
For more information about specifying the outNodes parameter, see the common casouttable (Form 1) parameter (Appendix A: Common Parameters).
lists the names of results tables to save as CAS tables on the server.
For more information about specifying the outputTables parameter, see the common outputTables parameter (Appendix A: Common Parameters).
| Alias | displayOut |
|---|
when set to True, includes self-links when an input graph is read.
| Default | TRUE |
|---|
when set to True, specifies that the input graph data are in a standardized format.
| Default | FALSE |
|---|
when set to True, requests that the output graph data include standardized format.
| Default | FALSE |
|---|
contains a basic summary of the graph input. The result is a table. You can access the value from results.ProblemSummary.
contains a basic solution summary for the algorithm. The result is a table. You can access the value from results.SolutionSummary.
indicates the number of cycles found by the algorithm. The result is a 64-bit integer. You can access the value from results.numCycles.
indicates the solution status of the selected problem type (algorithm class). The result is a string. You can access the value from results.solutionStatus.
Calculates the cycles of a graph.
If a row includes a subparameter, you can specify the name, caslib, and so on in the subparameter. Otherwise, you can specify the name, caslib, and so on in the parameter.
|
Parameter |
Subparameter |
Description |
|---|---|---|
|
— |
specifies the input data table that contains the graph link information. |
|
|
— |
specifies the input data table that contains the graph node information. |
|
Parameter |
Subparameter |
Description |
|---|---|---|
|
— |
specifies the output data table to contain the nodes of the cycles. |
|
|
— |
specifies the output data table to contain the links of the cycles. |
|
|
— |
specifies the output data table to contain summary information about in-memory graphs. |
|
|
— |
specifies the output data table to contain the graph link information along with any results from the algorithms that calculate metrics on links. |
|
|
— |
specifies the output data table to contain the graph node information along with any results from the algorithms that calculate metrics on nodes. |
|
|
names |
lists the names of results tables to save as CAS tables on the server. |
specifies which algorithm to use in enumerating cycles. By default, the value of the algorithm parameter is BACKTRACK when the value of the maxLength parameter is greater than 20; otherwise, the default value of the algorithm parameter is BUILD.
when set to True, ensures that each invocation (with the same machine configuration and parameter settings) produces the same final result.
| Default | true |
|---|
specifies whether to consider the input graph as directed or undirected.
| Default | UNDIRECTED |
|---|
considers the input graph to be directed. In a directed graph, each link (i,j) has a direction that defines how something (such as information) can flow over that link. In link (i,j), the flow is from node i to node j. Node i is called the source (tail) node, and node j is called the sink (head) node.
specifies a list of results tables to send to the client for display.
For more information about specifying the display parameter, see the common displayTables parameter (Appendix A: Common Parameters).
when set to True, uses a distributed graph.
| Default | false |
|---|
specifies the in-memory graph to use.
| Default | -1 |
|---|
specifies the index offset for identifiers in the log and results output data tables. For example, if three entities are found, they are labeled entity 0, 1, and 2 by default. If the value of indexOffset is 4, the entities are labeled entity 4, 5, and 6.
| Default | 0 |
|---|---|
| Minimum value | 0 |
specifies the input data table that contains the graph link information.
| Long form | links={name="table-name"} |
|---|---|
| Shortcut form | links="table-name" |
The castable value can be one or more of the following:
specifies the caslib for the input table that you want to use with the action. By default, the active caslib is used. Specify a value only if you need to access a table from a different caslib.
when set to True, creates the computed variables when the table is loaded instead of when the action begins.
| Alias | compOnDemand |
|---|---|
| Default | false |
specifies the names of the computed variables to create. Specify an expression for each variable in the computedVarsProgram parameter. If you do not specify this parameter, then all variables from computedVarsProgram are automatically included.
| Alias | compVars |
|---|
The casinvardesc value can be one or more of the following:
specifies the format to apply to the variable.
specifies the length of the format field plus the length of the format precision.
specifies the descriptive label for the variable.
specifies the name for the variable.
specifies the length of the format precision.
specifies the length of the format field.
specifies an expression for each computed variable that you include in the computedVars parameter.
| Alias | compPgm |
|---|
specifies data source options.
| Aliases | options |
|---|---|
| dataSource |
specifies the names of the variables to use for grouping results.
The casinvardesc value can be one or more of the following:
specifies the format to apply to the variable.
specifies the length of the format field plus the length of the format precision.
specifies the descriptive label for the variable.
specifies the name for the variable.
specifies the length of the format precision.
specifies the length of the format field.
specifies the settings for reading a table from a data source.
| Alias | import |
|---|
For more information about specifying the importOptions parameter, see the common importOptions parameter (Appendix A: Common Parameters).
specifies the name of the input table.
specifies the variables to use in the action.
The casinvardesc value can be one or more of the following:
specifies the format to apply to the variable.
specifies the length of the format field plus the length of the format precision.
specifies the descriptive label for the variable.
specifies the name for the variable.
specifies the length of the format precision.
specifies the length of the format field.
specifies an expression for subsetting the input data.
specifies an input table that contains rows to use as a WHERE filter. If the vars parameter is not specified, then all the variable names that are common to the input table and the filtering table are used to find matching rows. If the where parameter for the input table and this parameter are specified, then this filtering table is applied first.
The groupbytable value can be one or more of the following:
specifies the caslib for the filter table. By default, the active caslib is used.
specifies the settings for reading a table from a data source.
| Alias | import |
|---|
For more information about specifying the importOptions parameter, see the common importOptions parameter (Appendix A: Common Parameters).
specifies the name of the filter table.
specifies the variable names to use from the filter table.
The casinvardesc value can be one or more of the following:
specifies the format to apply to the variable.
specifies the length of the format field plus the length of the format precision.
specifies the descriptive label for the variable.
specifies the name for the variable.
specifies the length of the format precision.
specifies the length of the format field.
specifies an expression for subsetting the data from the filter table.
specifies the data variable names for the links table.
For more information about specifying the linksVar parameter, see the common linksVar parameter (Appendix A: Common Parameters).
controls the frequency n (in seconds) for displaying iteration logs for some algorithms, where n can be any integer greater than or equal to 1. This parameter is useful for computationally intensive algorithms. Setting n too low can hurt algorithm performance.
| Alias | logFrequencyTime |
|---|---|
| Default | 5 |
| Minimum value | 1 |
controls the amount of information that is displayed in the SAS log.
| Default | BASIC |
|---|
specifies the maximum number of cycles to return during cycle enumeration. You can specify either a number or ALL. If you specify a number, it must be greater than or equal to 1.
| Default | 1 |
|---|---|
| ALL | represents the maximum that can be represented by a 64-bit integer. |
specifies the maximum number of links in a cycle. Any cycle whose length is greater than this value is removed from the results. The default is the largest number that can be represented by a 32-bit integer, which causes no cycles to be removed from the results.
| Minimum value | 1 |
|---|
specifies the maximum sum of link weights in a cycle. Any cycle whose sum of link weights is greater than this value is removed from the results. The default is the largest number that can be represented by a double, which causes no cycles to be removed from the results.
specifies the maximum sum of node weights in a cycle. Any cycle whose sum of node weights is greater than this value is removed from the results. The default is the largest number that can be represented by a double, which causes no cycles to be removed from the results.
specifies the maximum amount of time for the algorithm to spend. The default is the largest number that can be represented by a double.
| Minimum value (exclusive) | 0 |
|---|
specifies the minimum number of links in a cycle. Any cycle that has fewer links than this value is removed from the results. By default, no cycles are removed from the results.
| Default | 1 |
|---|---|
| Minimum value | 1 |
specifies the minimum sum of link weights in a cycle. Any cycle whose sum of link weights is less than this value is removed from the results. The default is the largest (in magnitude) negative number that can be represented by a double, which causes no cycles to be removed from the results.
specifies the minimum sum of node weights in a cycle. Any cycle whose sum of node weights is less than this value is removed from the results. The default is the largest (in magnitude) negative number that can be represented by a double, which causes no cycles to be removed from the results.
when set to True, includes multilinks when an input graph is read. By default, the value of this parameter is True for algorithms that support multilinks.
specifies the input data table that contains the graph node information.
| Long form | nodes={name="table-name"} |
|---|---|
| Shortcut form | nodes="table-name" |
The castable value can be one or more of the following:
specifies the caslib for the input table that you want to use with the action. By default, the active caslib is used. Specify a value only if you need to access a table from a different caslib.
when set to True, creates the computed variables when the table is loaded instead of when the action begins.
| Alias | compOnDemand |
|---|---|
| Default | false |
specifies the names of the computed variables to create. Specify an expression for each variable in the computedVarsProgram parameter. If you do not specify this parameter, then all variables from computedVarsProgram are automatically included.
| Alias | compVars |
|---|
The casinvardesc value can be one or more of the following:
specifies the format to apply to the variable.
specifies the length of the format field plus the length of the format precision.
specifies the descriptive label for the variable.
specifies the name for the variable.
specifies the length of the format precision.
specifies the length of the format field.
specifies an expression for each computed variable that you include in the computedVars parameter.
| Alias | compPgm |
|---|
specifies data source options.
| Aliases | options |
|---|---|
| dataSource |
specifies the settings for reading a table from a data source.
| Alias | import |
|---|
For more information about specifying the importOptions parameter, see the common importOptions parameter (Appendix A: Common Parameters).
specifies the name of the input table.
specifies the variables to use in the action.
The casinvardesc value can be one or more of the following:
specifies the format to apply to the variable.
specifies the length of the format field plus the length of the format precision.
specifies the descriptive label for the variable.
specifies the name for the variable.
specifies the length of the format precision.
specifies the length of the format field.
specifies an expression for subsetting the input data.
specifies an input table that contains rows to use as a WHERE filter. If the vars parameter is not specified, then all the variable names that are common to the input table and the filtering table are used to find matching rows. If the where parameter for the input table and this parameter are specified, then this filtering table is applied first.
The groupbytable value can be one or more of the following:
specifies the caslib for the filter table. By default, the active caslib is used.
specifies the settings for reading a table from a data source.
| Alias | import |
|---|
For more information about specifying the importOptions parameter, see the common importOptions parameter (Appendix A: Common Parameters).
specifies the name of the filter table.
specifies the variable names to use from the filter table.
The casinvardesc value can be one or more of the following:
specifies the format to apply to the variable.
specifies the length of the format field plus the length of the format precision.
specifies the descriptive label for the variable.
specifies the name for the variable.
specifies the length of the format precision.
specifies the length of the format field.
specifies an expression for subsetting the data from the filter table.
specifies the data variable names for the nodes table.
| Long form | nodesVar={node="variable-name"} |
|---|---|
| Shortcut form | nodesVar="variable-name" |
The nodesVar value can be one or more of the following:
specifies the data variable name for the nodes.
| Default | "node" |
|---|
specifies the additional data variable names for node attributes.
specifies the output data variable names for node attributes.
specifies the data variable name for the node weights.
| Default | "weight" |
|---|
specifies the maximum number of threads to use for multithreaded processing.
| Range | 1–1024 |
|---|
specifies the output data table to contain the nodes of the cycles.
For more information about specifying the out parameter, see the common casouttable (Form 1) parameter (Appendix A: Common Parameters).
| Alias | outCyclesNodes |
|---|
specifies the output data table to contain the links of the cycles.
For more information about specifying the outCyclesLinks parameter, see the common casouttable (Form 1) parameter (Appendix A: Common Parameters).
specifies the output data table to contain summary information about in-memory graphs.
For more information about specifying the outGraphList parameter, see the common casouttable (Form 1) parameter (Appendix A: Common Parameters).
specifies the output data table to contain the graph link information along with any results from the algorithms that calculate metrics on links.
For more information about specifying the outLinks parameter, see the common casouttable (Form 1) parameter (Appendix A: Common Parameters).
specifies the output data table to contain the graph node information along with any results from the algorithms that calculate metrics on nodes.
For more information about specifying the outNodes parameter, see the common casouttable (Form 1) parameter (Appendix A: Common Parameters).
lists the names of results tables to save as CAS tables on the server.
For more information about specifying the outputTables parameter, see the common outputTables parameter (Appendix A: Common Parameters).
| Alias | displayOut |
|---|
when set to True, includes self-links when an input graph is read.
| Default | true |
|---|
when set to True, specifies that the input graph data are in a standardized format.
| Default | false |
|---|
when set to True, requests that the output graph data include standardized format.
| Default | false |
|---|
contains a basic summary of the graph input. The result is a table. You can access the value from results.ProblemSummary.
contains a basic solution summary for the algorithm. The result is a table. You can access the value from results.SolutionSummary.
indicates the number of cycles found by the algorithm. The result is a 64-bit integer. You can access the value from results.numCycles.
indicates the solution status of the selected problem type (algorithm class). The result is a string. You can access the value from results.solutionStatus.
Calculates the cycles of a graph.
If a row includes a subparameter, you can specify the name, caslib, and so on in the subparameter. Otherwise, you can specify the name, caslib, and so on in the parameter.
|
Parameter |
Subparameter |
Description |
|---|---|---|
|
— |
specifies the input data table that contains the graph link information. |
|
|
— |
specifies the input data table that contains the graph node information. |
|
Parameter |
Subparameter |
Description |
|---|---|---|
|
— |
specifies the output data table to contain the nodes of the cycles. |
|
|
— |
specifies the output data table to contain the links of the cycles. |
|
|
— |
specifies the output data table to contain summary information about in-memory graphs. |
|
|
— |
specifies the output data table to contain the graph link information along with any results from the algorithms that calculate metrics on links. |
|
|
— |
specifies the output data table to contain the graph node information along with any results from the algorithms that calculate metrics on nodes. |
|
|
names |
lists the names of results tables to save as CAS tables on the server. |
specifies which algorithm to use in enumerating cycles. By default, the value of the algorithm parameter is BACKTRACK when the value of the maxLength parameter is greater than 20; otherwise, the default value of the algorithm parameter is BUILD.
when set to True, ensures that each invocation (with the same machine configuration and parameter settings) produces the same final result.
| Default | True |
|---|
specifies whether to consider the input graph as directed or undirected.
| Default | UNDIRECTED |
|---|
considers the input graph to be directed. In a directed graph, each link (i,j) has a direction that defines how something (such as information) can flow over that link. In link (i,j), the flow is from node i to node j. Node i is called the source (tail) node, and node j is called the sink (head) node.
specifies a list of results tables to send to the client for display.
For more information about specifying the display parameter, see the common displayTables parameter (Appendix A: Common Parameters).
when set to True, uses a distributed graph.
| Default | False |
|---|
specifies the in-memory graph to use.
| Default | -1 |
|---|
specifies the index offset for identifiers in the log and results output data tables. For example, if three entities are found, they are labeled entity 0, 1, and 2 by default. If the value of indexOffset is 4, the entities are labeled entity 4, 5, and 6.
| Default | 0 |
|---|---|
| Minimum value | 0 |
specifies the input data table that contains the graph link information.
| Long form | links={"name":"table-name"} |
|---|---|
| Shortcut form | links="table-name" |
The castable value can be one or more of the following:
specifies the caslib for the input table that you want to use with the action. By default, the active caslib is used. Specify a value only if you need to access a table from a different caslib.
when set to True, creates the computed variables when the table is loaded instead of when the action begins.
| Alias | compOnDemand |
|---|---|
| Default | False |
specifies the names of the computed variables to create. Specify an expression for each variable in the computedVarsProgram parameter. If you do not specify this parameter, then all variables from computedVarsProgram are automatically included.
| Alias | compVars |
|---|
The casinvardesc value can be one or more of the following:
specifies the format to apply to the variable.
specifies the length of the format field plus the length of the format precision.
specifies the descriptive label for the variable.
specifies the name for the variable.
specifies the length of the format precision.
specifies the length of the format field.
specifies an expression for each computed variable that you include in the computedVars parameter.
| Alias | compPgm |
|---|
specifies data source options.
| Aliases | options |
|---|---|
| dataSource |
specifies the names of the variables to use for grouping results.
The casinvardesc value can be one or more of the following:
specifies the format to apply to the variable.
specifies the length of the format field plus the length of the format precision.
specifies the descriptive label for the variable.
specifies the name for the variable.
specifies the length of the format precision.
specifies the length of the format field.
specifies the settings for reading a table from a data source.
| Alias | import_ |
|---|
For more information about specifying the importOptions parameter, see the common importOptions parameter (Appendix A: Common Parameters).
specifies the name of the input table.
specifies the variables to use in the action.
The casinvardesc value can be one or more of the following:
specifies the format to apply to the variable.
specifies the length of the format field plus the length of the format precision.
specifies the descriptive label for the variable.
specifies the name for the variable.
specifies the length of the format precision.
specifies the length of the format field.
specifies an expression for subsetting the input data.
specifies an input table that contains rows to use as a WHERE filter. If the vars parameter is not specified, then all the variable names that are common to the input table and the filtering table are used to find matching rows. If the where parameter for the input table and this parameter are specified, then this filtering table is applied first.
The groupbytable value can be one or more of the following:
specifies the caslib for the filter table. By default, the active caslib is used.
specifies the settings for reading a table from a data source.
| Alias | import_ |
|---|
For more information about specifying the importOptions parameter, see the common importOptions parameter (Appendix A: Common Parameters).
specifies the name of the filter table.
specifies the variable names to use from the filter table.
The casinvardesc value can be one or more of the following:
specifies the format to apply to the variable.
specifies the length of the format field plus the length of the format precision.
specifies the descriptive label for the variable.
specifies the name for the variable.
specifies the length of the format precision.
specifies the length of the format field.
specifies an expression for subsetting the data from the filter table.
specifies the data variable names for the links table.
For more information about specifying the linksVar parameter, see the common linksVar parameter (Appendix A: Common Parameters).
controls the frequency n (in seconds) for displaying iteration logs for some algorithms, where n can be any integer greater than or equal to 1. This parameter is useful for computationally intensive algorithms. Setting n too low can hurt algorithm performance.
| Alias | logFrequencyTime |
|---|---|
| Default | 5 |
| Minimum value | 1 |
controls the amount of information that is displayed in the SAS log.
| Default | BASIC |
|---|
specifies the maximum number of cycles to return during cycle enumeration. You can specify either a number or ALL. If you specify a number, it must be greater than or equal to 1.
| Default | 1 |
|---|---|
| ALL | represents the maximum that can be represented by a 64-bit integer. |
specifies the maximum number of links in a cycle. Any cycle whose length is greater than this value is removed from the results. The default is the largest number that can be represented by a 32-bit integer, which causes no cycles to be removed from the results.
| Minimum value | 1 |
|---|
specifies the maximum sum of link weights in a cycle. Any cycle whose sum of link weights is greater than this value is removed from the results. The default is the largest number that can be represented by a double, which causes no cycles to be removed from the results.
specifies the maximum sum of node weights in a cycle. Any cycle whose sum of node weights is greater than this value is removed from the results. The default is the largest number that can be represented by a double, which causes no cycles to be removed from the results.
specifies the maximum amount of time for the algorithm to spend. The default is the largest number that can be represented by a double.
| Minimum value (exclusive) | 0 |
|---|
specifies the minimum number of links in a cycle. Any cycle that has fewer links than this value is removed from the results. By default, no cycles are removed from the results.
| Default | 1 |
|---|---|
| Minimum value | 1 |
specifies the minimum sum of link weights in a cycle. Any cycle whose sum of link weights is less than this value is removed from the results. The default is the largest (in magnitude) negative number that can be represented by a double, which causes no cycles to be removed from the results.
specifies the minimum sum of node weights in a cycle. Any cycle whose sum of node weights is less than this value is removed from the results. The default is the largest (in magnitude) negative number that can be represented by a double, which causes no cycles to be removed from the results.
when set to True, includes multilinks when an input graph is read. By default, the value of this parameter is True for algorithms that support multilinks.
specifies the input data table that contains the graph node information.
| Long form | nodes={"name":"table-name"} |
|---|---|
| Shortcut form | nodes="table-name" |
The castable value can be one or more of the following:
specifies the caslib for the input table that you want to use with the action. By default, the active caslib is used. Specify a value only if you need to access a table from a different caslib.
when set to True, creates the computed variables when the table is loaded instead of when the action begins.
| Alias | compOnDemand |
|---|---|
| Default | False |
specifies the names of the computed variables to create. Specify an expression for each variable in the computedVarsProgram parameter. If you do not specify this parameter, then all variables from computedVarsProgram are automatically included.
| Alias | compVars |
|---|
The casinvardesc value can be one or more of the following:
specifies the format to apply to the variable.
specifies the length of the format field plus the length of the format precision.
specifies the descriptive label for the variable.
specifies the name for the variable.
specifies the length of the format precision.
specifies the length of the format field.
specifies an expression for each computed variable that you include in the computedVars parameter.
| Alias | compPgm |
|---|
specifies data source options.
| Aliases | options |
|---|---|
| dataSource |
specifies the settings for reading a table from a data source.
| Alias | import_ |
|---|
For more information about specifying the importOptions parameter, see the common importOptions parameter (Appendix A: Common Parameters).
specifies the name of the input table.
specifies the variables to use in the action.
The casinvardesc value can be one or more of the following:
specifies the format to apply to the variable.
specifies the length of the format field plus the length of the format precision.
specifies the descriptive label for the variable.
specifies the name for the variable.
specifies the length of the format precision.
specifies the length of the format field.
specifies an expression for subsetting the input data.
specifies an input table that contains rows to use as a WHERE filter. If the vars parameter is not specified, then all the variable names that are common to the input table and the filtering table are used to find matching rows. If the where parameter for the input table and this parameter are specified, then this filtering table is applied first.
The groupbytable value can be one or more of the following:
specifies the caslib for the filter table. By default, the active caslib is used.
specifies the settings for reading a table from a data source.
| Alias | import_ |
|---|
For more information about specifying the importOptions parameter, see the common importOptions parameter (Appendix A: Common Parameters).
specifies the name of the filter table.
specifies the variable names to use from the filter table.
The casinvardesc value can be one or more of the following:
specifies the format to apply to the variable.
specifies the length of the format field plus the length of the format precision.
specifies the descriptive label for the variable.
specifies the name for the variable.
specifies the length of the format precision.
specifies the length of the format field.
specifies an expression for subsetting the data from the filter table.
specifies the data variable names for the nodes table.
| Long form | nodesVar={"node":"variable-name"} |
|---|---|
| Shortcut form | nodesVar="variable-name" |
The nodesVar value can be one or more of the following:
specifies the data variable name for the nodes.
| Default | "node" |
|---|
specifies the additional data variable names for node attributes.
specifies the output data variable names for node attributes.
specifies the data variable name for the node weights.
| Default | "weight" |
|---|
specifies the maximum number of threads to use for multithreaded processing.
| Range | 1–1024 |
|---|
specifies the output data table to contain the nodes of the cycles.
For more information about specifying the out parameter, see the common casouttable (Form 1) parameter (Appendix A: Common Parameters).
| Alias | outCyclesNodes |
|---|
specifies the output data table to contain the links of the cycles.
For more information about specifying the outCyclesLinks parameter, see the common casouttable (Form 1) parameter (Appendix A: Common Parameters).
specifies the output data table to contain summary information about in-memory graphs.
For more information about specifying the outGraphList parameter, see the common casouttable (Form 1) parameter (Appendix A: Common Parameters).
specifies the output data table to contain the graph link information along with any results from the algorithms that calculate metrics on links.
For more information about specifying the outLinks parameter, see the common casouttable (Form 1) parameter (Appendix A: Common Parameters).
specifies the output data table to contain the graph node information along with any results from the algorithms that calculate metrics on nodes.
For more information about specifying the outNodes parameter, see the common casouttable (Form 1) parameter (Appendix A: Common Parameters).
lists the names of results tables to save as CAS tables on the server.
For more information about specifying the outputTables parameter, see the common outputTables parameter (Appendix A: Common Parameters).
| Alias | displayOut |
|---|
when set to True, includes self-links when an input graph is read.
| Default | True |
|---|
when set to True, specifies that the input graph data are in a standardized format.
| Default | False |
|---|
when set to True, requests that the output graph data include standardized format.
| Default | False |
|---|
contains a basic summary of the graph input. The result is a table. You can access the value from results.ProblemSummary.
contains a basic solution summary for the algorithm. The result is a table. You can access the value from results.SolutionSummary.
indicates the number of cycles found by the algorithm. The result is a 64-bit integer. You can access the value from results.numCycles.
indicates the solution status of the selected problem type (algorithm class). The result is a string. You can access the value from results.solutionStatus.
Calculates the cycles of a graph.
If a row includes a subparameter, you can specify the name, caslib, and so on in the subparameter. Otherwise, you can specify the name, caslib, and so on in the parameter.
|
Parameter |
Subparameter |
Description |
|---|---|---|
|
— |
specifies the input data table that contains the graph link information. |
|
|
— |
specifies the input data table that contains the graph node information. |
|
Parameter |
Subparameter |
Description |
|---|---|---|
|
— |
specifies the output data table to contain the nodes of the cycles. |
|
|
— |
specifies the output data table to contain the links of the cycles. |
|
|
— |
specifies the output data table to contain summary information about in-memory graphs. |
|
|
— |
specifies the output data table to contain the graph link information along with any results from the algorithms that calculate metrics on links. |
|
|
— |
specifies the output data table to contain the graph node information along with any results from the algorithms that calculate metrics on nodes. |
|
|
names |
lists the names of results tables to save as CAS tables on the server. |
specifies which algorithm to use in enumerating cycles. By default, the value of the algorithm parameter is BACKTRACK when the value of the maxLength parameter is greater than 20; otherwise, the default value of the algorithm parameter is BUILD.
when set to True, ensures that each invocation (with the same machine configuration and parameter settings) produces the same final result.
| Default | TRUE |
|---|
specifies whether to consider the input graph as directed or undirected.
| Default | UNDIRECTED |
|---|
considers the input graph to be directed. In a directed graph, each link (i,j) has a direction that defines how something (such as information) can flow over that link. In link (i,j), the flow is from node i to node j. Node i is called the source (tail) node, and node j is called the sink (head) node.
specifies a list of results tables to send to the client for display.
For more information about specifying the display parameter, see the common displayTables parameter (Appendix A: Common Parameters).
when set to True, uses a distributed graph.
| Default | FALSE |
|---|
specifies the in-memory graph to use.
| Default | -1 |
|---|
specifies the index offset for identifiers in the log and results output data tables. For example, if three entities are found, they are labeled entity 0, 1, and 2 by default. If the value of indexOffset is 4, the entities are labeled entity 4, 5, and 6.
| Default | 0 |
|---|---|
| Minimum value | 0 |
specifies the input data table that contains the graph link information.
| Long form | links=list(name="table-name") |
|---|---|
| Shortcut form | links="table-name" |
The castable value can be one or more of the following:
specifies the caslib for the input table that you want to use with the action. By default, the active caslib is used. Specify a value only if you need to access a table from a different caslib.
when set to True, creates the computed variables when the table is loaded instead of when the action begins.
| Alias | compOnDemand |
|---|---|
| Default | FALSE |
specifies the names of the computed variables to create. Specify an expression for each variable in the computedVarsProgram parameter. If you do not specify this parameter, then all variables from computedVarsProgram are automatically included.
| Alias | compVars |
|---|
The casinvardesc value can be one or more of the following:
specifies the format to apply to the variable.
specifies the length of the format field plus the length of the format precision.
specifies the descriptive label for the variable.
specifies the name for the variable.
specifies the length of the format precision.
specifies the length of the format field.
specifies an expression for each computed variable that you include in the computedVars parameter.
| Alias | compPgm |
|---|
specifies data source options.
| Aliases | options |
|---|---|
| dataSource |
specifies the names of the variables to use for grouping results.
The casinvardesc value can be one or more of the following:
specifies the format to apply to the variable.
specifies the length of the format field plus the length of the format precision.
specifies the descriptive label for the variable.
specifies the name for the variable.
specifies the length of the format precision.
specifies the length of the format field.
specifies the settings for reading a table from a data source.
| Alias | import |
|---|
For more information about specifying the importOptions parameter, see the common importOptions parameter (Appendix A: Common Parameters).
specifies the name of the input table.
specifies the variables to use in the action.
The casinvardesc value can be one or more of the following:
specifies the format to apply to the variable.
specifies the length of the format field plus the length of the format precision.
specifies the descriptive label for the variable.
specifies the name for the variable.
specifies the length of the format precision.
specifies the length of the format field.
specifies an expression for subsetting the input data.
specifies an input table that contains rows to use as a WHERE filter. If the vars parameter is not specified, then all the variable names that are common to the input table and the filtering table are used to find matching rows. If the where parameter for the input table and this parameter are specified, then this filtering table is applied first.
The groupbytable value can be one or more of the following:
specifies the caslib for the filter table. By default, the active caslib is used.
specifies the settings for reading a table from a data source.
| Alias | import |
|---|
For more information about specifying the importOptions parameter, see the common importOptions parameter (Appendix A: Common Parameters).
specifies the name of the filter table.
specifies the variable names to use from the filter table.
The casinvardesc value can be one or more of the following:
specifies the format to apply to the variable.
specifies the length of the format field plus the length of the format precision.
specifies the descriptive label for the variable.
specifies the name for the variable.
specifies the length of the format precision.
specifies the length of the format field.
specifies an expression for subsetting the data from the filter table.
specifies the data variable names for the links table.
For more information about specifying the linksVar parameter, see the common linksVar parameter (Appendix A: Common Parameters).
controls the frequency n (in seconds) for displaying iteration logs for some algorithms, where n can be any integer greater than or equal to 1. This parameter is useful for computationally intensive algorithms. Setting n too low can hurt algorithm performance.
| Alias | logFrequencyTime |
|---|---|
| Default | 5 |
| Minimum value | 1 |
controls the amount of information that is displayed in the SAS log.
| Default | BASIC |
|---|
specifies the maximum number of cycles to return during cycle enumeration. You can specify either a number or ALL. If you specify a number, it must be greater than or equal to 1.
| Default | 1 |
|---|---|
| ALL | represents the maximum that can be represented by a 64-bit integer. |
specifies the maximum number of links in a cycle. Any cycle whose length is greater than this value is removed from the results. The default is the largest number that can be represented by a 32-bit integer, which causes no cycles to be removed from the results.
| Minimum value | 1 |
|---|
specifies the maximum sum of link weights in a cycle. Any cycle whose sum of link weights is greater than this value is removed from the results. The default is the largest number that can be represented by a double, which causes no cycles to be removed from the results.
specifies the maximum sum of node weights in a cycle. Any cycle whose sum of node weights is greater than this value is removed from the results. The default is the largest number that can be represented by a double, which causes no cycles to be removed from the results.
specifies the maximum amount of time for the algorithm to spend. The default is the largest number that can be represented by a double.
| Minimum value (exclusive) | 0 |
|---|
specifies the minimum number of links in a cycle. Any cycle that has fewer links than this value is removed from the results. By default, no cycles are removed from the results.
| Default | 1 |
|---|---|
| Minimum value | 1 |
specifies the minimum sum of link weights in a cycle. Any cycle whose sum of link weights is less than this value is removed from the results. The default is the largest (in magnitude) negative number that can be represented by a double, which causes no cycles to be removed from the results.
specifies the minimum sum of node weights in a cycle. Any cycle whose sum of node weights is less than this value is removed from the results. The default is the largest (in magnitude) negative number that can be represented by a double, which causes no cycles to be removed from the results.
when set to True, includes multilinks when an input graph is read. By default, the value of this parameter is True for algorithms that support multilinks.
specifies the input data table that contains the graph node information.
| Long form | nodes=list(name="table-name") |
|---|---|
| Shortcut form | nodes="table-name" |
The castable value can be one or more of the following:
specifies the caslib for the input table that you want to use with the action. By default, the active caslib is used. Specify a value only if you need to access a table from a different caslib.
when set to True, creates the computed variables when the table is loaded instead of when the action begins.
| Alias | compOnDemand |
|---|---|
| Default | FALSE |
specifies the names of the computed variables to create. Specify an expression for each variable in the computedVarsProgram parameter. If you do not specify this parameter, then all variables from computedVarsProgram are automatically included.
| Alias | compVars |
|---|
The casinvardesc value can be one or more of the following:
specifies the format to apply to the variable.
specifies the length of the format field plus the length of the format precision.
specifies the descriptive label for the variable.
specifies the name for the variable.
specifies the length of the format precision.
specifies the length of the format field.
specifies an expression for each computed variable that you include in the computedVars parameter.
| Alias | compPgm |
|---|
specifies data source options.
| Aliases | options |
|---|---|
| dataSource |
specifies the settings for reading a table from a data source.
| Alias | import |
|---|
For more information about specifying the importOptions parameter, see the common importOptions parameter (Appendix A: Common Parameters).
specifies the name of the input table.
specifies the variables to use in the action.
The casinvardesc value can be one or more of the following:
specifies the format to apply to the variable.
specifies the length of the format field plus the length of the format precision.
specifies the descriptive label for the variable.
specifies the name for the variable.
specifies the length of the format precision.
specifies the length of the format field.
specifies an expression for subsetting the input data.
specifies an input table that contains rows to use as a WHERE filter. If the vars parameter is not specified, then all the variable names that are common to the input table and the filtering table are used to find matching rows. If the where parameter for the input table and this parameter are specified, then this filtering table is applied first.
The groupbytable value can be one or more of the following:
specifies the caslib for the filter table. By default, the active caslib is used.
specifies the settings for reading a table from a data source.
| Alias | import |
|---|
For more information about specifying the importOptions parameter, see the common importOptions parameter (Appendix A: Common Parameters).
specifies the name of the filter table.
specifies the variable names to use from the filter table.
The casinvardesc value can be one or more of the following:
specifies the format to apply to the variable.
specifies the length of the format field plus the length of the format precision.
specifies the descriptive label for the variable.
specifies the name for the variable.
specifies the length of the format precision.
specifies the length of the format field.
specifies an expression for subsetting the data from the filter table.
specifies the data variable names for the nodes table.
| Long form | nodesVar=list(node="variable-name") |
|---|---|
| Shortcut form | nodesVar="variable-name" |
The nodesVar value can be one or more of the following:
specifies the data variable name for the nodes.
| Default | "node" |
|---|
specifies the additional data variable names for node attributes.
specifies the output data variable names for node attributes.
specifies the data variable name for the node weights.
| Default | "weight" |
|---|
specifies the maximum number of threads to use for multithreaded processing.
| Range | 1–1024 |
|---|
specifies the output data table to contain the nodes of the cycles.
For more information about specifying the out parameter, see the common casouttable (Form 1) parameter (Appendix A: Common Parameters).
| Alias | outCyclesNodes |
|---|
specifies the output data table to contain the links of the cycles.
For more information about specifying the outCyclesLinks parameter, see the common casouttable (Form 1) parameter (Appendix A: Common Parameters).
specifies the output data table to contain summary information about in-memory graphs.
For more information about specifying the outGraphList parameter, see the common casouttable (Form 1) parameter (Appendix A: Common Parameters).
specifies the output data table to contain the graph link information along with any results from the algorithms that calculate metrics on links.
For more information about specifying the outLinks parameter, see the common casouttable (Form 1) parameter (Appendix A: Common Parameters).
specifies the output data table to contain the graph node information along with any results from the algorithms that calculate metrics on nodes.
For more information about specifying the outNodes parameter, see the common casouttable (Form 1) parameter (Appendix A: Common Parameters).
lists the names of results tables to save as CAS tables on the server.
For more information about specifying the outputTables parameter, see the common outputTables parameter (Appendix A: Common Parameters).
| Alias | displayOut |
|---|
when set to True, includes self-links when an input graph is read.
| Default | TRUE |
|---|
when set to True, specifies that the input graph data are in a standardized format.
| Default | FALSE |
|---|
when set to True, requests that the output graph data include standardized format.
| Default | FALSE |
|---|
contains a basic summary of the graph input. The result is a table. You can access the value from results.ProblemSummary.
contains a basic solution summary for the algorithm. The result is a table. You can access the value from results.SolutionSummary.
indicates the number of cycles found by the algorithm. The result is a 64-bit integer. You can access the value from results.numCycles.
indicates the solution status of the selected problem type (algorithm class). The result is a string. You can access the value from results.solutionStatus.