The OPTGRAPH Procedure

CORE Statement

  • CORE < options >;

The CORE statement invokes an algorithm that finds the core decomposition of the input graph. Core decompositions are described in the section Core Decomposition.

You can specify the following options in the CORE statement:

LINKS=IN | OUT | BOTH

specifies which type of cores to calculate for a directed graph. You can choose to calculate the cores based on in-links (IN), out-links (OUT), or both (BOTH). For an undirected graph, core applies only to out-links.

Table 1.26: Values for the LINKS= Option

Option Value

Description

IN

Calculates core based on in-links.

OUT

Calculates core based on out-links. This is the default.

BOTH

Calculates core based on in-links and out-links.


LOGLEVEL=number | string

controls the amount of information that is displayed in the SAS log. Table 1.27 describes the valid values for this option.

Table 1.27: Values for LOGLEVEL= Option

number

string

Description

0

NONE

Turns off all algorithm-related messages in the SAS log

1

BASIC

Displays a basic summary of the algorithmic processing

2

MODERATE

Displays a summary of the algorithmic processing

3

AGGRESSIVE

Displays a detailed summary of the algorithmic processing


The default is the value that is specified in the LOGLEVEL= option in the PROC OPTGRAPH statement (or BASIC if that option is not specified).

MAXTIME=number

specifies the maximum amount of time to spend in the core algorithm. The type of time (either CPU time or real time) is determined by the value of the TIMETYPE= option. The value of number can be any positive number; the default value is the positive number that has the largest absolute value that can be represented in your operating environment.