Solver

org.ddolibscala.solver.Solver
See theSolver companion object
class Solver

Class packaging a Java solver

Value parameters

javaSolver

a solver from java version of DDOLib

Attributes

Companion
object
Graph
Supertypes
class Object
trait Matchable
class Any

Members list

Value members

Concrete methods

def minimize(limit: SearchStatistic => Boolean = ..., onSolution: (Array[Int], SearchStatistic) => Unit = ...): Solution

Minimizes the objective function according to the solver strategy.

Minimizes the objective function according to the solver strategy.

It converts input and output from Java to Scala and vice versa.

Value parameters

limit

a predicate that can limit or stop the search based on current SearchStatistics

onSolution

invoked on each new solution found; receives the solution array and current statistics

Attributes

Returns

the solution obtained after the search