Packages

abstract class Coster[T] extends AnyRef

For each Sigma type there should be one Coster class (derived from this). Each coster object implements a set of costing rules, one rule for each method of the corresponding Sigma type. For example, BoxCoster is coster for Box type, it contains rules for all methods registered in SBox type descriptor. This class defines generic costing helpers, to unify and simplify costing rules of individual methods.

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Coster
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new Coster(obj: IRContext.RCosted[T], method: SMethod, costedArgs: Seq[IRContext.RCosted[_]], args: Seq[IRContext.Sym])

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 bigIntPropertyAccess(prop: (IRContext.Ref[T]) ⇒ IRContext.Ref[IRContext.BigInt]): IRContext.RCosted[IRContext.BigInt]
  6. def boxPropertyAccess(prop: (IRContext.Ref[T]) ⇒ IRContext.Ref[IRContext.Box], propSize: (IRContext.RSize[T]) ⇒ IRContext.RSize[IRContext.Box]): IRContext.RCosted[IRContext.Box]
  7. def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  8. def constantSizePropertyAccess[R](prop: (IRContext.Ref[T]) ⇒ IRContext.Ref[R]): IRContext.RCosted[R]
  9. def costOfArgs: Seq[IRContext.Ref[Int]]
  10. def defaultCollPropertyAccess[R](prop: (IRContext.Ref[T]) ⇒ IRContext.RColl[R], propSize: (IRContext.RSize[T]) ⇒ IRContext.RSize[IRContext.Coll[R]], itemCost: IRContext.Ref[Int])(implicit arg0: IRContext.Elem[R]): IRContext.RCostedColl[R]
  11. def defaultOptionPropertyAccess[R](prop: (IRContext.Ref[T]) ⇒ IRContext.ROption[R], propSize: (IRContext.RSize[T]) ⇒ IRContext.RSize[IRContext.WOption[R]], itemCost: IRContext.Ref[Int])(implicit arg0: IRContext.Elem[R]): IRContext.RCostedOption[R]
  12. def defaultPropertyAccess[R](prop: (IRContext.Ref[T]) ⇒ IRContext.Ref[R], propSize: (IRContext.RSize[T]) ⇒ IRContext.RSize[R]): IRContext.RCosted[R]
  13. def digest32PropertyAccess(prop: (IRContext.Ref[T]) ⇒ IRContext.Ref[IRContext.Coll[Byte]]): IRContext.Ref[IRContext.CostedColl[Byte]]
  14. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  15. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  16. def finalize(): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  17. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  18. def groupElementPropertyAccess(prop: (IRContext.Ref[T]) ⇒ IRContext.Ref[IRContext.GroupElement]): IRContext.RCosted[IRContext.GroupElement]
  19. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  20. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  21. def knownLengthCollPropertyAccess[R](prop: (IRContext.Ref[T]) ⇒ IRContext.Ref[IRContext.Coll[R]], info: IRContext.KnownCollInfo[R]): IRContext.Ref[IRContext.CostedColl[R]]
  22. def knownSizePropertyAccess[R](prop: (IRContext.Ref[T]) ⇒ IRContext.Ref[R], size: IRContext.RSize[R]): IRContext.RCosted[R]
  23. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  24. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  25. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  26. def sizeOfArgs: IRContext.Ref[Long]
  27. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  28. def toString(): String
    Definition Classes
    AnyRef → Any
  29. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  30. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  31. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()

Inherited from AnyRef

Inherited from Any

Ungrouped