geotrellis

# logic

Visibility
1. Public
2. All

### Type Members

1. #### case class AsList[A](x: Op[A]) extends Op1[A, List[A]] with Product with Serializable

Return the result of the input operation as a List.

2. #### case class Collect[A](ops: Seq[Op[A]]) extends Op[Seq[A]] with Product with Serializable

Takes a sequence of operations, and returns a Sequence of the results of those operations.

3. #### case class CollectArray[A](ops: Array[Op[A]])(implicit evidence\$1: Manifest[A]) extends Op[Array[A]] with Product with Serializable

Takes a sequence of operations, and returns an Array of the results of those operations.

4. #### case class Do1[A, Z](a: Op[A])(call: (A) ⇒ Z) extends Op[Z] with Product with Serializable

Invoke a function that takes one argument.

5. #### case class Do2[A, B, Z](a: Op[A], b: Op[B])(call: (A, B) ⇒ Z) extends Op[Z] with Product with Serializable

Invoke a function that takes two arguments.

6. #### case class ForEach1[A, Z](op: Op[Array[A]])(f: (A) ⇒ Op[Z])(implicit evidence\$4: Manifest[Z]) extends Op[Array[Z]] with Product with Serializable

Evaluates the given operation (op) to get an array of A's.

7. #### case class ForEach2[A, B, Z](opA: Op[Array[A]], opB: Op[Array[B]])(f: (A, B) ⇒ Op[Z])(implicit evidence\$5: Manifest[Z]) extends Op[Array[Z]] with Product with Serializable

Evaluates the given operations (opA and opB) to get an array of A's and an array of B's.

8. #### case class ForEach3[A, B, C, Z](opA: Op[Array[A]], opB: Op[Array[B]], opC: Op[Array[C]])(f: (A, B, C) ⇒ Op[Z])(implicit evidence\$6: Manifest[Z]) extends Op[Array[Z]] with Product with Serializable

Evaluates the given operations (opA opB, and opC) to get arrays of A's, B's and C's (which should be the same length).

9. #### case class If[A <: C, B <: C, C](bOp: Op[Boolean], trueOp: Op[A], falseOp: Op[B])(implicit evidence\$1: Manifest[C]) extends Op[C] with Product with Serializable

Conditionally executes one of two operations; if the Boolean Operation evaluates true, the first Operation executes, otherwise the second Operation executes.

10. #### abstract class Reducer1[B, C] extends Op[C]

Base class for operations that use a map and reduce step to allow for operations to be distributed over geotrellis.raster.TiledRasterData.

11. #### abstract class Reducer2[A, B, C] extends Op[C]

Base class for operations that take a raster operation and another operation, and use a map and reduce step to allow for operations to be distributed over geotrellis.raster.TiledRasterData, and takes another operation.

12. #### case class WithResult[A, Z](a: Op[A])(call: (A) ⇒ Op[Z]) extends Op[Z] with Product with Serializable

Run a function on the result of an operation