package genegui; import java.awt.geom.Point2D; /** CellState.java A class used in conjuction with ModelState. Represents the state of all the nodes in a cell and its position. */ //public class CellState extends Object implements Serializable { public class CellState { /** An array of relative values (0-100) for each node for this cell */ private float[] NodeValues; /** The position of the cell */ private Point2D.Float Position = new Point2D.Float(0,0); /** Simple constructor does little to be proud of. Used primarily by the cloneState operation. @author WJS */ public CellState() { } /** Main constructor assigns a 0 value to all nodes. int size - The number od nodes. @author WJS */ public CellState(int size) { NodeValues = new float[size]; for (int i=0;i