de.fosd.typechef.featureexpr.bdd

False

object False extends BDDFeatureExpr with DefaultPrint with SingleFeatureExpr

Linear Supertypes
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. False
  2. SingleFeatureExpr
  3. DefaultPrint
  4. BDDFeatureExpr
  5. FeatureExpr
  6. Serializable
  7. AnyRef
  8. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Value Members

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

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. final def ##(): Int

    Definition Classes
    AnyRef → Any
  4. final def &(that: FeatureExpr): FeatureExpr

    Definition Classes
    FeatureExpr
  5. final def ==(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  6. final def ==(arg0: Any): Boolean

    Definition Classes
    Any
  7. def and(that: FeatureExpr): FeatureExpr

    Definition Classes
    BDDFeatureExprFeatureExpr
  8. final def andNot(that: FeatureExpr): FeatureExpr

    Definition Classes
    FeatureExpr
  9. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  10. def calcSize: Int

    Attributes
    protected
    Definition Classes
    BDDFeatureExprFeatureExpr
  11. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  12. def collectDistinctFeatureObjects: Set[SingleFeatureExpr]

    Definition Classes
    BDDFeatureExprFeatureExpr
  13. def collectDistinctFeatures: Set[String]

    Definition Classes
    BDDFeatureExprFeatureExpr
  14. def countDistinctFeatures: Int

    counts the number of features in this expression for statistic purposes

    counts the number of features in this expression for statistic purposes

    Definition Classes
    BDDFeatureExpr
  15. def debug_print(ind: Int): String

    Definition Classes
    FalseFeatureExpr
  16. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  17. final def equals(that: Any): Boolean

    Definition Classes
    BDDFeatureExpr → AnyRef → Any
  18. def equiv(that: FeatureExpr): BDDFeatureExpr

    Definition Classes
    BDDFeatureExprFeatureExpr
  19. def equivalentTo(that: FeatureExpr, fm: FeatureModel): Boolean

    Definition Classes
    FeatureExpr
  20. def equivalentTo(that: FeatureExpr): Boolean

    uses a SAT solver to determine whether two expressions are equivalent.

    uses a SAT solver to determine whether two expressions are equivalent.

    for performance reasons, it checks pointer equivalence first, but won't use the recursive equals on aexpr (there should only be few cases when equals is more accurate than eq, which are not worth the performance overhead)

    Definition Classes
    FeatureExpr
  21. def evaluate(selectedFeatures: Set[String]): Boolean

    evaluate the expression for a given feature selection (all features not provided are assumed deselected)

    evaluate the expression for a given feature selection (all features not provided are assumed deselected)

    features provided as a list of names (how they would be created with createDefinedExternal)

    evaluates to true or false

    Definition Classes
    BDDFeatureExprFeatureExpr
  22. def feature: String

    Definition Classes
    FalseSingleFeatureExpr
  23. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  24. def freeBDD(): Unit

    frees the space occupied by this bdd in the bdd library.

    frees the space occupied by this bdd in the bdd library. This is done without any safety-measures! If there is any reference to this FeatureExpression left, and its reference to the (cleared) bdd is used, there might be an exception or undefined behavior.

    Definition Classes
    BDDFeatureExpr
  25. def getBddAllSat: Iterator[Array[(Byte, String)]]

    Iterator[Array[(Byte,String)]] Returns a iterator.

    Iterator[Array[(Byte,String)]] Returns a iterator. Each element of the iterator is a clause of the CNF formula. Each element of the clause-array is a single feature. The feature is given as tuple (a,b): a==0 means the feature is negated, b is the name of the feature.

    Definition Classes
    BDDFeatureExpr
  26. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  27. def getConfIfSimpleAndExpr(): Option[(Set[SingleFeatureExpr], Set[SingleFeatureExpr])]

    If this expr is a simple concatenation of SingleFeatureExpressions (and their negations), then this method returns the expression as a set of singleFeatureExpr that occur as enabled (disabled).

    If this expr is a simple concatenation of SingleFeatureExpressions (and their negations), then this method returns the expression as a set of singleFeatureExpr that occur as enabled (disabled). If the expression is more complex, None is returned.

    returns

    Definition Classes
    SingleFeatureExprFeatureExpr
  28. def getConfIfSimpleOrExpr(): Option[(Set[SingleFeatureExpr], Set[SingleFeatureExpr])]

    Definition Classes
    SingleFeatureExprFeatureExpr
  29. def getSatisfiableAssignment(featureModel: FeatureModel, interestingFeatures: Set[SingleFeatureExpr], preferDisabledFeatures: Boolean): Option[(List[SingleFeatureExpr], List[SingleFeatureExpr])]

    Definition Classes
    BDDFeatureExprFeatureExpr
  30. def hashCode(): Int

    Definition Classes
    BDDFeatureExpr → AnyRef → Any
  31. def implies(that: FeatureExpr): BDDFeatureExpr

    Definition Classes
    BDDFeatureExprFeatureExpr
  32. def indent(level: Int): String

    Attributes
    protected
    Definition Classes
    FeatureExpr
  33. def isContradiction(fm: FeatureModel): Boolean

    Definition Classes
    FeatureExpr
  34. final def isContradiction(): Boolean

    Definition Classes
    FeatureExpr
  35. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  36. def isSatisfiable(fm: FeatureModel): Boolean

    x.

    x.isSatisfiable(fm) is short for x.and(fm).isSatisfiable but is faster because FM is cached

    Definition Classes
    FalseBDDFeatureExprFeatureExpr
  37. final def isSatisfiable(): Boolean

    Definition Classes
    FeatureExpr
  38. def isSatisfiable2(f: FeatureModel): Boolean

    alternative implementation of issatisfiable that uses a different CNF conversion with more variables but possibly fewer clauses

    alternative implementation of issatisfiable that uses a different CNF conversion with more variables but possibly fewer clauses

    the difference is only relevant when dimacs-feature models are involved

    Definition Classes
    BDDFeatureExpr
  39. def isSmall(): Boolean

    heuristic to determine whether a feature expression is small (may be used to decide whether to inline it or not)

    heuristic to determine whether a feature expression is small (may be used to decide whether to inline it or not)

    use with care

    Definition Classes
    BDDFeatureExpr
  40. def isTautology(fm: FeatureModel): Boolean

    FM -> X is tautology if FM.

    FM -> X is tautology if FM.implies(X).isTautology or !FM.and.(x.not).isSatisfiable

    not final for optimization purposes

    Definition Classes
    FeatureExpr
  41. final def isTautology(): Boolean

    Definition Classes
    FeatureExpr
  42. def mex(that: FeatureExpr): FeatureExpr

    Definition Classes
    FeatureExpr
  43. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  44. def not(): FeatureExpr

    Definition Classes
    BDDFeatureExprFeatureExpr
  45. final def notify(): Unit

    Definition Classes
    AnyRef
  46. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  47. def or(that: FeatureExpr): FeatureExpr

    Definition Classes
    BDDFeatureExprFeatureExpr
  48. final def orNot(that: FeatureExpr): FeatureExpr

    Definition Classes
    FeatureExpr
  49. def print(p: Writer): Unit

    Prints the textual representation of this formula on a Writer.

    Prints the textual representation of this formula on a Writer. The result shall be equivalent to p.print(toTextExpr), but it should avoid consuming so much temporary space.

    p

    the output Writer

    Definition Classes
    DefaultPrintFeatureExpr
  50. final lazy val size: Int

    Definition Classes
    FeatureExpr
  51. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  52. def toString(): String

    Converts this formula to a textual expression.

    Converts this formula to a textual expression.

    Definition Classes
    FalseBDDFeatureExprFeatureExpr → AnyRef → Any
  53. def toStringDNF: String

    Definition Classes
    BDDFeatureExpr
  54. def toTextExpr: String

    Converts this formula to a textual expression.

    Converts this formula to a textual expression.

    Definition Classes
    FalseBDDFeatureExprFeatureExpr
  55. def toTextExprDNF: String

    Definition Classes
    BDDFeatureExpr
  56. final def unary_!: FeatureExpr

    Definition Classes
    FeatureExpr
  57. def unique(feature: SingleFeatureExpr): FeatureExpr

    unique existential quantification over feature "feature".

    unique existential quantification over feature "feature".

    This has the effect of substituting the feature by true and false respectively and returning the xor of both: this[feature->True] xor this[feature->False]

    It can be seen as identifying under which condition the feature matters for the result of the formula

    Definition Classes
    BDDFeatureExprFeatureExpr
  58. final def wait(): Unit

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  61. def xor(that: FeatureExpr): BDDFeatureExpr

    Definition Classes
    BDDFeatureExprFeatureExpr
  62. final def |(that: FeatureExpr): FeatureExpr

    Definition Classes
    FeatureExpr

Inherited from SingleFeatureExpr

Inherited from DefaultPrint

Inherited from BDDFeatureExpr

Inherited from FeatureExpr

Inherited from Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped