ai.timefold.solver.benchmark.impl.loader.ProblemProvider 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.loader;
import jakarta.xml.bind.annotation.XmlSeeAlso;
import ai.timefold.solver.benchmark.impl.result.SubSingleBenchmarkResult;
import ai.timefold.solver.core.api.domain.solution.PlanningSolution;
/**
* Subclasses need to implement {@link Object#equals(Object) equals()} and {@link Object#hashCode() hashCode()}
* which are used by {@link ai.timefold.solver.benchmark.impl.ProblemBenchmarksFactory#buildProblemBenchmarkList}.
*
* @param the solution type, the class with the {@link PlanningSolution} annotation
*/
@XmlSeeAlso({
InstanceProblemProvider.class,
FileProblemProvider.class
})
public interface ProblemProvider {
/**
* @return never null
*/
String getProblemName();
/**
* @return never null
*/
Solution_ readProblem();
/**
* @param solution never null
* @param subSingleBenchmarkResult never null
*/
void writeSolution(Solution_ solution, SubSingleBenchmarkResult subSingleBenchmarkResult);
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy