Class: Stockshark::Engine::AnalysisResult
- Inherits:
-
Struct
- Object
- Struct
- Stockshark::Engine::AnalysisResult
- Defined in:
- lib/stockshark/engine.rb
Overview
The full result of one #analyze call: the move the engine would actually play, the deepest ply reached, and one Line per multipv rank requested (ranks are 1-indexed and sorted, so lines.first is always the primary/best line). Raw and side-to-move-relative — unopinionated about which color that was.
Instance Attribute Summary collapse
-
#best_move ⇒ Object
Returns the value of attribute best_move.
-
#depth ⇒ Object
Returns the value of attribute depth.
-
#lines ⇒ Object
Returns the value of attribute lines.
Instance Attribute Details
#best_move ⇒ Object
Returns the value of attribute best_move
17 18 19 |
# File 'lib/stockshark/engine.rb', line 17 def best_move @best_move end |
#depth ⇒ Object
Returns the value of attribute depth
17 18 19 |
# File 'lib/stockshark/engine.rb', line 17 def depth @depth end |
#lines ⇒ Object
Returns the value of attribute lines
17 18 19 |
# File 'lib/stockshark/engine.rb', line 17 def lines @lines end |