Class

org.scalarules.derivations

SubRunData

Related Doc: package derivations

Permalink

case class SubRunData[+O, I](derivations: List[Derivation], contextAdditions: (I) ⇒ Context, inputList: Fact[List[I]], yieldFact: Fact[O]) extends Product with Serializable

Specifies the Derivations to run within a SubRunDerivation and how to handle the Context around its execution.

O

type of the resulting output Fact.

I

element type of the input Fact.

derivations

a List of Derivations which must be executed in a nested run of the Engine.

contextAdditions

a function to enhance the Context based on the input value for a particular run.

inputList

the Fact whose value should be used to iterate over and perform sub runs for.

yieldFact

the Fact to extract from the result of the sub run. These values will be collected and end up being the overall result of the SubRunDerivation.

Linear Supertypes
Serializable, Serializable, Product, Equals, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. SubRunData
  2. Serializable
  3. Serializable
  4. Product
  5. Equals
  6. AnyRef
  7. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new SubRunData(derivations: List[Derivation], contextAdditions: (I) ⇒ Context, inputList: Fact[List[I]], yieldFact: Fact[O])

    Permalink

    derivations

    a List of Derivations which must be executed in a nested run of the Engine.

    contextAdditions

    a function to enhance the Context based on the input value for a particular run.

    inputList

    the Fact whose value should be used to iterate over and perform sub runs for.

    yieldFact

    the Fact to extract from the result of the sub run. These values will be collected and end up being the overall result of the SubRunDerivation.

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. val contextAdditions: (I) ⇒ Context

    Permalink

    a function to enhance the Context based on the input value for a particular run.

  7. val derivations: List[Derivation]

    Permalink

    a List of Derivations which must be executed in a nested run of the Engine.

  8. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  9. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  10. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  11. val inputList: Fact[List[I]]

    Permalink

    the Fact whose value should be used to iterate over and perform sub runs for.

  12. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  13. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  14. final def notify(): Unit

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

    Permalink
    Definition Classes
    AnyRef
  16. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  17. final def wait(): Unit

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  20. val yieldFact: Fact[O]

    Permalink

    the Fact to extract from the result of the sub run.

    the Fact to extract from the result of the sub run. These values will be collected and end up being the overall result of the SubRunDerivation.

  21. def yieldValue: (Context) ⇒ Option[O]

    Permalink

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from AnyRef

Inherited from Any

Ungrouped