class documentation

class ColorRepresentation(Enum):

View In Hierarchy

This enumeration encapsulates the concept of an edge color representation style in the context of the two adjacency matrix formats and the four flattened formats from the GraphFormat enumeration.

Constant BINARY_SLICES This item corresponds to the graph formats where binary slices indicate whether each edge (resp. arc) has a specific color, namely the adjacency matrix format with binary slices, the flattened row-major format with binary slices, and the flattened clockwise format with binary slices.
Constant COLOR_NUMBERS This item corresponds to the graph formats where each entry contains the color of an edge (resp. arc), namely the adjacency matrix format with color numbers, the flattened row-major format with color numbers, and the flattened clockwise format with color numbers.
BINARY_SLICES: int =

This item corresponds to the graph formats where binary slices indicate whether each edge (resp. arc) has a specific color, namely the adjacency matrix format with binary slices, the flattened row-major format with binary slices, and the flattened clockwise format with binary slices.

Value
1
COLOR_NUMBERS: int =

This item corresponds to the graph formats where each entry contains the color of an edge (resp. arc), namely the adjacency matrix format with color numbers, the flattened row-major format with color numbers, and the flattened clockwise format with color numbers.

Value
0