Packages

c

gapt.provers.maxsat

ExternalMaxSATSolver

class ExternalMaxSATSolver extends MaxSATSolver with ExternalProgram

Source
ExternalMaxSATSolver.scala
Type Hierarchy
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ExternalMaxSATSolver
  2. ExternalProgram
  3. MaxSATSolver
  4. AnyRef
  5. Any
Implicitly
  1. by any2stringadd
  2. by StringFormat
  3. by Ensuring
  4. by ArrowAssoc
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new ExternalMaxSATSolver(command: String*)

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. def +(other: String): String
    Implicit
    This member is added by an implicit conversion from ExternalMaxSATSolver toany2stringadd[ExternalMaxSATSolver] performed by method any2stringadd in scala.Predef.
    Definition Classes
    any2stringadd
  4. def ->[B](y: B): (ExternalMaxSATSolver, B)
    Implicit
    This member is added by an implicit conversion from ExternalMaxSATSolver toArrowAssoc[ExternalMaxSATSolver] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc
    Annotations
    @inline()
  5. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  6. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  7. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native() @IntrinsicCandidate()
  8. val command: String*
  9. def ensuring(cond: (ExternalMaxSATSolver) => Boolean, msg: => Any): ExternalMaxSATSolver
    Implicit
    This member is added by an implicit conversion from ExternalMaxSATSolver toEnsuring[ExternalMaxSATSolver] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  10. def ensuring(cond: (ExternalMaxSATSolver) => Boolean): ExternalMaxSATSolver
    Implicit
    This member is added by an implicit conversion from ExternalMaxSATSolver toEnsuring[ExternalMaxSATSolver] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  11. def ensuring(cond: Boolean, msg: => Any): ExternalMaxSATSolver
    Implicit
    This member is added by an implicit conversion from ExternalMaxSATSolver toEnsuring[ExternalMaxSATSolver] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  12. def ensuring(cond: Boolean): ExternalMaxSATSolver
    Implicit
    This member is added by an implicit conversion from ExternalMaxSATSolver toEnsuring[ExternalMaxSATSolver] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  13. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  14. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  15. def formatted(fmtstr: String): String
    Implicit
    This member is added by an implicit conversion from ExternalMaxSATSolver toStringFormat[ExternalMaxSATSolver] performed by method StringFormat in scala.Predef.
    Definition Classes
    StringFormat
    Annotations
    @inline()
  16. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @IntrinsicCandidate()
  17. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @IntrinsicCandidate()
  18. val isInstalled: Boolean
  19. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  20. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  21. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @IntrinsicCandidate()
  22. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @IntrinsicCandidate()
  23. def runProgram(dimacsInput: String): String
    Attributes
    protected
  24. def solve(hard: CNF, soft: Seq[(Clause, Int)]): Option[Model]

    Solves a weighted partial MaxSAT problem.

    Solves a weighted partial MaxSAT problem.

    hard

    Hard constraints in CNF.

    soft

    Soft constraints in CNF along with their weights.

    returns

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

    Definition Classes
    ExternalMaxSATSolverMaxSATSolver
  25. def solve(hard: Formula, soft: Iterable[(Formula, Int)]): Option[PropositionalModel]

    hard

    Hard constraints.

    soft

    Soft constraints along with their weights.

    returns

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

    Definition Classes
    MaxSATSolver
  26. def solve(hard: Iterable[HOLClause], soft: Iterable[(HOLClause, Int)]): Option[PropositionalModel]
    Definition Classes
    MaxSATSolver
  27. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  28. def toString(): String
    Definition Classes
    AnyRef → Any
  29. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  30. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  31. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable]) @Deprecated @deprecated
    Deprecated

    (Since version ) see corresponding Javadoc for more information.

  2. def [B](y: B): (ExternalMaxSATSolver, B)
    Implicit
    This member is added by an implicit conversion from ExternalMaxSATSolver toArrowAssoc[ExternalMaxSATSolver] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc
    Annotations
    @deprecated
    Deprecated

    (Since version 2.13.0) Use -> instead. If you still wish to display it as one character, consider using a font with programming ligatures such as Fira Code.

Inherited from ExternalProgram

Inherited from MaxSATSolver

Inherited from AnyRef

Inherited from Any

Inherited by implicit conversion any2stringadd fromExternalMaxSATSolver to any2stringadd[ExternalMaxSATSolver]

Inherited by implicit conversion StringFormat fromExternalMaxSATSolver to StringFormat[ExternalMaxSATSolver]

Inherited by implicit conversion Ensuring fromExternalMaxSATSolver to Ensuring[ExternalMaxSATSolver]

Inherited by implicit conversion ArrowAssoc fromExternalMaxSATSolver to ArrowAssoc[ExternalMaxSATSolver]

Ungrouped