C++ Reference: class MonoidOperationTree

This documentation is automatically generated.

Method
Clear

Return type: void

Resets all arguments.

DebugString

Return type: std::string

DiveInTree

Return type: void

Arguments: Diver* const diver

GetOperand

Return type: const T&

Arguments: int argument_index

Returns the leaf node corresponding to the given argument index.

MonoidOperationTree

Return type: explicit

Arguments: int size

Constructs a MonoidOperationTree able to store 'size' operands.

Reset

Return type: void

Arguments: int argument_index

Resets the argument of given index.

result

Return type: const T&

Returns the root of the tree, containing the result of the operation.

Set

Return type: void

Arguments: int argument_index, const T& argument

Sets the argument of given index.

Send feedback about...