Package org.encog.app.generate

Examples of org.encog.app.generate.TargetLanguage


    final String targetID = getProp().getPropertyString(
        ScriptProperties.CODE_CONFIG_TARGET_FILE);
    final File targetFile = getScript().resolveFilename(targetID);
   
    // get other options
    final TargetLanguage targetLanguage = getProp().getPropertyTargetLanguage(
        ScriptProperties.CODE_CONFIG_TARGET_LANGUAGE);
    final boolean embedData = getProp().getPropertyBoolean(
        ScriptProperties.CODE_CONFIG_EMBED_DATA);

    EncogLogging.log(EncogLogging.LEVEL_DEBUG, "Beginning code generation");
    EncogLogging.log(EncogLogging.LEVEL_DEBUG, "target file:" + targetID);
    EncogLogging.log(EncogLogging.LEVEL_DEBUG, "target language:" + targetLanguage.toString());
   
    EncogCodeGeneration code = new EncogCodeGeneration(targetLanguage);
    code.setEmbedData(embedData);
    code.generate(getAnalyst());   
    code.save(targetFile);
View Full Code Here

TOP

Related Classes of org.encog.app.generate.TargetLanguage

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.