prompt: You will be provided with a partial code base and an issue statement explaining a problem to resolve.
  <issue>
  Export TaskSamplers in __init__
  This will put them in the public API and make them visible in the API docs
  
  </issue>
  <code>
  [start of src/garage/experiment/__init__.py]
  1 """Experiment functions."""
  2 from garage.experiment.local_runner import LocalRunner
  3 from garage.experiment.local_tf_runner import LocalTFRunner
  4 from garage.experiment.meta_evaluator import MetaEvaluator
  5 from garage.experiment.snapshotter import SnapshotConfig, Snapshotter
  6 from garage.experiment.task_sampler import TaskSampler
  7 
  8 __all__ = [
  9     'LocalRunner',
  10     'LocalTFRunner',
  11     'MetaEvaluator',
  12     'Snapshotter',
  13     'SnapshotConfig',
  14     'TaskSampler',
  15 ]
  16
  [end of src/garage/experiment/__init__.py]
  </code>
  
  I need you to solve this issue by generating a single patch file that I can apply directly to this repository using git apply. Please respond with a single patch file in the following format.
  <patch>
  diff --git a/file.py b/file.py
  --- a/file.py
  +++ b/file.py
  @@ -1,27 +1,35 @@
   def euclidean(a, b):
  -    while b:
  -        a, b = b, a % b
  -    return a
  +    if b == 0:
  +        return a
  +    return euclidean(b, a % b)
   
   
   def bresenham(x0, y0, x1, y1):
       points = []
       dx = abs(x1 - x0)
       dy = abs(y1 - y0)
  -    sx = 1 if x0 < x1 else -1
  -    sy = 1 if y0 < y1 else -1
  -    err = dx - dy
  +    x, y = x0, y0
  +    sx = -1 if x0 > x1 else 1
  +    sy = -1 if y0 > y1 else 1
   
  -    while True:
  -        points.append((x0, y0))
  -        if x0 == x1 and y0 == y1:
  -            break
  -        e2 = 2 * err
  -        if e2 > -dy:
  -            err -= dy
  -            x0 += sx
  -        if e2 < dx:
  -            err += dx
  -            y0 += sy
  +    if dx > dy:
  +        err = dx / 2.0
  +        while x != x1:
  +            points.append((x, y))
  +            err -= dy
  +            if err < 0:
  +                y += sy
  +                err += dx
  +            x += sx
  +    else:
  +        err = dy / 2.0
  +        while y != y1:
  +            points.append((x, y))
  +            err -= dx
  +            if err < 0:
  +                x += sx
  +                err += dy
  +            y += sy
  +
  +    points.append((x, y))
       return points
  
  </patch>
golden_diff: diff --git a/src/garage/experiment/__init__.py b/src/garage/experiment/__init__.py
  --- a/src/garage/experiment/__init__.py
  +++ b/src/garage/experiment/__init__.py
  @@ -1,9 +1,15 @@
   """Experiment functions."""
  +# yapf: disable
   from garage.experiment.local_runner import LocalRunner
   from garage.experiment.local_tf_runner import LocalTFRunner
   from garage.experiment.meta_evaluator import MetaEvaluator
   from garage.experiment.snapshotter import SnapshotConfig, Snapshotter
  -from garage.experiment.task_sampler import TaskSampler
  +from garage.experiment.task_sampler import (ConstructEnvsSampler,
  +                                            EnvPoolSampler,
  +                                            SetTaskSampler,
  +                                            TaskSampler)
  +
  +# yapf: enable
   
   __all__ = [
       'LocalRunner',
  @@ -12,4 +18,7 @@
       'Snapshotter',
       'SnapshotConfig',
       'TaskSampler',
  +    'ConstructEnvsSampler',
  +    'EnvPoolSampler',
  +    'SetTaskSampler',
   ]
  
verification_info: {"golden_diff": "diff --git a/src/garage/experiment/__init__.py b/src/garage/experiment/__init__.py\n--- a/src/garage/experiment/__init__.py\n+++ b/src/garage/experiment/__init__.py\n@@ -1,9 +1,15 @@\n \"\"\"Experiment functions.\"\"\"\n+# yapf: disable\n from garage.experiment.local_runner import LocalRunner\n from garage.experiment.local_tf_runner import LocalTFRunner\n from garage.experiment.meta_evaluator import MetaEvaluator\n from garage.experiment.snapshotter import SnapshotConfig, Snapshotter\n-from garage.experiment.task_sampler import TaskSampler\n+from garage.experiment.task_sampler import (ConstructEnvsSampler,\n+                                            EnvPoolSampler,\n+                                            SetTaskSampler,\n+                                            TaskSampler)\n+\n+# yapf: enable\n \n __all__ = [\n     'LocalRunner',\n@@ -12,4 +18,7 @@\n     'Snapshotter',\n     'SnapshotConfig',\n     'TaskSampler',\n+    'ConstructEnvsSampler',\n+    'EnvPoolSampler',\n+    'SetTaskSampler',\n ]\n", "issue": "Export TaskSamplers in __init__\nThis will put them in the public API and make them visible in the API docs\n", "before_files": [{"content": "\"\"\"Experiment functions.\"\"\"\nfrom garage.experiment.local_runner import LocalRunner\nfrom garage.experiment.local_tf_runner import LocalTFRunner\nfrom garage.experiment.meta_evaluator import MetaEvaluator\nfrom garage.experiment.snapshotter import SnapshotConfig, Snapshotter\nfrom garage.experiment.task_sampler import TaskSampler\n\n__all__ = [\n    'LocalRunner',\n    'LocalTFRunner',\n    'MetaEvaluator',\n    'Snapshotter',\n    'SnapshotConfig',\n    'TaskSampler',\n]\n", "path": "src/garage/experiment/__init__.py"}]}