All Downloads are FREE. Search and download functionalities are using the official Maven repository.

ai.timefold.solver.benchmark.impl.statistic.bestsolutionmutation.BestSolutionMutationStatisticPoint Maven / Gradle / Ivy

Go to download

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.

There is a newer version: 1.16.0
Show newest version
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