Class/Object

epic.parser.projections

ProjectionIndexer

Related Docs: object ProjectionIndexer | package projections

Permalink

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

    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. def andThen[A](g: (Int) ⇒ A): (Int) ⇒ A

    Permalink
    Definition Classes
    Function1
    Annotations
    @unspecialized()
  5. def apply(f: Int): Int

    Permalink

    Same as project(f)

    Same as project(f)

    Definition Classes
    ProjectionIndexer → Function1
  6. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  7. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  8. val coarseEncoder: Encoder[C]

    Permalink
  9. val coarseIndex: Index[C]

    Permalink
  10. def coarseSymbol(f: Int): C

    Permalink
  11. def compose[F2](finerProjections: ProjectionIndexer[F, F2]): ProjectionIndexer[C, F2]

    Permalink

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

  12. def compose[A](g: (A) ⇒ Int): (A) ⇒ Int

    Permalink
    Definition Classes
    Function1
    Annotations
    @unspecialized()
  13. final def eq(arg0: AnyRef): Boolean

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

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

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  16. val fineIndex: Index[F]

    Permalink
  17. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  18. val globalRefinements: Array[Array[Int]]

    Permalink
  19. def globalize(c: C, f: Int): F

    Permalink
  20. def globalize(c: Int, f: Int): Int

    Permalink
  21. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  22. def indexAndLocalize(f: F): (Int, Int)

    Permalink
  23. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  24. def localRefinements(c: Int): Array[Int]

    Permalink
  25. val localizationArray: Array[Int]

    Permalink
  26. def localize(f: F): (C, Int)

    Permalink
  27. def localize(f: Int): Int

    Permalink
  28. def localizeArray[T](array: Array[T])(implicit arg0: ClassTag[T]): Array[Array[T]]

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

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

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

    Permalink
    Definition Classes
    AnyRef
  32. def numRefinements(c: Int): Int

    Permalink
  33. val perSymbolRefinements: Array[Array[Int]]

    Permalink
  34. def project(f: F): C

    Permalink
  35. def project(f: Int): Int

    Permalink

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

  36. def refinementsOf(c: C): IndexedSeq[F]

    Permalink
  37. def refinementsOf(c: Int): Array[Int]

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

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

    Permalink
    Definition Classes
    ProjectionIndexer → Function1 → AnyRef → Any
  40. final def wait(): Unit

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

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

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

Inherited from Serializable

Inherited from Serializable

Inherited from (Int) ⇒ Int

Inherited from AnyRef

Inherited from Any

Ungrouped