InfluenceDiagram.empty
- InfluenceDiagram.empty()
Check if there are some variables in the model.
- Returns:
True if there is no variable in the model.
- Return type:
bool
Example
import pyagrum as gum
gum.InfluenceDiagram().empty()
# True
gum.fastID("C->*D->$U").empty()
# False
Class