| 1 | package net.bmahe.genetics4j.gpu.spec.fitness.kernelcontext; | |
| 2 | ||
| 3 | public class KernelExecutionContextComputers { | |
| 4 | ||
| 5 | private KernelExecutionContextComputers() { | |
| 6 | } | |
| 7 | ||
| 8 | public static KernelExecutionContextComputer ofGenotypeSize() { | |
| 9 |
1
1. ofGenotypeSize : replaced return value with null for net/bmahe/genetics4j/gpu/spec/fitness/kernelcontext/KernelExecutionContextComputers::ofGenotypeSize → NO_COVERAGE |
return (openCLExecutionContext, kernelName, generation, genotypes) -> { |
| 10 |
4
1. lambda$ofGenotypeSize$0 : replaced return value with null for net/bmahe/genetics4j/gpu/spec/fitness/kernelcontext/KernelExecutionContextComputers::lambda$ofGenotypeSize$0 → NO_COVERAGE 2. lambda$ofGenotypeSize$0 : removed call to net/bmahe/genetics4j/gpu/spec/fitness/kernelcontext/KernelExecutionContext::builder → NO_COVERAGE 3. lambda$ofGenotypeSize$0 : Substituted 1 with 0 → NO_COVERAGE 4. lambda$ofGenotypeSize$0 : Substituted 0 with 1 → NO_COVERAGE |
return KernelExecutionContext.builder() |
| 11 |
3
1. lambda$ofGenotypeSize$0 : removed call to net/bmahe/genetics4j/gpu/spec/fitness/kernelcontext/KernelExecutionContext$Builder::globalWorkSize → NO_COVERAGE 2. lambda$ofGenotypeSize$0 : removed call to java/util/List::size → NO_COVERAGE 3. lambda$ofGenotypeSize$0 : replaced call to net/bmahe/genetics4j/gpu/spec/fitness/kernelcontext/KernelExecutionContext$Builder::globalWorkSize with receiver → NO_COVERAGE |
.globalWorkSize(new long[] { genotypes.size() }) |
| 12 |
1
1. lambda$ofGenotypeSize$0 : removed call to net/bmahe/genetics4j/gpu/spec/fitness/kernelcontext/KernelExecutionContext$Builder::build → NO_COVERAGE |
.build(); |
| 13 | }; | |
| 14 | } | |
| 15 | ||
| 16 | public static KernelExecutionContextComputer ofGlobalWorkSize(final long[] globalWorkSize) { | |
| 17 |
1
1. ofGlobalWorkSize : replaced return value with null for net/bmahe/genetics4j/gpu/spec/fitness/kernelcontext/KernelExecutionContextComputers::ofGlobalWorkSize → NO_COVERAGE |
return (openCLExecutionContext, kernelName, generation, genotypes) -> { |
| 18 |
2
1. lambda$ofGlobalWorkSize$1 : replaced return value with null for net/bmahe/genetics4j/gpu/spec/fitness/kernelcontext/KernelExecutionContextComputers::lambda$ofGlobalWorkSize$1 → NO_COVERAGE 2. lambda$ofGlobalWorkSize$1 : removed call to net/bmahe/genetics4j/gpu/spec/fitness/kernelcontext/KernelExecutionContext::builder → NO_COVERAGE |
return KernelExecutionContext.builder() |
| 19 |
2
1. lambda$ofGlobalWorkSize$1 : replaced call to net/bmahe/genetics4j/gpu/spec/fitness/kernelcontext/KernelExecutionContext$Builder::globalWorkSize with receiver → NO_COVERAGE 2. lambda$ofGlobalWorkSize$1 : removed call to net/bmahe/genetics4j/gpu/spec/fitness/kernelcontext/KernelExecutionContext$Builder::globalWorkSize → NO_COVERAGE |
.globalWorkSize(globalWorkSize) |
| 20 |
1
1. lambda$ofGlobalWorkSize$1 : removed call to net/bmahe/genetics4j/gpu/spec/fitness/kernelcontext/KernelExecutionContext$Builder::build → NO_COVERAGE |
.build(); |
| 21 | }; | |
| 22 | } | |
| 23 | ||
| 24 | public static KernelExecutionContextComputer ofGlobalWorkSize1D(final long globalWorkSize) { | |
| 25 |
1
1. ofGlobalWorkSize1D : replaced return value with null for net/bmahe/genetics4j/gpu/spec/fitness/kernelcontext/KernelExecutionContextComputers::ofGlobalWorkSize1D → NO_COVERAGE |
return (openCLExecutionContext, kernelName, generation, genotypes) -> { |
| 26 |
4
1. lambda$ofGlobalWorkSize1D$2 : Substituted 1 with 0 → NO_COVERAGE 2. lambda$ofGlobalWorkSize1D$2 : replaced return value with null for net/bmahe/genetics4j/gpu/spec/fitness/kernelcontext/KernelExecutionContextComputers::lambda$ofGlobalWorkSize1D$2 → NO_COVERAGE 3. lambda$ofGlobalWorkSize1D$2 : Substituted 0 with 1 → NO_COVERAGE 4. lambda$ofGlobalWorkSize1D$2 : removed call to net/bmahe/genetics4j/gpu/spec/fitness/kernelcontext/KernelExecutionContext::builder → NO_COVERAGE |
return KernelExecutionContext.builder() |
| 27 |
2
1. lambda$ofGlobalWorkSize1D$2 : removed call to net/bmahe/genetics4j/gpu/spec/fitness/kernelcontext/KernelExecutionContext$Builder::globalWorkSize → NO_COVERAGE 2. lambda$ofGlobalWorkSize1D$2 : replaced call to net/bmahe/genetics4j/gpu/spec/fitness/kernelcontext/KernelExecutionContext$Builder::globalWorkSize with receiver → NO_COVERAGE |
.globalWorkSize(globalWorkSize) |
| 28 |
1
1. lambda$ofGlobalWorkSize1D$2 : removed call to net/bmahe/genetics4j/gpu/spec/fitness/kernelcontext/KernelExecutionContext$Builder::build → NO_COVERAGE |
.build(); |
| 29 | }; | |
| 30 | } | |
| 31 | ||
| 32 | public static KernelExecutionContextComputer ofGenotypeSizeAndWorkGroup(final long[] workGroupSize) { | |
| 33 |
1
1. ofGenotypeSizeAndWorkGroup : replaced return value with null for net/bmahe/genetics4j/gpu/spec/fitness/kernelcontext/KernelExecutionContextComputers::ofGenotypeSizeAndWorkGroup → NO_COVERAGE |
return (openCLExecutionContext, kernelName, generation, genotypes) -> { |
| 34 |
4
1. lambda$ofGenotypeSizeAndWorkGroup$3 : removed call to net/bmahe/genetics4j/gpu/spec/fitness/kernelcontext/KernelExecutionContext::builder → NO_COVERAGE 2. lambda$ofGenotypeSizeAndWorkGroup$3 : Substituted 1 with 0 → NO_COVERAGE 3. lambda$ofGenotypeSizeAndWorkGroup$3 : replaced return value with null for net/bmahe/genetics4j/gpu/spec/fitness/kernelcontext/KernelExecutionContextComputers::lambda$ofGenotypeSizeAndWorkGroup$3 → NO_COVERAGE 4. lambda$ofGenotypeSizeAndWorkGroup$3 : Substituted 0 with 1 → NO_COVERAGE |
return KernelExecutionContext.builder() |
| 35 |
3
1. lambda$ofGenotypeSizeAndWorkGroup$3 : replaced call to net/bmahe/genetics4j/gpu/spec/fitness/kernelcontext/KernelExecutionContext$Builder::globalWorkSize with receiver → NO_COVERAGE 2. lambda$ofGenotypeSizeAndWorkGroup$3 : removed call to java/util/List::size → NO_COVERAGE 3. lambda$ofGenotypeSizeAndWorkGroup$3 : removed call to net/bmahe/genetics4j/gpu/spec/fitness/kernelcontext/KernelExecutionContext$Builder::globalWorkSize → NO_COVERAGE |
.globalWorkSize(new long[] { genotypes.size() }) |
| 36 |
2
1. lambda$ofGenotypeSizeAndWorkGroup$3 : replaced call to net/bmahe/genetics4j/gpu/spec/fitness/kernelcontext/KernelExecutionContext$Builder::workGroupSize with receiver → NO_COVERAGE 2. lambda$ofGenotypeSizeAndWorkGroup$3 : removed call to net/bmahe/genetics4j/gpu/spec/fitness/kernelcontext/KernelExecutionContext$Builder::workGroupSize → NO_COVERAGE |
.workGroupSize(workGroupSize) |
| 37 |
1
1. lambda$ofGenotypeSizeAndWorkGroup$3 : removed call to net/bmahe/genetics4j/gpu/spec/fitness/kernelcontext/KernelExecutionContext$Builder::build → NO_COVERAGE |
.build(); |
| 38 | }; | |
| 39 | } | |
| 40 | ||
| 41 | public static KernelExecutionContextComputer of(final long[] globalWorkSize, final long[] workGroupSize) { | |
| 42 |
1
1. of : replaced return value with null for net/bmahe/genetics4j/gpu/spec/fitness/kernelcontext/KernelExecutionContextComputers::of → NO_COVERAGE |
return (openCLExecutionContext, kernelName, generation, genotypes) -> { |
| 43 |
2
1. lambda$of$4 : replaced return value with null for net/bmahe/genetics4j/gpu/spec/fitness/kernelcontext/KernelExecutionContextComputers::lambda$of$4 → NO_COVERAGE 2. lambda$of$4 : removed call to net/bmahe/genetics4j/gpu/spec/fitness/kernelcontext/KernelExecutionContext::builder → NO_COVERAGE |
return KernelExecutionContext.builder() |
| 44 |
2
1. lambda$of$4 : replaced call to net/bmahe/genetics4j/gpu/spec/fitness/kernelcontext/KernelExecutionContext$Builder::globalWorkSize with receiver → NO_COVERAGE 2. lambda$of$4 : removed call to net/bmahe/genetics4j/gpu/spec/fitness/kernelcontext/KernelExecutionContext$Builder::globalWorkSize → NO_COVERAGE |
.globalWorkSize(globalWorkSize) |
| 45 |
2
1. lambda$of$4 : replaced call to net/bmahe/genetics4j/gpu/spec/fitness/kernelcontext/KernelExecutionContext$Builder::workGroupSize with receiver → NO_COVERAGE 2. lambda$of$4 : removed call to net/bmahe/genetics4j/gpu/spec/fitness/kernelcontext/KernelExecutionContext$Builder::workGroupSize → NO_COVERAGE |
.workGroupSize(workGroupSize) |
| 46 |
1
1. lambda$of$4 : removed call to net/bmahe/genetics4j/gpu/spec/fitness/kernelcontext/KernelExecutionContext$Builder::build → NO_COVERAGE |
.build(); |
| 47 | }; | |
| 48 | } | |
| 49 | } | |
Mutations | ||
| 9 |
1.1 |
|
| 10 |
1.1 2.2 3.3 4.4 |
|
| 11 |
1.1 2.2 3.3 |
|
| 12 |
1.1 |
|
| 17 |
1.1 |
|
| 18 |
1.1 2.2 |
|
| 19 |
1.1 2.2 |
|
| 20 |
1.1 |
|
| 25 |
1.1 |
|
| 26 |
1.1 2.2 3.3 4.4 |
|
| 27 |
1.1 2.2 |
|
| 28 |
1.1 |
|
| 33 |
1.1 |
|
| 34 |
1.1 2.2 3.3 4.4 |
|
| 35 |
1.1 2.2 3.3 |
|
| 36 |
1.1 2.2 |
|
| 37 |
1.1 |
|
| 42 |
1.1 |
|
| 43 |
1.1 2.2 |
|
| 44 |
1.1 2.2 |
|
| 45 |
1.1 2.2 |
|
| 46 |
1.1 |