Class: Factor
- Inherits:
-
Object
- Object
- Factor
- Defined in:
- lib/TrueSkill/FactorGraph/Factor.rb
Direct Known Subclasses
Instance Attribute Summary collapse
-
#vars ⇒ Object
Returns the value of attribute vars.
Instance Method Summary collapse
-
#initialize(vars) ⇒ Factor
constructor
A new instance of Factor.
- #var ⇒ Object
Constructor Details
Instance Attribute Details
#vars ⇒ Object
Returns the value of attribute vars.
4 5 6 |
# File 'lib/TrueSkill/FactorGraph/Factor.rb', line 4 def vars @vars end |
Instance Method Details
#var ⇒ Object
14 15 16 |
# File 'lib/TrueSkill/FactorGraph/Factor.rb', line 14 def var @vars[0] end |