Class: MiniPGM::Variable
- Inherits:
-
Struct
- Object
- Struct
- MiniPGM::Variable
- Defined in:
- lib/mini_pgm/variable.rb
Overview
Represents a variable in a tabular CPD
Instance Attribute Summary collapse
-
#cardinality ⇒ Object
Returns the value of attribute cardinality.
-
#label ⇒ Object
Returns the value of attribute label.
Instance Attribute Details
#cardinality ⇒ Object
Returns the value of attribute cardinality
7 8 9 |
# File 'lib/mini_pgm/variable.rb', line 7 def cardinality @cardinality end |
#label ⇒ Object
Returns the value of attribute label
7 8 9 |
# File 'lib/mini_pgm/variable.rb', line 7 def label @label end |