original_string: public function reduce( $tolerance )
      {
          $this->points = $this->_reduce($this->points, (double)$tolerance);
          return $this->points;
      }
code: public function reduce( $tolerance )
      {
          $this->points = $this->_reduce($this->points, (double)$tolerance);
          return $this->points;
      }
code_tokens: public function reduce ( $ tolerance ) { $ this -> points = $ this -> _reduce ( $ this -> points , ( double ) $ tolerance ) ; return $ this -> points ; }
docstring: Public visible method to reduce points.
  
  @param mixed $tolerance Defined threshold to reduce by
  
  @return array            Reduced set of points
docstring_tokens: Public visible method to reduce points .