Method | Description | |
---|---|---|
Production ( |
Returns a new production.
|
|
Production ( |
||
Production ( string lhsName, Sentence rhs, double weight = 1.0 ) : System | ||
Production ( string lhsName, |
||
ToCodeString ( ) : string | ||
ToString ( ) : string | ||
ToStringNoWeight ( ) : string | ||
ValueEquals ( |
Checks whether the productions have the same parts
|
Method | Description | |
---|---|---|
DeepClone ( ) : |
Returns a new Production with constituent pieces equivalent to this Production. The Rhs is a new Sentence, so that any piece of the new Production can be changed without changing the old Production.
|
|
IsUnit ( ) : bool |
public Production ( |
||
lhs | ||
rhs | Sentence | |
weight | double | |
return | System |
public Production ( |
||
lhs | ||
rhsOnlyWord | ||
weight | double | |
return | System |
public Production ( string lhsName, Sentence rhs, double weight = 1.0 ) : System | ||
lhsName | string | |
rhs | Sentence | |
weight | double | |
return | System |
public Production ( string lhsName, |
||
lhsName | string | |
rhsOnlyWord | ||
weight | double | |
return | System |
public ValueEquals ( |
||
other | ||
return | bool |