com.cra.figaro.experimental.structured

MakeArrayComponent

Related Doc: package structured

class MakeArrayComponent[Value] extends ExpandableComponent[Int, FixedSizeArray[Value]]

A problem component for a MakeArray element.

Linear Supertypes
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. MakeArrayComponent
  2. ExpandableComponent
  3. ProblemComponent
  4. AnyRef
  5. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

  1. new MakeArrayComponent(problem: Problem, makeArray: MakeArray[Value])

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[FixedSizeArray[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 all the potential items according to the maximum value in the range of the MakeArray's number of items.

    Expand all the potential items according to the maximum value in the range of the MakeArray's number of items.

    Definition Classes
    MakeArrayComponentExpandableComponent
  13. def expand(n: Int): Unit

    Ensure that the given number of items is expanded.

    Ensure that the given number of items is expanded.

    Definition Classes
    MakeArrayComponentExpandableComponent
  14. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  15. 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
  16. final def getClass(): Class[_]

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

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

    Definition Classes
    Any
  19. val makeArray: MakeArray[Value]

  20. 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
  21. 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
  22. var maxExpanded: Int

    The maximum number of items expanded so far.

  23. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  24. 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
  25. final def notify(): Unit

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

    Definition Classes
    AnyRef
  27. val problem: Problem

    Definition Classes
    ProblemComponent
  28. var range: ValueSet[FixedSizeArray[Value]]

    The current range of the element.

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

    Definition Classes
    ProblemComponent
  29. def setVariable(v: Variable[FixedSizeArray[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
  30. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  31. def toString(): String

    Definition Classes
    AnyRef → Any
  32. def variable: Variable[FixedSizeArray[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
  33. final def wait(): Unit

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from ExpandableComponent[Int, FixedSizeArray[Value]]

Inherited from ProblemComponent[FixedSizeArray[Value]]

Inherited from AnyRef

Inherited from Any

Ungrouped