com.cra.figaro.experimental.structured

ExpandableComponent

Related Doc: package structured

abstract class ExpandableComponent[ParentValue, Value] extends ProblemComponent[Value]

A problem component that provides an expand method.

Linear Supertypes
ProblemComponent[Value], AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. ExpandableComponent
  2. ProblemComponent
  3. AnyRef
  4. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

  1. new ExpandableComponent(problem: Problem, parent: Element[ParentValue], element: Element[Value])

    parent

    the element according to whose values this component should be expanded

    element

    the element to which this component corresponds

Abstract Value Members

  1. abstract def expand(parentValue: ParentValue): Unit

    Expand for a particular parent value.

Concrete 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. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  5. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  6. def constraintFactors(bounds: Bounds = Lower): List[Factor[Double]]

    Gets the constraint factors for this component.

    Gets the constraint factors for this component. Returns the lower bound factors unless an Upper argument is provided.

    Definition Classes
    ProblemComponent
  7. var constraintLower: List[Factor[Double]]

    Lower bound factors resulting from conditions and constraints on this element.

    Lower bound factors resulting from conditions and constraints on this element. These should be updated when the range changes but otherwise should be left alone.

    Definition Classes
    ProblemComponent
  8. var constraintUpper: List[Factor[Double]]

    Upper bound factors resulting from conditions and constraints on this element.

    Upper bound factors resulting from conditions and constraints on this element. These should be updated when the range changes but otherwise should be left alone.

    Definition Classes
    ProblemComponent
  9. val element: Element[Value]

    Definition Classes
    ProblemComponent
  10. final def eq(arg0: AnyRef): Boolean

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

    Definition Classes
    AnyRef → Any
  12. def expand(): Unit

    Expand for all values of the parent, based on the current range of the parent.

  13. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  14. def generateRange(numValues: Int = ...): Unit

    Generate a range of values for this component.

    Generate a range of values for this component. Also sets the variable for this component. The optional argument is the number of values to include in the range. This argument is only used for atomic elements. If an argument is not in the component collection, we do not generate the argument, but instead assume its only value is *. This doesn't change the range of any other element or expand any subproblems. The range will include * based on argument ranges including * or any subproblem not being expanded.\

    Definition Classes
    ProblemComponent
  15. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  16. def hashCode(): Int

    Definition Classes
    AnyRef → Any
  17. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  18. def makeConstraintFactors(bounds: Bounds = Lower): Unit

    Generate the constraint factors based on the current range.

    Generate the constraint factors based on the current range. Bounds specifies whether these should be created for computing lower or upper bounds.

    Definition Classes
    ProblemComponent
  19. def makeNonConstraintFactors(parameterized: Boolean = false): Unit

    Generate the non-constraint factors based on the current range.

    Generate the non-constraint factors based on the current range. For most elements, this just generates the factors in the usual way. For a chain, this takes the current solution to the subproblems, which are lists of factors over this and other components. The parameterized flag indicates whether parameterized elements should have special factors created that use the MAP values of their arguments.

    Definition Classes
    ProblemComponent
  20. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  21. var nonConstraintFactors: List[Factor[Double]]

    All non-constraint factors resulting from the definition of this element.

    All non-constraint factors resulting from the definition of this element. For many element classes, these factors will be generated directly in the usual way. For chains, they will include the solutions of subproblems.

    Definition Classes
    ProblemComponent
  22. final def notify(): Unit

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

    Definition Classes
    AnyRef
  24. val problem: Problem

    Definition Classes
    ProblemComponent
  25. var range: ValueSet[Value]

    The current range of the element.

    The current range of the element. May grow or change over time.

    Definition Classes
    ProblemComponent
  26. def setVariable(v: Variable[Value]): Unit

    Set the variable associated with this component to the given variable.

    Set the variable associated with this component to the given variable.

    Definition Classes
    ProblemComponent
  27. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  28. def toString(): String

    Definition Classes
    AnyRef → Any
  29. def variable: Variable[Value]

    The current variable representing this component in factors.

    The current variable representing this component in factors. This is set automatically when the range is updated.

    Definition Classes
    ProblemComponent
  30. final def wait(): Unit

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from ProblemComponent[Value]

Inherited from AnyRef

Inherited from Any

Ungrouped