ai.timefold.solver.benchmark.impl.statistic.bestsolutionmutation.BestSolutionMutationStatisticPoint Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of timefold-solver-benchmark Show documentation
Show all versions of timefold-solver-benchmark Show documentation
Timefold solves planning problems.
This lightweight, embeddable planning engine implements powerful and scalable algorithms
to optimize business resource scheduling and planning.
This module contains the benchmarker toolkit.
package ai.timefold.solver.benchmark.impl.statistic.bestsolutionmutation;
import ai.timefold.solver.benchmark.impl.statistic.StatisticPoint;
public class BestSolutionMutationStatisticPoint extends StatisticPoint {
private final long timeMillisSpent;
private final int mutationCount;
public BestSolutionMutationStatisticPoint(long timeMillisSpent, int mutationCount) {
this.timeMillisSpent = timeMillisSpent;
this.mutationCount = mutationCount;
}
public long getTimeMillisSpent() {
return timeMillisSpent;
}
public int getMutationCount() {
return mutationCount;
}
@Override
public String toCsvLine() {
return buildCsvLineWithLongs(timeMillisSpent, mutationCount);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy