be.cetic.ddolibscala.layered.util.testbench

Members list

Type members

Classlikes

class ProblemTestBench[S, P <: Problem[S]](problems: List[P], configFactory: P => TestModel[S], bestSolutionKnown: Boolean)

A standalone generator of test cases for be.cetic.ddolibscala.layered.modeling.Problem implementations.

A standalone generator of test cases for be.cetic.ddolibscala.layered.modeling.Problem implementations.

Instead of being a test suite itself, it generates a list of executable be.cetic.ddolibscala.util.testbench.GeneratedTest objects that can be run by any test framework.

Type parameters

P

the type of the problem implementation.

S

the type of the state in the problem.

Value parameters

configFactory

a function providing the solver configuration for a given problem.

problems

the list of problem instances to test.

Attributes

Supertypes
class Object
trait Matchable
class Any
trait TestModel[S]

Defines the model configuration and components used to solve a problem instance during tests.

Defines the model configuration and components used to solve a problem instance during tests.

This trait acts as a container for the specific strategies (Lower Bound, Relaxation, Ranking, Dominance) required to solve a problem. It corresponds to the specific configuration needed to instantiate the solver for a given test case.

Type parameters

S

the type of the state in the problem

Attributes

Supertypes
class Object
trait Matchable
class Any