abstract class CCostedColl[Item] extends scalan.Library.Node with scalan.Library.CostedColl[Item]

Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. CCostedColl
  2. CostedColl
  3. Costed
  4. Def
  5. Node
  6. Product
  7. Equals
  8. AnyRef
  9. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new CCostedColl(values: scalan.Library.Ref[scalan.Library.Coll[Item]], costs: scalan.Library.Ref[scalan.Library.Coll[Int]], sizes: scalan.Library.Ref[scalan.Library.Coll[scalan.Library.Size[Item]]], valuesCost: scalan.Library.Ref[Int])

Abstract Value Members

  1. abstract def canEqual(that: Any): Boolean
    Definition Classes
    Equals
  2. implicit abstract def eItem: scalan.Library.Elem[Item]
    Definition Classes
    CostedColl
  3. implicit abstract def eVal: scalan.Library.Elem[scalan.Library.Coll[Item]]
    Definition Classes
    Costed
  4. abstract def productArity: Int
    Definition Classes
    Product
  5. abstract def productElement(n: Int): Any
    Definition Classes
    Product
  6. abstract def resultType: scalan.Library.Elem[scalan.Library.Costed[scalan.Library.Coll[Item]]]

    Type of a resulting value produced by the operation represented by this definition.

    Type of a resulting value produced by the operation represented by this definition. For example, if this definition represents application of +: (Int, Int) => Int operation then the result type is Int and resultType should return IntElement.

    Definition Classes
    Def

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 builder: scalan.Library.Ref[scalan.Library.CostedBuilder]
    Definition Classes
    CCostedCollCosted
  6. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  7. def cost: scalan.Library.Ref[Int]
    Definition Classes
    CCostedCollCosted
    Annotations
    @NeverInline()
  8. val costs: scalan.Library.Ref[scalan.Library.Coll[Int]]
    Definition Classes
    CCostedCollCostedColl
  9. final def deps: Array[scalan.Library.Sym]

    Dependencies of this definition from other definitions.

    Dependencies of this definition from other definitions. If definition is interpreted as an operation, then dependencies are arguments of the operation. If definition if compound (like Lambda of ThunkDef) then deps is equals to free variables used in the body of the compound definition. This array also refers to predecessors of this graph node, so it is used to build topological ordering (execution schedule) of operations.

    returns

    array of referencies to other definitions.

    Definition Classes
    Node
  10. final def elements: Array[AnyRef]

    All data elements of this graph node to be used in structural equality.

    All data elements of this graph node to be used in structural equality.

    Definition Classes
    Node
    See also

    equals where elements are used.

  11. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  12. def equals(other: Any): Boolean

    Default equality of definitions.

    Default equality of definitions. Two definitions are equal if they have same elements.

    Definition Classes
    Node → Equals → AnyRef → Any
  13. def filterCosted(f: scalan.Library.Ref[(scalan.Library.Costed[Item]) ⇒ scalan.Library.Costed[Boolean]]): scalan.Library.Ref[scalan.Library.CostedColl[Item]]
    Definition Classes
    CCostedCollCostedColl
    Annotations
    @NeverInline()
  14. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  15. def foldCosted[B](zero: scalan.Library.Ref[scalan.Library.Costed[B]], op: scalan.Library.Ref[(scalan.Library.Costed[(B, Item)]) ⇒ scalan.Library.Costed[B]]): scalan.Library.Ref[scalan.Library.Costed[B]]
    Definition Classes
    CCostedCollCostedColl
    Annotations
    @NeverInline()
  16. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  17. def getDeps: Array[scalan.Library.Sym]

    Override to redefine how dependencies are computed.

    Override to redefine how dependencies are computed. For example, in core implementation this is overriden in Lambda and ThunkDef using freeVars.

    Attributes
    protected
    Definition Classes
    Node
  18. def hashCode(): Int

    Computed once and saved to avoid repeated computations, which is not necessary because definitions are immutable by default.

    Computed once and saved to avoid repeated computations, which is not necessary because definitions are immutable by default. If some definition require mutability, this method can be overriden accordingly.

    Definition Classes
    Node → AnyRef → Any
  19. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  20. def mapCosted[Res](f: scalan.Library.Ref[(scalan.Library.Costed[Item]) ⇒ scalan.Library.Costed[Res]]): scalan.Library.Ref[scalan.Library.CostedColl[Res]]
    Definition Classes
    CCostedCollCostedColl
    Annotations
    @NeverInline()
  21. def mirror(t: scalan.Library.Transformer): scalan.Library.Ref[scalan.Library.Costed[scalan.Library.Coll[Item]]]

    Clone this definition transforming all symbols using t.

    Clone this definition transforming all symbols using t. If new Def[A] is created, it is added to the graph with collapsing and rewriting. Can be overriden to implement node-specific mirroring (see MethodCall).

    t

    mapping of symbols to symbols (Ref[_] => Ref[_])

    returns

    symbol of the logical clone. If d don't contain symbols, then d.self is returned.

    Definition Classes
    Def
  22. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  23. final def nodeId: Int

    Unique id of the graph node assigned for each new instance using freshId generator.

    Unique id of the graph node assigned for each new instance using freshId generator. Doesn't participate in equality of this Def, thus definitions with different ids may still be structurally equal. Used to provide global Def numbering.

    Definition Classes
    Node
    Annotations
    @inline()
  24. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  25. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  26. def productIterator: Iterator[Any]
    Definition Classes
    Product
  27. def productPrefix: String
    Definition Classes
    Product
  28. final def self: scalan.Library.Ref[scalan.Library.Costed[scalan.Library.Coll[Item]]]

    Reference to this definition created lazily on demand.

    Reference to this definition created lazily on demand.

    Definition Classes
    Def
  29. def size: scalan.Library.Ref[scalan.Library.Size[scalan.Library.Coll[Item]]]
    Definition Classes
    CCostedCollCosted
  30. val sizes: scalan.Library.Ref[scalan.Library.Coll[scalan.Library.Size[Item]]]
    Definition Classes
    CCostedCollCostedColl
  31. final def syms: Array[scalan.Library.Sym]

    References to other nodes in this Def instance.

    References to other nodes in this Def instance. Note: This is different form deps for compound definitions like Lambda and ThunkDef.

    Definition Classes
    Node
  32. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  33. def toString(): String

    User readable string representation of this definition.

    User readable string representation of this definition. (for debugging only)

    Definition Classes
    Node → AnyRef → Any
  34. def transform(t: scalan.Library.Transformer): scalan.Library.Def[scalan.Library.Costed[scalan.Library.Coll[Item]]]

    Create a copy of this definition applying the given transformer to all syms.

    Create a copy of this definition applying the given transformer to all syms.

    Definition Classes
    Def
  35. def value: scalan.Library.Ref[scalan.Library.Coll[Item]]
    Definition Classes
    CCostedCollCosted
  36. val values: scalan.Library.Ref[scalan.Library.Coll[Item]]
    Definition Classes
    CCostedCollCostedColl
  37. val valuesCost: scalan.Library.Ref[Int]
    Definition Classes
    CCostedCollCostedColl
  38. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  39. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  40. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()

Inherited from scalan.Library.CostedColl[Item]

Inherited from scalan.Library.Node

Inherited from Product

Inherited from Equals

Inherited from AnyRef

Inherited from Any

Ungrouped