Package org.encog.workbench.dialogs.createnetwork

Examples of org.encog.workbench.dialogs.createnetwork.CreateCPNDialog


    } else
      return null;
  }
 
  private static MLMethod createCPN() {
    CreateCPNDialog dialog = new CreateCPNDialog(EncogWorkBench
        .getInstance().getMainWindow());
    if (dialog.process()) {
      CPNPattern cpn = new CPNPattern();
      cpn.setInputNeurons(dialog.getInputCount().getValue());
      cpn.setInstarCount(dialog.getInstarCount().getValue());
      cpn.setOutstarCount(dialog.getOutstarCount().getValue());
      return cpn.generate();
    } else
      return null;
  }
View Full Code Here

TOP

Related Classes of org.encog.workbench.dialogs.createnetwork.CreateCPNDialog

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.