package parallel
This package provides parallel versions of some shapes.
These shapes have the same interface as their sequential counterparts.
By implementing the FutureTracking
trait, some control is given when
some concurrent operation is done.
- Since
1.1.0
Type Members
-
case class
Coloring
(col: (Point) ⇒ Color)(implicit enc: Enclosing) extends Fillable with FutureTracking with Product with Serializable
A computed coloring using parallel operations.
A computed coloring using parallel operations.
- col
computing function that maps point coordinates to colors
- enc
enclosing for this grid; defaults to the full world if not explicitly or otherwise implicitly given
- Since
1.1.0
-
case class
Function
(f: (Double) ⇒ Double)(implicit enc: Enclosing) extends Drawable with Fillable with FutureTracking with Product with Serializable
A function as shape using parallel operations.
A function as shape using parallel operations.
When filling, this is done from the x axis (i.e.
y==0
).- enc
enclosing for this function; defaults to the full world if not explicitly or otherwise implicitly given
- Since
1.1.0
-
trait
FutureTracking
extends AnyRef
Provides some measures to check for completion of futures.
Provides some measures to check for completion of futures.
- Since
1.1.0
-
case class
MultivaluedFunction
(f: (Double) ⇒ Set[Double])(implicit enc: Enclosing) extends Drawable with Fillable with FutureTracking with Product with Serializable
A multivalued function as shape using parallel operations.
A multivalued function as shape using parallel operations.
When filling, this is done from the lowest to the highest multivalue for each x, respectively.
- enc
enclosing for this function; defaults to the full world if not explicitly or otherwise implicitly given
- Since
1.1.0