Class

sigmastate.eval.CostingRules

Coster

Related Doc: package CostingRules

Permalink

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

    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 bigIntPropertyAccess(prop: (IRContext.Ref[T]) ⇒ IRContext.Ref[IRContext.BigInt]): IRContext.RCosted[IRContext.BigInt]

    Permalink
  6. def boxPropertyAccess(prop: (IRContext.Ref[T]) ⇒ IRContext.Ref[IRContext.Box], propSize: (IRContext.RSize[T]) ⇒ IRContext.RSize[IRContext.Box]): IRContext.RCosted[IRContext.Box]

    Permalink
  7. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  8. def constantSizePropertyAccess[R](prop: (IRContext.Ref[T]) ⇒ IRContext.Ref[R]): IRContext.RCosted[R]

    Permalink
  9. def costOfArgs: Seq[IRContext.Ref[Int]]

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

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

    Permalink
  12. def defaultPropertyAccess[R](prop: (IRContext.Ref[T]) ⇒ IRContext.Ref[R], propSize: (IRContext.RSize[T]) ⇒ IRContext.RSize[R]): IRContext.RCosted[R]

    Permalink
  13. def digest32PropertyAccess(prop: (IRContext.Ref[T]) ⇒ IRContext.Ref[IRContext.Coll[Byte]]): IRContext.Ref[IRContext.CostedColl[Byte]]

    Permalink
  14. final def eq(arg0: AnyRef): Boolean

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

    Permalink
    Definition Classes
    AnyRef → Any
  16. def finalize(): Unit

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

    Permalink
    Definition Classes
    AnyRef → Any
  18. def groupElementPropertyAccess(prop: (IRContext.Ref[T]) ⇒ IRContext.Ref[IRContext.GroupElement]): IRContext.RCosted[IRContext.GroupElement]

    Permalink
  19. def hashCode(): Int

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

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

    Permalink
  22. def knownSizePropertyAccess[R](prop: (IRContext.Ref[T]) ⇒ IRContext.Ref[R], size: IRContext.RSize[R]): IRContext.RCosted[R]

    Permalink
  23. final def ne(arg0: AnyRef): Boolean

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

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

    Permalink
    Definition Classes
    AnyRef
  26. def sizeOfArgs: IRContext.Ref[Long]

    Permalink
  27. final def synchronized[T0](arg0: ⇒ T0): T0

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

    Permalink
    Definition Classes
    AnyRef → Any
  29. final def wait(): Unit

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

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

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

Inherited from AnyRef

Inherited from Any

Ungrouped