final class ProjectionIndexer[C, F] extends (Int) ⇒ Int with Serializable

For computing projections from a fine grammar to a coarse grammar.

There are two indexes maintained for the fine symbols: a globally unique id, and a local per-symbol id (in the range 0...numRefinements(coarseSym).

Yuck.

Annotations
@SerialVersionUID()
Linear Supertypes
Serializable, Serializable, (Int) ⇒ Int, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ProjectionIndexer
  2. Serializable
  3. Serializable
  4. Function1
  5. AnyRef
  6. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

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. def andThen[A](g: (Int) ⇒ A): (Int) ⇒ A
    Definition Classes
    Function1
    Annotations
    @unspecialized()
  5. def apply(f: Int): Int

    Same as project(f)

    Same as project(f)

    Definition Classes
    ProjectionIndexer → Function1
  6. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  7. def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  8. val coarseEncoder: Encoder[C]
  9. val coarseIndex: Index[C]
  10. def coarseSymbol(f: Int): C
  11. def compose[F2](finerProjections: ProjectionIndexer[F, F2]): ProjectionIndexer[C, F2]

    From a PI[C, F] and a PI[F, F2], makes a PI[C, F2]

  12. def compose[A](g: (A) ⇒ Int): (A) ⇒ Int
    Definition Classes
    Function1
    Annotations
    @unspecialized()
  13. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  14. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  15. def finalize(): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  16. val fineIndex: Index[F]
  17. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
  18. val globalRefinements: Array[Array[Int]]
  19. def globalize(c: C, f: Int): F
  20. def globalize(c: Int, f: Int): Int
  21. def hashCode(): Int
    Definition Classes
    AnyRef → Any
  22. def indexAndLocalize(f: F): (Int, Int)
  23. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  24. def localRefinements(c: Int): Array[Int]
  25. val localizationArray: Array[Int]
  26. def localize(f: F): (C, Int)
  27. def localize(f: Int): Int
  28. def localizeArray[T](array: Array[T])(implicit arg0: ClassTag[T]): Array[Array[T]]
  29. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  30. final def notify(): Unit
    Definition Classes
    AnyRef
  31. final def notifyAll(): Unit
    Definition Classes
    AnyRef
  32. def numRefinements(c: Int): Int
  33. val perSymbolRefinements: Array[Array[Int]]
  34. def project(f: F): C
  35. def project(f: Int): Int

    Computes the projection of the indexed fine label f to an indexed coarse label.

  36. def refinementsOf(c: C): IndexedSeq[F]
  37. def refinementsOf(c: Int): Array[Int]
  38. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  39. def toString(): String
    Definition Classes
    ProjectionIndexer → Function1 → AnyRef → Any
  40. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  41. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  42. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from Serializable

Inherited from Serializable

Inherited from (Int) ⇒ Int

Inherited from AnyRef

Inherited from Any

Ungrouped