class_docstr: A SegmentTree with the reduction `operation`=operator.add.
class_docstr_tok: ["A","SegmentTree","with","the","reduction","`","operation","`","=operator.add","."]
code: def __init__(self, capacity: int):
      super(SumSegmentTree, self).__init__(
          capacity=capacity, operation=operator.add
      )
  
file_path: ray/rllib/execution/segment_tree.py
imports: import operator
  from typing import Any, Optional
label_desc: Use image node_id 1 to create a new SumSegmentTree object from inherited base classes: SegmentTree with example: obj = SumSegmentTree(capacity)