ToySAT

gapt.provers.maxsat.ToySAT
object ToySAT extends ExternalMaxSATSolver

Attributes

Source
ExternalMaxSATSolver.scala
Graph
Supertypes
class MaxSATSolver
class Object
trait Matchable
class Any
Show all
Self type
ToySAT.type

Members list

Value members

Inherited methods

protected def runProgram(dimacsInput: String): String

Attributes

Inherited from:
ExternalMaxSATSolver
Source
ExternalMaxSATSolver.scala
def solve(hard: CNF, soft: Seq[(Clause, Int)]): Option[Model]

Solves a weighted partial MaxSAT problem.

Solves a weighted partial MaxSAT problem.

Value parameters

hard

Hard constraints in CNF.

soft

Soft constraints in CNF along with their weights.

Attributes

Returns

None if hard is unsatisfiable, otherwise Some(model), where model is a model of hard maximizing the sum of the weights of soft.

Inherited from:
ExternalMaxSATSolver
Source
ExternalMaxSATSolver.scala

Value parameters

hard

Hard constraints.

soft

Soft constraints along with their weights.

Attributes

Returns

None if hard is unsatisfiable, otherwise Some(model), where model is a model of hard maximizing the sum of the weights of soft.

Inherited from:
MaxSATSolver
Source
MaxSAT.scala

Attributes

Inherited from:
MaxSATSolver
Source
MaxSAT.scala

Inherited fields

val command: String*

Attributes

Inherited from:
ExternalMaxSATSolver
Source
ExternalMaxSATSolver.scala

Attributes

Inherited from:
ExternalMaxSATSolver
Source
ExternalMaxSATSolver.scala