object RuleTopology extends Serializable
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- RuleTopology
- Serializable
- Serializable
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
apply[L, W](root: L, labelIndex: Index[L], ruleIndex: Index[Rule[L]]): RuleTopology[L]
Given the indices necessary to make a grammar, builds the other data structures that enable fast access to parent/child information, etc.
Given the indices necessary to make a grammar, builds the other data structures that enable fast access to parent/child information, etc.
- root
root label
- labelIndex
index of grammar symbols
- ruleIndex
index of rules
-
def
apply[L](root: L, binaries: Counter2[L, _ <: Rule[L], _], unaries: Counter2[L, _ <: Rule[L], _]): RuleTopology[L]
Given a bunch of counts, builds a grammar.
Given a bunch of counts, builds a grammar.
- L
label type
- root
the root label
- binaries
presumably counts of binary rules
- unaries
presumably counts of unary rules
- returns
a base grammar instance
-
def
apply[L, W](root: L, productions: TraversableOnce[Rule[L]]): RuleTopology[L]
Builds a grammar just from some productions
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )