|
MOEA Framework 2.5 API Specification |
|||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||
java.lang.Objectorg.moeaframework.util.grammar.Production
public class Production
A context-free grammar production.
ContextFreeGrammar,
Rule,
Symbol| Constructor Summary | |
|---|---|
Production()
Constructs an empty production. |
|
| Method Summary | |
|---|---|
void |
add(Symbol symbol)
Adds a symbol to this production. |
Symbol |
get(int index)
Returns the symbol at the specified index. |
int |
size()
Returns the number of symbols contained in this production. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Production()
add(Symbol) method.
| Method Detail |
|---|
public void add(Symbol symbol)
symbol - the symbol to be addedpublic int size()
public Symbol get(int index)
index - the index of the symbol to be returned
|
MOEA Framework 2.5 API Specification |
|||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||