public interface Crobber
Modifier and Type | Method and Description |
---|---|
boolean |
cropInterval(PrefixSum psArray,
PrefixSum processors,
double candidateB,
int mid,
Interval interval,
int p)
crops a given interval.
|
Interval |
getInterval(int first,
int last,
int p)
constructs an interval for the given parameters.
|
double |
getNotProbedCandidate(PrefixSum psArray,
PrefixSum processors,
double candidate,
int p)
A candidate bottleneck value.
|
boolean cropInterval(PrefixSum psArray, PrefixSum processors, double candidateB, int mid, Interval interval, int p)
psArray
- prefix-summed task array.processors
- prefix-summed processor array.candidateB
- candidate bottleneck value.mid
- index for the mid of interval.interval
- the interval to be crobbed.p
- the index of the processor.Interval getInterval(int first, int last, int p)
first
- the lb of the interval.last
- the ub of the interval.p
- the processor index.double getNotProbedCandidate(PrefixSum psArray, PrefixSum processors, double candidate, int p)
psArray
- prefix-summed task array.processors
- prefix-summed processor array.candidate
- candidate bottleneck value.p
- processor index.