package cellsociety; public class TwoDArrayIterator implements Iterator{ public boolean hasNext() public Cell next() } package cellsociety; public class XMLGenerator { public static void generateXMLFile(File file, Properties simInfo, Properties simParams) } package cellsociety; public class SceneController { public SceneController(Stage stage) public Void generateSimScene(Simulator simulation, boolean replaceCurrent) } package cellsociety; public class Main extends Application { public void start(Stage stage) } package cellsociety.Model.SchellingSegregation; public class SegregateCell extends Cell { protected SegregateCell(Point2D point, Enum currentState, Enum nextState, double satisfaction) protected void recognizeNextState() public boolean getSatisfied() public String toString() } package cellsociety.Model.SchellingSegregation; public class SegregateSimulator extends Simulator { public SegregateSimulator(int numRow, int numCol,List> cells, Properties paramProps, String cellShape) public void updatePercentage() protected double getPercentage() protected boolean finished() public List getStat() } package cellsociety.Model.SchellingSegregation; public class SegregateGrid extends Grid { protected SegregateGrid(int numRow, int numCol, List> cells, double satisfaction) protected void initializeMatrix(List> cells) protected void step() protected void move() protected int[] findNearest(int row, int col) protected int[] findRandom(int row, int col, int counter) } package cellsociety.Model.SpreadingOfFire; public class FireGrid extends Grid { protected FireGrid(int numRow, int numCol,List> cells, double probCatch) protected void initializeMatrix(List> cells) } package cellsociety.Model.SpreadingOfFire; public class FireSimulator extends Simulator { public FireSimulator(int numRow, int numCol, List> cells, Properties paramProps, String cellShape) public List getStat() } package cellsociety.Model.SpreadingOfFire; public class FireCell extends Cell { protected FireCell(Point2D position, Enum currentState, Enum nextState, double probCatch) protected void recognizeNextState() public String toString() } package cellsociety.Model.WaTor; public class Shark extends Fish { public Shark(int fertilityThreshold, int energyThreshold, int energyBonus) public void incrementEnergy() public boolean isAlive() public void updateVitals() public Fish makeChild() } package cellsociety.Model.WaTor; public class WaTorGrid extends Grid { protected WaTorGrid(int numRow, int numCol, List> cells, int fishFertility, protected void initializeMatrix(List> cells) public void updateCreature(Cell cell) } package cellsociety.Model.WaTor; public class Fish { public Fish(int fertilityThreshold) public void updateVitals() public boolean canReproduce() public Fish makeChild() } package cellsociety.Model.WaTor; public class WaTorCell extends Cell { protected WaTorCell(Point2D position, Enum currentState, Enum nextState, Fish creature) public void recognizeNextState() protected void setCreature(Fish creature) public String toString() } package cellsociety.Model.WaTor; public class WaTorSimulator extends Simulator { public WaTorSimulator(int numRow, int numCol, List> cells, Properties paramProps, String cellShape) public void rotateCell(int row, int col) public List getStat() } package cellsociety.Model.ForagingAnt; public class ForagingAntSimulator extends Simulator { public ForagingAntSimulator(int numRow, int numCol, List> cells, public List getStat() } package cellsociety.Model.ForagingAnt; public class Ant { protected Ant(double prob, ForagingAntCell currentCell) protected void forage() protected void move() protected void layPheromone() protected void returnNest() } package cellsociety.Model.ForagingAnt; public class ForagingAntCell extends Cell { protected ForagingAntCell(Point2D point, Enum currentState, Enum nextState, double prob) protected void addAnt(Ant a) protected void addnewAnt(Ant a) protected void recognizeNextState() public int getPheromone() public void setPheromone(int p) public String toString() } package cellsociety.Model.ForagingAnt; public class ForagingAntGrid extends Grid { protected ForagingAntGrid(int numRow, int numCol, int numAnt, double prob, List> cells) protected void initializeMatrix(List> cells) } package cellsociety.Model.Percolation; public class PercolateGrid extends Grid { protected PercolateGrid(int numRow, int numCol, List> cells) protected void initializeMatrix(List> cells) } package cellsociety.Model.Percolation; public class PercolateSimulator extends Simulator { public PercolateSimulator(int numRow, int numCol, List> cells, String cellShape) public void dfs(int row, int col, boolean[][] visited, int[][] open) public boolean getFinished() public List getStat() } package cellsociety.Model.Percolation; public class PercolateCell extends Cell { protected PercolateCell(Point2D point, Enum currentState, Enum nextState) protected void recognizeNextState() public String toString() } package cellsociety.Model.Tumor; public class TumorSimulator extends Simulator { public TumorSimulator(int numRow, int numCol, List> cells,Properties paramProps, String cellShape ) public void killTransitory() public void killSTEM() public List getStat() } package cellsociety.Model.Tumor; public class TumorGrid extends Grid{ protected TumorGrid(int numRow, int numCol, List> cells, int ageThreshold, double SymmetricProb, double transitoryProb) protected void initializeMatrix(List> cells) } package cellsociety.Model.Tumor; public class TumorCell extends Cell { protected TumorCell(Point2D point, Enum currentState, Enum nextState, int ageThreshold, protected void recognizeNextState() protected void metastasis(double root) protected void symmetricMitosis() protected void transitoryMitosis() public String toString() } package cellsociety.Model; public abstract class Grid { protected Grid(int numRow, int numCol) protected abstract void initializeMatrix(List> cells); protected void step() protected void recognizeNextState() protected void addvonNeumannNeighbour() protected void addMooreNeighbour() protected void updateNextState() protected boolean xInBound(int x) protected boolean yInBound(int y) public Cell getCell(int row, int col) } package cellsociety.Model; public class CellState { public interface State { int getCode(); State rotateState(); static void CellStateError(int code, int max_code); } public enum FireCellState implements State {} public enum TumorCellState implements State {} public enum ConwayCellState implements State {} public enum SegregateCellState implements State {} public enum WaTorCellState implements State {} public enum PercolateCellState implements State {} public enum ForagingAntCellState implements State {} } package cellsociety.Model; public abstract class Simulator { public Simulator(int numRow, int numCol, Properties paramProps, String cellShape) public void setInfo(String title, String author, String description, String simType, String cellShape) public void simulate() public Cell getCell(int row, int col) public int getRows() public int getCols() public String getCellShape() public String getSimType() public String getTitle() public String getAuthor() public String getDescription() public boolean getFinished() public void rotateCell(int row, int col) public String toString() public abstract List getStat(); public Properties getParams() } package cellsociety.Model.GameOfLife; public class ConwaySimulator extends Simulator { public ConwaySimulator(int numRow, int numCol, List> cells, String cellShape) public List getStat() } package cellsociety.Model.GameOfLife; public class ConwayCell extends Cell { protected ConwayCell(Point2D point, Enum currentState, Enum nextState) protected void recognizeNextState() public String toString() } package cellsociety.Model.GameOfLife; public class ConwayGrid extends Grid { protected ConwayGrid(int numRow, int numCol, List> cells) protected void initializeMatrix(List> cells) } package cellsociety.Model; public abstract class Cell { protected Cell(Point2D position, Enum currentState, Enum nextState) protected abstract void recognizeNextState(); public void addNeighbour(Cell c) protected void setPosition(double x, double y) public double getxPosition() public double getyPosition() public Enum getCurrentState() public void setCurrentState(Enum state) public Enum getNextState() public void setNextState(Enum state) public List getNeighbour() public abstract String toString(); } package cellsociety.View.Statistics; public class FireStat extends StatisticsView{ public FireStat(LineChart myChart, Simulator mySimulator) } package cellsociety.View.Statistics; public class WaTorStat extends StatisticsView{ public WaTorStat(LineChart myChart, Simulator mySimulator) } package cellsociety.View.Statistics; public class TumorStat extends StatisticsView{ public TumorStat(LineChart myChart, Simulator mySimulator) } package cellsociety.View.Statistics; public abstract class StatisticsView { protected final ResourceBundle myResources public StatisticsView(LineChart myLineChart, Simulator mySimulator) public void clear() public LineChart getChart() } package cellsociety.View.Statistics; public class StatisticsFactory { } package cellsociety.View.Statistics; public class PercolationStat extends StatisticsView{ public PercolationStat(LineChart myChart, Simulator mySimulator) } package cellsociety.View.Statistics; public class SegregationStat extends StatisticsView{ public SegregationStat(LineChart myChart, Simulator mySimulator) } package cellsociety.View.Statistics; public class ConwayStat extends StatisticsView { public ConwayStat(LineChart myChart, Simulator mySimulator) } package cellsociety.View; public class SplashScene extends Scene { public SplashScene(BorderPane root, BiFunction generateSimScene) } package cellsociety.View; public class ColorBox extends GridPane { } package cellsociety.View; public class CellViewCircle extends Circle { public CellViewCircle(double radius) } package cellsociety.View; public class RadioButtonBox extends GridPane{ public RadioButtonBox(boolean graphAvailable,Callback onGridToggle, Callback onGraphToggle) } package cellsociety.View; public class SimulationScene extends Scene { public SimulationScene(GridPane root, Simulator simulation, BiFunction generateSimScene) } package cellsociety.View; public class ParamBox extends GridPane { public ParamBox(Properties simParams, Callback updateCallback) public Properties retrieveInfo() } package cellsociety.View; public class InfoBox extends GridPane { public InfoBox(String title, String author, String description, String simType) public Properties retrieveInfo() } package cellsociety.View; public class GridView extends GridPane { public GridView(int rows, int columns, Properties colorProps, BiFunction onCellClicked, String cellShape) public void updateCell(int row, int col, Enum state) } package cellsociety.View; public class CellViewEllipse extends Ellipse { public CellViewEllipse(double radiusX, double radiusY) } package cellsociety.View; public class CellViewRectangle extends Rectangle { public CellViewRectangle(double width, double height) } package cellsociety.View; public class CellView { public CellView(double width, double height, String cellShape) public Shape getCellView() } package cellsociety.View; public class SimFileChooser { protected static FileChooser makeChooser() } package cellsociety.View; public class ControlButtonPanel extends GridPane { public ControlButtonPanel(Callback playCallback, Callback pauseCallback, } package cellsociety; public class SimulationGenerator { public static Simulator generateSimulationFromXML(File xmlFile) public static Simulator constructSimulation(String simtype, String height, String width, List> cells, Properties paramProps, String title, String author, String description, String cellShape) }