(self)
return motion_id
Samples a motion ID randomly from the set of reference motions.

    Returns:
      ID of the selected motion.
Samples a motion ID randomly from the set of reference motions.
Samples a motion ID randomly from the set of reference motions .
def _sample_ref_motion(self):
    """Samples a motion ID randomly from the set of reference motions.

    Returns:
      ID of the selected motion.
    """
    num_motions = self.get_num_motions()
    motion_id = self._randint(0, num_motions)
    return motion_id
def _sample_ref_motion ( self ) : num_motions = self . get_num_motions ( ) motion_id = self . _randint ( 0 , num_motions ) return motion_id