Class

at.logic.gapt.provers.maxsat

OpenWBO

Related Doc: package maxsat

Permalink

class OpenWBO extends MaxSATSolverBinary

Linear Supertypes
Type Hierarchy Learn more about scaladoc diagrams
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. OpenWBO
  2. MaxSATSolverBinary
  3. MaxSATSolver
  4. Logger
  5. AnyRef
  6. Any
Implicitly
  1. by any2stringadd
  2. by StringFormat
  3. by Ensuring
  4. by ArrowAssoc
  1. Hide All
  2. Show all
Visibility
  1. Public
  2. All

Instance Constructors

  1. new OpenWBO()

    Permalink

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. def +(other: String): String

    Permalink
    Implicit information
    This member is added by an implicit conversion from OpenWBO to any2stringadd[OpenWBO] performed by method any2stringadd in scala.Predef.
    Definition Classes
    any2stringadd
  4. def ->[B](y: B): (OpenWBO, B)

    Permalink
    Implicit information
    This member is added by an implicit conversion from OpenWBO to ArrowAssoc[OpenWBO] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc
    Annotations
    @inline()
  5. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  6. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  7. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  8. def command(in: String, out: String): List[String]

    Permalink

    Constructs the input command list for Process from the names of the input and output files for the MaxSAT solver.

    Constructs the input command list for Process from the names of the input and output files for the MaxSAT solver. For examples, have a look at implementations of this trait.

    in

    The name of the input file.

    out

    The name of the output file.

    returns

    The command list.

    Definition Classes
    OpenWBOMaxSATSolverBinary
  9. def debug(msg: ⇒ String): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    Logger
  10. def ensuring(cond: (OpenWBO) ⇒ Boolean, msg: ⇒ Any): OpenWBO

    Permalink
    Implicit information
    This member is added by an implicit conversion from OpenWBO to Ensuring[OpenWBO] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  11. def ensuring(cond: (OpenWBO) ⇒ Boolean): OpenWBO

    Permalink
    Implicit information
    This member is added by an implicit conversion from OpenWBO to Ensuring[OpenWBO] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  12. def ensuring(cond: Boolean, msg: ⇒ Any): OpenWBO

    Permalink
    Implicit information
    This member is added by an implicit conversion from OpenWBO to Ensuring[OpenWBO] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  13. def ensuring(cond: Boolean): OpenWBO

    Permalink
    Implicit information
    This member is added by an implicit conversion from OpenWBO to Ensuring[OpenWBO] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  14. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  15. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  16. def error(msg: ⇒ String, e: Throwable): Nothing

    Permalink
    Attributes
    protected
    Definition Classes
    Logger
  17. def error(msg: ⇒ String): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    Logger
  18. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  19. def format(): Format.Value

    Permalink

    The output format of this prover.

    The output format of this prover.

    Definition Classes
    OpenWBOMaxSATSolverBinary
  20. def formatted(fmtstr: String): String

    Permalink
    Implicit information
    This member is added by an implicit conversion from OpenWBO to StringFormat[OpenWBO] performed by method StringFormat in scala.Predef.
    Definition Classes
    StringFormat
    Annotations
    @inline()
  21. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  22. def getFromMaxSATBinary(hard: List[HOLClause], soft: List[(HOLClause, Int)]): Option[Interpretation]

    Permalink

    Converts a given partial weighted MaxSAT instance into wcnf format and invokes the solver via the supplied command.

    Converts a given partial weighted MaxSAT instance into wcnf format and invokes the solver via the supplied command. If the instance is satisfiable a model is returned, otherwise None

    hard

    clause set of hardconstraints

    soft

    clause set (+ weights) of soft constraints

    returns

    None if UNSAT, Some(minimal model) otherwise

    Attributes
    protected
    Definition Classes
    MaxSATSolverBinary
  23. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  24. def info(msg: ⇒ String): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    Logger
  25. val isInstalled: Boolean

    Permalink

    Checks if a particular Max SAT Solver is installed properly

    Checks if a particular Max SAT Solver is installed properly

    returns

    true if it is installed, false otherwise

    Definition Classes
    MaxSATSolverBinary
  26. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  27. val log: Logger

    Permalink
    Attributes
    protected
    Definition Classes
    Logger
  28. def logTime(msg: String, millisec: Long): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    MaxSATSolver
  29. def loggerName: String

    Permalink
    Attributes
    protected
    Definition Classes
    Logger
  30. val nLine: String

    Permalink
    Definition Classes
    MaxSATSolverBinary
  31. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  32. def noBinaryWarn(): String

    Permalink

    A warning message to be displayed if the binary is not found.

    A warning message to be displayed if the binary is not found.

    returns

    A warning message to be displayed if the binary is not found.

    Definition Classes
    OpenWBOMaxSATSolverBinary
  33. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  34. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  35. def solve(hard: List[HOLClause], soft: List[(HOLClause, Int)]): Option[Interpretation]

    Permalink

    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
    OpenWBOMaxSATSolver
  36. def solveWPM(hard: List[FOLFormula], soft: List[(FOLFormula, Int)], watch: Stopwatch = new Stopwatch()): Option[Interpretation]

    Permalink

    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
  37. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  38. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  39. def trace(msg: ⇒ String): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    Logger
  40. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  41. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  42. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  43. def warn(msg: ⇒ String, e: Throwable): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    Logger
  44. def warn(msg: ⇒ String): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    Logger
  45. def [B](y: B): (OpenWBO, B)

    Permalink
    Implicit information
    This member is added by an implicit conversion from OpenWBO to ArrowAssoc[OpenWBO] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc

Inherited from MaxSATSolverBinary

Inherited from MaxSATSolver

Inherited from Logger

Inherited from AnyRef

Inherited from Any

Inherited by implicit conversion any2stringadd from OpenWBO to any2stringadd[OpenWBO]

Inherited by implicit conversion StringFormat from OpenWBO to StringFormat[OpenWBO]

Inherited by implicit conversion Ensuring from OpenWBO to Ensuring[OpenWBO]

Inherited by implicit conversion ArrowAssoc from OpenWBO to ArrowAssoc[OpenWBO]

Ungrouped