Class

com.cra.figaro.algorithm.structured

MakeArrayComponent

Related Doc: package structured

Permalink

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
Visibility
  1. Public
  2. All

Instance Constructors

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

    Permalink

Value Members

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

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

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

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

    Permalink

    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]]

    Permalink

    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]]

    Permalink

    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]]

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

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

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

    Permalink

    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

    Permalink

    Ensure that the given number of items is expanded.

    Ensure that the given number of items is expanded.

    Definition Classes
    MakeArrayComponentExpandableComponent
  14. val expandFunction: (Int) ⇒ Constant[FixedSizeArray[Value]]

    Permalink
  15. def finalize(): Unit

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

    Permalink

    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
  17. final def getClass(): Class[_]

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

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

    Permalink
    Definition Classes
    Any
  20. val makeArray: MakeArray[Value]

    Permalink
  21. def makeConstraintFactors(bounds: Bounds = Lower): Unit

    Permalink

    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
  22. def makeNonConstraintFactors(parameterized: Boolean = false): Unit

    Permalink

    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
  23. var maxExpanded: Int

    Permalink

    The maximum number of items expanded so far.

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

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

    Permalink

    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
  26. final def notify(): Unit

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

    Permalink
    Definition Classes
    AnyRef
  28. val problem: Problem

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

    Permalink

    The current range of the element.

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

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

    Permalink

    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
  31. var subproblems: Map[Int, NestedProblem[FixedSizeArray[Value]]]

    Permalink

    The subproblems nested inside this expandable component.

    The subproblems nested inside this expandable component. They are created for particular parent values.

    Definition Classes
    ExpandableComponent
  32. final def synchronized[T0](arg0: ⇒ T0): T0

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

    Permalink
    Definition Classes
    AnyRef → Any
  34. def variable: Variable[FixedSizeArray[Value]]

    Permalink

    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
  35. final def wait(): Unit

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from ExpandableComponent[Int, FixedSizeArray[Value]]

Inherited from ProblemComponent[FixedSizeArray[Value]]

Inherited from AnyRef

Inherited from Any

Ungrouped