class Problem extends AnyRef

A Problem defines an inference problem to be solved. It includes a set of components directly contained in the problem. These components might have nested subproblems. It also refers to global components that are outside of this problem. The targets are elements that appear in this problem that are visible outside. They might be newly defined in this problem or they might be defined previously, but either way, they should not be eliminated.

Linear Supertypes
AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Problem
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new Problem(collection: ComponentCollection, targets: List[Element[_]] = List())

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. def add[T](element: Element[T]): ProblemComponent[T]

    Add a component for the given element to this problem.

  5. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  6. def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  7. val collection: ComponentCollection
  8. var components: List[ProblemComponent[_]]

    Components directly defined in this problem.

  9. def contains(otherProblem: Problem): Boolean

    Determines if this problem contains the given problem.

    Determines if this problem contains the given problem. Any variables in the contained problem should also be eliminated when this problem is solved.

  10. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  11. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  12. def finalize(): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  13. def fullyRefined: Boolean

    Determines if this problem is fully refined.

    Determines if this problem is fully refined. A problem is fully refined when all components within are fully refined, in which case none of their ranges or factors will change with further refinement.

  14. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
  15. def global(variable: Variable[_]): Boolean

    Determines if a variable is in scope outside of this problem

  16. var globals: Set[ProblemComponent[_]]

    Components outside of this problem that appear in the solution to this problem.

  17. def hashCode(): Int
    Definition Classes
    AnyRef → Any
  18. def internal(variable: Variable[_]): Boolean

    Determines if a variable is internal to this problem and should be eliminated

  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
  22. final def notifyAll(): Unit
    Definition Classes
    AnyRef
  23. var recordingFactors: Map[Variable[_], Factor[_]]

    A map for each variable that indicates the value of the variable that is maximal for each possible value of the interface The support of each factor is over the product of the supports of the interface variables

  24. def sample(): (Map[Element[_], _], Double)

    Produce a single weighted sample of all the elements in this problem.

  25. var solution: List[Factor[Double]]

    Factors over globals produced by solving the problem.

  26. var solved: Boolean

    A flag indicating whether the problem has been solved.

  27. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  28. def targetComponents: List[ProblemComponent[_]]

    Targets of this problem as a list of components in the collection.

  29. val targets: List[Element[_]]
  30. def toString(): String
    Definition Classes
    AnyRef → Any
  31. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  32. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  33. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from AnyRef

Inherited from Any

Ungrouped