Base class to represent partial results of the computation.
More...
Algorithm-specific partial results are represented as derivative classes of the PartialResult class.
def __init__ |
( |
|
self, |
|
|
|
args |
|
) |
| |
- Variant 1
- Default constructor. Constructs empty partial results
- Variant 2
Constructs partial results with n elements
- Parameters
-
n | Number of elements in the partial results |
- Variant 1
Checks the correctness of the partial results structure
- Parameters
-
input | Pointer to the input arguments of the algorithm |
parameter | Pointer to the parameters of the algorithm |
method | Computation method |
- Variant 2
Checks the correctness of the partial results structure
- Parameters
-
parameter | Pointer to the parameters of the algorithm |
method | Computation method |
Retrieves the initialization flag
- Returns
- Initialization flag. True, if the partial results are already initialized; false - otherwise.
def getSerializationTag |
( |
|
self | ) |
|
def setInitFlag |
( |
|
self, |
|
|
|
flag |
|
) |
| |
Sets the initialization flag
- Parameters
-
flag | Initialization flag. True, if the partial results are already initialized; false - otherwise. |
The documentation for this class was generated from the following file: