c

com.cra.figaro.algorithm.structured

MakeArrayComponent

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

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. val element: Element[FixedSizeArray[Value]]
    Definition Classes
    ProblemComponent
  8. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  9. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  10. 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
  11. 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
  12. val expandFunction: (Int) ⇒ Constant[FixedSizeArray[Value]]
  13. def finalize(): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  14. var fullyEnumerated: Boolean

    A problem component is fully enumerated if its range is complete.

    A problem component is fully enumerated if its range is complete. This also means that its range cannot contain star. This is always false for components associated with elements that have infinite support.

    Definition Classes
    ProblemComponent
  15. var fullyRefined: Boolean

    A problem component is fully refined if any additional refinement cannot change its range or factors.

    A problem component is fully refined if any additional refinement cannot change its range or factors. One necessary condition is to be fully enumerated. Additionally, expandable components must be fully expanded (i.e. have created a subproblem for each parent value), and each subproblem must be fully refined. These conditions are necessary but not always sufficient to be fully refined.

    Definition Classes
    ProblemComponent
  16. def generateRange(): Unit

    Generate a range of values for this component.

    Generate a range of values for this component. Also sets the variable for this component. 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[_]
    Definition Classes
    AnyRef → Any
  18. def hashCode(): Int
    Definition Classes
    AnyRef → Any
  19. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  20. val makeArray: MakeArray[Value]
  21. var maxExpanded: Int

    The maximum number of items expanded so far.

  22. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  23. def nonConstraintFactors(parameterized: Boolean = false): List[Factor[Double]]

    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 does not include subproblem factors. The parameterized flag indicates whether parameterized elements should have special factors created that use the MAP values of their arguments. This defaults to false.

    Definition Classes
    ProblemComponent
  24. final def notify(): Unit
    Definition Classes
    AnyRef
  25. final def notifyAll(): Unit
    Definition Classes
    AnyRef
  26. val problem: Problem
    Definition Classes
    ProblemComponent
  27. 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
  28. 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
  29. var subproblems: Map[Int, NestedProblem[FixedSizeArray[Value]]]

    The subproblems nested inside this expandable component.

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

    Definition Classes
    ExpandableComponent
  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