Package org.encog.ca.visualize.basic

Examples of org.encog.ca.visualize.basic.BasicCAVisualizer


          new File(FileUtil.forceExtension(f.toString(), "eg")),
          runner.getUniverse());
      SerializeObject.save(
          new File(FileUtil.forceExtension(f.toString(), "bin")),
          (Serializable)runner.getPhysics());
      BasicCAVisualizer visualizer = new BasicCAVisualizer(
          runner.getUniverse());
      Image img = visualizer.visualize();
      ImageIO.write((RenderedImage) img, "png",
          new File(FileUtil.forceExtension(f.toString(), "png")));
    } catch (IOException ex) {
      throw new CellularAutomataError(ex);
    }
View Full Code Here

TOP

Related Classes of org.encog.ca.visualize.basic.BasicCAVisualizer

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.