public Production ( |
||
lhs | ||
rhs | Sentence | |
weight | double | |
Résultat | System |
public Production(Nonterminal lhs, Sentence rhs, double weight = 1.0) {
if (lhs == null) {
throw new ArgumentNullException("Lhs must be non-null");
}
if (rhs == null) {
throw new ArgumentNullException("Rhs must be non-null");
}
this.Lhs = lhs;
_rhs = rhs;
this.Weight = weight;
}
Production::Production ( |
|
Production::Production ( string lhsName, Sentence rhs, double weight = 1.0 ) : System | |
Production::Production ( string lhsName, |