RLBench/measure.py
def result(self):
        """Retrieve result.

        If a run has been evaluated, this function will retrieve the
        result otherwise it will return ``None``.
        The function evaluates to a list of 3-tuples, where the first
        element contains the instance that was evaluated, the second one
        the number of violations that occured and the third the sum of
        those violations, i.e. the sum of the difference between the
        effective reward and the threshold, for every violation.

        Returns
        -------
        (run, count, amount) : 3 tuple
            run: Object that has been evaluated
            count: Number of rollouts where the safety threshold was violated.
            amount: Sum of difference between violations and threshold.
        """
        if not hasattr(self, '_result'):
            self._result = None
        return self._result
Retrieve result.

        If a run has been evaluated, this function will retrieve the
        result otherwise it will return ``None``.
        The function evaluates to a list of 3-tuples, where the first
        element contains the instance that was evaluated, the second one
        the number of violations that occured and the third the sum of
        those violations, i.e. the sum of the difference between the
        effective reward and the threshold, for every violation.

        Returns
        -------
        (run, count, amount) : 3 tuple
            run: Object that has been evaluated
            count: Number of rollouts where the safety threshold was violated.
            amount: Sum of difference between violations and threshold.
        
Retrieve result.
If a run has been evaluated, this function will retrieve the
result otherwise it will return ``None``.
The function evaluates to a list of 3-tuples, where the first
element contains the instance that was evaluated, the second one
the number of violations that occured and the third the sum of
those violations, i.e. the sum of the difference between the
effective reward and the threshold, for every violation.

Returns

(run, count, amount) : 3 tuple
run: Object that has been evaluated
count: Number of rollouts where the safety threshold was violated.
amount: Sum of difference between violations and threshold.
Retrieve result . If a run has been evaluated this function will retrieve the result otherwise it will return ` ` None ` ` . The function evaluates to a list of 3 - tuples where the first element contains the instance that was evaluated the second one the number of violations that occured and the third the sum of those violations i . e . the sum of the difference between the effective reward and the threshold for every violation . Returns ( run count amount ) : 3 tuple run : Object that has been evaluated count : Number of rollouts where the safety threshold was violated . amount : Sum of difference between violations and threshold .
def result(self):
        if not hasattr(self, '_result'):
            self._result = None
        return self._result
def result ( self ) : if not hasattr ( self , '_result' ) : self . _result = None return self . _result
Retrieve result.
Retrieve result .
"""Retrieve result.

        If a run has been evaluated, this function will retrieve the
        result otherwise it will return ``None``.
        The function evaluates to a list of 3-tuples, where the first
        element contains the instance that was evaluated, the second one
        the number of violations that occured and the third the sum of
        those violations, i.e. the sum of the difference between the
        effective reward and the threshold, for every violation.

        Returns
        -------
        (run, count, amount) : 3 tuple
            run: Object that has been evaluated
            count: Number of rollouts where the safety threshold was violated.
            amount: Sum of difference between violations and threshold.
        """
self