Package | Description |
---|---|
org.linqs.psl.util |
Modifier and Type | Method and Description |
---|---|
Parallel.Worker<T> |
Parallel.Worker.copy()
Make a deep copy of this worker.
|
Modifier and Type | Method and Description |
---|---|
static Parallel.RunTimings |
Parallel.count(int start,
int end,
int increment,
Parallel.Worker<Integer> baseWorker)
Count and call a worker with each number in [start, end).
|
static Parallel.RunTimings |
Parallel.count(int start,
int end,
Parallel.Worker<Integer> baseWorker)
Convenience count() that increments by 1.
|
static Parallel.RunTimings |
Parallel.count(int end,
Parallel.Worker<Integer> baseWorker)
Convenience count() that starts at 0 and increments by 1.
|
static <T> Parallel.RunTimings |
Parallel.foreach(Iterable<T> work,
Parallel.Worker<T> baseWorker)
Invoke a worker once for each item.
|
Copyright © 2018 University of California, Santa Cruz. All rights reserved.