Package org.encog.workbench.dialogs.createnetwork

Examples of org.encog.workbench.dialogs.createnetwork.CreateHopfieldDialog.process()


  }

  private static MLMethod createHopfield() {
    CreateHopfieldDialog dialog = new CreateHopfieldDialog(EncogWorkBench
        .getInstance().getMainWindow());
    if (dialog.process()) {
      HopfieldPattern hopfield = new HopfieldPattern();
      hopfield.setInputNeurons(dialog.getNeuronCount().getValue());
      return hopfield.generate();
    } else
      return null;
View Full Code Here


    HopfieldNetwork hopfield = (HopfieldNetwork) method;
    CreateHopfieldDialog dialog = new CreateHopfieldDialog(EncogWorkBench
        .getInstance().getMainWindow());
    dialog.getNeuronCount().setValue(hopfield.getNeuronCount());

    if (dialog.process()
        && (hopfield.getNeuronCount() != dialog.getNeuronCount()
            .getValue())) {
      HopfieldPattern pattern = new HopfieldPattern();
      pattern.setInputNeurons(dialog.getNeuronCount().getValue());
      setDirty(true);
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. 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.