original_string: public function select_variant(question_variant_selection_strategy $variantstrategy) {
          return $variantstrategy->choose_variant($this->get_question()->get_num_variants(),
                  $this->get_question()->get_variants_selection_seed());
      }
code: public function select_variant(question_variant_selection_strategy $variantstrategy) {
          return $variantstrategy->choose_variant($this->get_question()->get_num_variants(),
                  $this->get_question()->get_variants_selection_seed());
      }
code_tokens: public function select_variant ( question_variant_selection_strategy $ variantstrategy ) { return $ variantstrategy -> choose_variant ( $ this -> get_question ( ) -> get_num_variants ( ) , $ this -> get_question ( ) -> get_variants_selection_seed ( ) ) ; }
docstring: Use a strategy to pick a variant.
  @param question_variant_selection_strategy $variantstrategy a strategy.
  @return int the selected variant.
docstring_tokens: Use a strategy to pick a variant .