public static class SNNSNetFilter.ENSNNSParser extends SNNSNetFilter.ENSNNSLexicalAnalyzer
| Modifier and Type | Field and Description |
|---|---|
protected int |
_defaultLayer |
protected java.lang.String |
_defaultOutFunc |
protected int |
_defaultSubnet |
protected java.lang.String |
_ffLearningFunc |
protected int |
_numConnections |
protected int |
_numSiteTypes |
protected int |
_numUnits |
protected int |
_numUnitTypes |
protected java.lang.String |
_pruningFunc |
protected java.lang.String |
_updateFunc |
_doubleValue, _intValue, _lineNo, _stringValue, ACT, BIAS, CONNECTION_SECTION_TITLE, CTYPE, DASHES, DEFAULT_SECTION_TITLE, DELTA_X, DELTA_Y, EOF, FF_LEARNING_FUNCTION, FUNC, GENERATED_AT, INTEGER, LAYER, LAYER_SECTION_TITLE, LEARNING_FUNCTION, LLN, LUN, NAME, NETWORK_NAME, NO, NO_OF_CONNECTIONS, NO_OF_SITE_TYPES, NO_OF_UNIT_TYPES, NO_OF_UNITS, NUMBER, OUT, POSITION, PRUNING_FUNCTION, SITE, SITE_FUNCTION, SITE_NAME, SITE_SECTION_TITLE, SITES, SNNS, SOFF, SOURCE_FILES, SOURCE_WEIGHT, ST, STRING, SUBNET, SUBNET_SECTION_TITLE, TARGET, TIME_DELAY_SECTION_TITLE, TOFF, TRANSLATION_SECTION_TITLE, TYPE_NAME, TYPE_SECTION_TITLE, UNIT_NAME, UNIT_NO, UNIT_SECTION_TITLE, UPDATE_FUNCTION, VERSION, Z| Constructor and Description |
|---|
ENSNNSParser(char[] source,
int off,
int len) |
| Modifier and Type | Method and Description |
|---|---|
void |
fileHeader()
file_header ::= WHITESPACE COMMENT h_snns EOL COMMENT h_generated_at EOL
COMMENT h_network_name EOL COMMENT h_source_files EOL
COMMENT h_no.of_unites EOL COMMENT h_no.of_connections EOL
COMMENT h_no.of_unit_types EOL COMMENT h_no.of_site_types EOL
COMMENT h_learning_function EOL COMMENT h_update_function EOL
COMMENT h_pruning_function EOL
COMMENT ff_learning_function EOL
|
void |
netFile(NeuralNet net)
net_file ::= file_header sections
|
void |
sections(NeuralNet net)
sections ::= COMMENT unit_section [COMMENT default_section]
[COMMENT site_section] [COMMENT type_section]
[COMMENT subnet_section] [COMMENT conn_section]
[COMMENT layer_section] [COMMENT trans_section]
[COMMENT time_delay_section] COMMENT
|
getNextToken, getNextToken, isImplicitQuoting, isPassNewlines, isSuppressKeywords, setImplicitQuoting, setPassNewlines, setSuppressKeywords, skipToNextLineprotected int _numUnits
protected int _numConnections
protected int _numUnitTypes
protected int _numSiteTypes
protected java.lang.String _pruningFunc
protected java.lang.String _ffLearningFunc
protected java.lang.String _updateFunc
protected int _defaultSubnet
protected int _defaultLayer
protected java.lang.String _defaultOutFunc
public void netFile(NeuralNet net) throws java.io.IOException
net - the data containerjava.io.IOExceptionpublic void fileHeader()
throws java.io.IOException
java.io.IOExceptionpublic void sections(NeuralNet net) throws java.io.IOException
java.io.IOException