-
Notifications
You must be signed in to change notification settings - Fork 102
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: address various issues identified during benchmarking
Signed-off-by: Lukáš Petrovický <[email protected]>
- Loading branch information
Showing
23 changed files
with
178 additions
and
28 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
71 changes: 71 additions & 0 deletions
71
...ain/java/ai/timefold/solver/core/impl/domain/solution/descriptor/DummyMemberAccessor.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,71 @@ | ||
package ai.timefold.solver.core.impl.domain.solution.descriptor; | ||
|
||
import java.lang.annotation.Annotation; | ||
import java.lang.reflect.Type; | ||
import java.util.function.Function; | ||
|
||
import ai.timefold.solver.core.impl.domain.common.accessor.MemberAccessor; | ||
|
||
final class DummyMemberAccessor implements MemberAccessor { | ||
|
||
static final MemberAccessor INSTANCE = new DummyMemberAccessor(); | ||
|
||
private DummyMemberAccessor() { | ||
|
||
} | ||
|
||
@Override | ||
public Class<?> getDeclaringClass() { | ||
return null; | ||
} | ||
|
||
@Override | ||
public String getName() { | ||
return null; | ||
} | ||
|
||
@Override | ||
public Class<?> getType() { | ||
return null; | ||
} | ||
|
||
@Override | ||
public Type getGenericType() { | ||
return null; | ||
} | ||
|
||
@Override | ||
public Object executeGetter(Object bean) { | ||
return null; | ||
} | ||
|
||
@Override | ||
public <Fact_, Result_> Function<Fact_, Result_> getGetterFunction() { | ||
return null; | ||
} | ||
|
||
@Override | ||
public boolean supportSetter() { | ||
return false; | ||
} | ||
|
||
@Override | ||
public void executeSetter(Object bean, Object value) { | ||
|
||
} | ||
|
||
@Override | ||
public String getSpeedNote() { | ||
return null; | ||
} | ||
|
||
@Override | ||
public <T extends Annotation> T getAnnotation(Class<T> annotationClass) { | ||
return null; | ||
} | ||
|
||
@Override | ||
public <T extends Annotation> T[] getDeclaredAnnotationsByType(Class<T> annotationClass) { | ||
return null; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file modified
BIN
+61.3 KB
(330%)
.../modules/ROOT/images/benchmarking-and-tweaking/bestScoreDistributionSummary.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+179 KB
(650%)
docs/src/modules/ROOT/images/benchmarking-and-tweaking/bestScoreStatistic.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+107 KB
(410%)
docs/src/modules/ROOT/images/benchmarking-and-tweaking/bestScoreSummary.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+304 KB
(670%)
...modules/ROOT/images/benchmarking-and-tweaking/bestSolutionMutationStatistic.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+39.4 KB
(130%)
...OOT/images/benchmarking-and-tweaking/constraintMatchTotalBestScoreStatistic.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-46 KB
(84%)
...OOT/images/benchmarking-and-tweaking/constraintMatchTotalStepScoreStatistic.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-55 KB
(78%)
docs/src/modules/ROOT/images/benchmarking-and-tweaking/memoryUseStatistic.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+62.6 KB
(160%)
...src/modules/ROOT/images/benchmarking-and-tweaking/moveCountPerStepStatistic.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+141 KB
(560%)
.../ROOT/images/benchmarking-and-tweaking/pickedMoveTypeBestScoreDiffStatistic.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+334 KB
(960%)
.../ROOT/images/benchmarking-and-tweaking/pickedMoveTypeStepScoreDiffStatistic.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+169 KB
(200%)
...odules/ROOT/images/benchmarking-and-tweaking/scoreCalculationSpeedStatistic.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+186 KB
(640%)
docs/src/modules/ROOT/images/benchmarking-and-tweaking/stepScoreStatistic.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters