Class: Stockshark::Engine::Line
- Inherits:
-
Struct
- Object
- Struct
- Stockshark::Engine::Line
- Defined in:
- lib/stockshark/engine.rb
Overview
One multipv rank's worth of a search result: its own score (exactly one of score_cp/score_mate is ever set, matching UCI itself — an engine never reports both for the same line) and principal variation.
Instance Attribute Summary collapse
-
#multipv ⇒ Object
Returns the value of attribute multipv.
-
#pv ⇒ Object
Returns the value of attribute pv.
-
#score_cp ⇒ Object
Returns the value of attribute score_cp.
-
#score_mate ⇒ Object
Returns the value of attribute score_mate.
Instance Attribute Details
#multipv ⇒ Object
Returns the value of attribute multipv
10 11 12 |
# File 'lib/stockshark/engine.rb', line 10 def multipv @multipv end |
#pv ⇒ Object
Returns the value of attribute pv
10 11 12 |
# File 'lib/stockshark/engine.rb', line 10 def pv @pv end |
#score_cp ⇒ Object
Returns the value of attribute score_cp
10 11 12 |
# File 'lib/stockshark/engine.rb', line 10 def score_cp @score_cp end |
#score_mate ⇒ Object
Returns the value of attribute score_mate
10 11 12 |
# File 'lib/stockshark/engine.rb', line 10 def score_mate @score_mate end |