Object

dregex.impl

DfaAlgorithms

Related Doc: package impl

Permalink

object DfaAlgorithms

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

Type Members

  1. type BinaryOp[A <: State] = (Dfa[A], Dfa[A]) ⇒ Dfa[BiState[A]]

    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 clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  6. def diff[A <: State](left: Dfa[A], right: Dfa[A]): Dfa[BiState[A]]

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  9. def equivalent[A <: State](left: Dfa[A], right: Dfa[A]): Boolean

    Permalink
  10. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  11. def fromNfa(nfa: Nfa, minimal: Boolean = false): Dfa[MultiState]

    Permalink

    Produce a DFA from a NFA using the 'power set construction' https://en.wikipedia.org/w/index.php?title=Powerset_construction&oldid=547783241

  12. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  13. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  14. def intersect[A <: State](left: Dfa[A], right: Dfa[A]): Dfa[BiState[A]]

    Permalink
  15. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  16. def isIntersectionNotEmpty[A <: State](left: Dfa[A], right: Dfa[A]): Boolean

    Permalink
  17. def isProperSubset[A <: State](left: Dfa[A], right: Dfa[A]): Boolean

    Permalink
  18. def isSubsetOf[A <: State](left: Dfa[A], right: Dfa[A]): Boolean

    Permalink
  19. def matchString[A <: State](dfa: Dfa[A], string: String): (Boolean, Int)

    Permalink
  20. def matchesAnything[A <: State](dfa: Dfa[A]): Boolean

    Permalink

    Return whether a DFA matches anything.

    Return whether a DFA matches anything. A DFA matches at least some language if there is a path from the initial state to any of the accepting states

  21. def minimize(dfa: Dfa[SimpleState]): Dfa[SimpleState]

    Permalink

    DFA minimization, using Brzozowski's algorithm http://cs.stackexchange.com/questions/1872/brzozowskis-algorithm-for-dfa-minimization

  22. final def ne(arg0: AnyRef): Boolean

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

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

    Permalink
    Definition Classes
    AnyRef
  25. def removeUnreachableStates[A <: State](dfa: Dfa[A]): Dfa[A]

    Permalink
  26. def reverse[A <: State](dfa: Dfa[A]): Nfa

    Permalink
  27. def reverseAsDfa[A <: State](dfa: Dfa[A]): Dfa[MultiState]

    Permalink
  28. def rewrite[A <: State, B <: State](dfa: Dfa[A], stateFactory: () ⇒ B): Dfa[B]

    Permalink

    Rewrite a DFA using canonical names for the states.

    Rewrite a DFA using canonical names for the states. Useful for simplifying the DFA product of intersections or NFA conversions. This function does not change the language matched by the DFA

  29. def rewriteWithSimpleStates[A <: State](genericDfa: Dfa[A]): Dfa[SimpleState]

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

    Permalink
    Definition Classes
    AnyRef
  31. def toNfa[A <: State](dfa: Dfa[A]): Nfa

    Permalink

    Each DFA is also trivially a NFA, return it.

  32. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  33. def union[A <: State](left: Dfa[A], right: Dfa[A]): Dfa[BiState[A]]

    Permalink
  34. final def wait(): Unit

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

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

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

Inherited from AnyRef

Inherited from Any

Ungrouped