org.encog.ca.program.conway
Class ConwayProgram
java.lang.Object
org.encog.ca.program.basic.BasicProgram
org.encog.ca.program.conway.ConwayProgram
- All Implemented Interfaces:
- Serializable, CAProgram
public class ConwayProgram
- extends BasicProgram
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ConwayProgram
public ConwayProgram(Universe theSourceUniverse)
iteration
public void iteration()
processCell
public void processCell(int row,
int col)
randomize
public void randomize()
getSourceUniverse
public Universe getSourceUniverse()
- Returns:
- the sourceUniverse
setSourceUniverse
public void setSourceUniverse(Universe sourceUniverse)
- Parameters:
sourceUniverse
- the sourceUniverse to set
getTargetUniverse
public Universe getTargetUniverse()
- Returns:
- the targetUniverse
setTargetUniverse
public void setTargetUniverse(Universe targetUniverse)
- Parameters:
targetUniverse
- the targetUniverse to set
Copyright © 2014. All Rights Reserved.