CLG.names

CLG.names()

Return the list of names in the CLG.

Returns:

The list of names in the CLG.

Return type:

list[str]

Example

import pyagrum.clg as gclg

clg = gclg.SEM.toclg("""
A = 2[1]
B = 1 + 0.5A[2]
C = 3 + B[1]
""")
clg.names()
# ['A', 'B', 'C']

Class

CLG