package cellsociety.configuration; public class XmlParser { public static final Set SIMULATION_TYPES public static final Set FIRE_PARAMETERS public static final Set GAMEOFLIFE_PARAMETERS public static final Set PERCOLATION_PARAMETERS public static final Set SCHELLING_PARAMETERS public static final Set WATOR_PARAMETERS public static final Set SUGAR_PARAMETERS public static final Set NEIGHBORHOOD_TYPES public static final Set CELL_SHAPES public static final Set GRID_EDGE_TYPES public static final Set FIRE_CELL_STATES public static final Set GAMEOFLIFE_CELL_STATES public static final Set PERCOLATION_CELL_STATES public static final Set SCHELLING_CELL_STATES public static final Set WATOR_CELL_STATES public static final Set SUGAR_CELL_STATES public static final Set FALLING_CELL_STATES public static final Map> SIMULATION_CELL_STATES public XmlParser() public String getType() public void setType(String type) public String getTitle() public void setTitle(String title) public String getAuthor() public void setAuthor(String author) public String getDisplayDescription() public int getWidth() public void setWidth(int width) public int getHeight() public void setHeight(int height) public String getNeighborhoodType() public String getCellShape() public void setCellShape(String cellShape) public String getGridEdgeType() public void setGridEdgeType(String edgeType) public List getStates() public void setStates(List states) public Map getParameters() public void setParameters(Map parameters) public String getLanguage() public void setLanguage(String language) public Map getRandomConfigurationTotalStates() public void readXml(String path) throws InvalidFileFormatException, public int getInitialSlider() public void createXml(String filename, String folderName) throws InvalidFileFormatException, public void setDescription(String description) } package cellsociety; public class Point { public Point(double row, double col, double offset) public Point(double row, double col) public Point translate(double deltaRow, double deltaCol) public double getRow() public double getCol() public double getColOffset() public boolean equals(Object other) public int hashCode() } package cellsociety; public class Main extends Application { public void start(Stage primaryStage) } package cellsociety.model.core.shape; public class RectangleShape implements Shape { public List getVertices(int row, int col) } package cellsociety.model.core.shape; public class HexagonShape implements Shape { public List getVertices(int row, int col) } package cellsociety.model.core.shape; public interface Shape { List getVertices(int row, int col); } package cellsociety.model.core.cell; public class PercolationCell extends Cell { public PercolationCell(int initialState, int row, int col, Shape shapeType, public void transition() public void setParams(Map params) } package cellsociety.model.core.cell; public class SugarCell extends Cell { public SugarCell(int initialState, int row, int col, Shape shapeType, public boolean agentHere() public void setNextStateAgentSugarVisionMetabolism(int state, int sugar, int vision, public void transition() public void setParams(Map params) } package cellsociety.model.core.cell; public class SchellingCell extends Cell { public SchellingCell(int initialState, int row, int col, Shape shapeType, public void transition() public void setParams(Map params) } package cellsociety.model.core.cell; public class FireCell extends Cell { public FireCell(int initialState, int row, int col, Shape shapeType, public void setParams(Map params) public void transition() } package cellsociety.model.core.cell; public class LifeCell extends Cell { public LifeCell(int initialState, int row, int col, Shape shapeType, public void transition() public void setParams(Map params) } package cellsociety.model.core.cell; public class WatorCell extends Cell { public WatorCell(int initialState, int row, int col, Shape shapeType, public void transition() public void setParams(Map params) } package cellsociety.model.core.cell; public abstract class Cell> { public Cell(int initialState, int row, int col, Shape shapeType) public void initializeNeighbors(Neighborhood hoodType, Grid grid) public abstract void transition(); public int getCurrentState() public void setCurrentState(int state) public int getNextState() public void setNextState(int nextState) public int countNeighborsInState(int state) public List getNeighbors() public Point getLocation() public List getVertices() public Point getCentroid() public void setNeighborhood(List neighborhood) public double distance(T cell) public boolean equals(Object other) public int hashCode() public void setParams(Map newParameters) } package cellsociety.model.core.cell; public class FallingSandCell extends Cell { public FallingSandCell(int initialState, int row, int col, Shape shapeType) public void transition() } package cellsociety.model.core.grid; public class Grid { public Grid(int rows, int cols, List cellList) public int getNumRows() public int getNumCols() public Iterator iterator() public boolean vertexEqual(Point vtx1, Point vtx2) } package cellsociety.model.core.grid; public class WarpedGrid> extends Grid { public WarpedGrid(int rows, int cols, List cellList) public boolean vertexEqual(Point vtx1, Point vtx2) } package cellsociety.model.simulation; public abstract class Simulation { public Simulation() public Simulation(Neighborhood hoodType, String gridType) public void setEdgeType(String newEdgeType) public void initializeMyGrid(int row, int col, List cellList) public void processUpdate() public void createCellsAndGrid(int row, int col, List stateList, public abstract List cellMaker(int col, List stateList, Shape cellShape); public Shape getCellShape(String shapeStr) public void transitionFunction() public Iterator getIterator() public void setParams(Map newParameters) } package cellsociety.model.simulation; public class FallingSandSimulation extends Simulation { public FallingSandSimulation(int row, int col, Neighborhood hoodType, List stateList, public List cellMaker(int col, List stateList, public void transitionFunction() } package cellsociety.model.simulation; public class WatorSimulation extends Simulation { public WatorSimulation(int row, int col, Neighborhood hoodType, List stateList, public List cellMaker(int col, List stateList, public void transitionFunction() } package cellsociety.model.simulation; public record SimulationRecord(Map params, String gridType, String cellShape) { public record SimulationRecord(Map params, String gridType, String cellShape) } package cellsociety.model.simulation; public class GameOfLifeSimulation extends Simulation { public GameOfLifeSimulation(int row, int col, Neighborhood hoodType, List stateList, public List cellMaker(int col, List stateList, Shape shape) } package cellsociety.model.simulation; public class SchellingSimulation extends Simulation { public SchellingSimulation(int row, int col, Neighborhood hoodType, List stateList, public List cellMaker(int col, List stateList, Shape shape) public void transitionFunction() } package cellsociety.model.simulation; public class FireSimulation extends Simulation { public FireSimulation(int row, int col, Neighborhood hoodType, List stateList, public List cellMaker(int col, List stateList, Shape shape) } package cellsociety.model.simulation; public class PercolationSimulation extends Simulation { public PercolationSimulation(int row, int col, Neighborhood hoodType, List stateList, public List cellMaker(int col, List stateList, Shape shape) } package cellsociety.model.simulation; public class SugarSimulation extends Simulation { public SugarSimulation(int row, int col, Neighborhood hoodType, List stateList, public List cellMaker(int col, List stateList, public void transitionFunction() } package cellsociety.model.neighborhood; public abstract class Neighborhood { public List getNeighbors(Grid grid, T cell) public List getPairwiseVertices(Cell cell1, Cell cell2) public abstract boolean isValidNeighbor(T cell1, T cell2, Grid grid); } package cellsociety.model.neighborhood; public class ExtendedMooreNeighborhood extends MooreNeighborhood { public boolean isValidNeighbor(Cell cell1, Cell cell2, Grid grid) } package cellsociety.model.neighborhood; public class MooreNeighborhood extends Neighborhood { public boolean isValidNeighbor(Cell cell1, Cell cell2, Grid grid) } package cellsociety.model.neighborhood; public class VonNeumannNeighborhood extends Neighborhood { public boolean isValidNeighbor(Cell cell1, Cell cell2, Grid grid) } package cellsociety.view.cellview; public class FireCellView extends CellView { public FireCellView(double width, double height, List vertices, public void setColors(int state) } package cellsociety.view.cellview; public class SugarCellView extends CellView { public SugarCellView(double width, double height, List vertices, public void setColors(int state) } package cellsociety.view.cellview; public class FallingCellView extends CellView { public FallingCellView(double width, double height, List vertices, public void setColors(int state) } package cellsociety.view.cellview; public class SchellingCellView extends CellView { public SchellingCellView(double width, double height, List vertices, public void setColors(int state) } package cellsociety.view.cellview; public abstract class CellView { public CellView(double width, double height, List vertices, public void toggleStrokeWidth(boolean onOff) public abstract void setColors(int state); public void getCss(String idName) public Shape getCellGraphic() } package cellsociety.view.cellview; public class PercolationCellView extends CellView { public PercolationCellView(double width, double height, List vertices, public void setColors(int state) } package cellsociety.view.cellview; public class GameOfLifeCellView extends CellView { public GameOfLifeCellView(double width, double height, List vertices, public void setColors(int state) } package cellsociety.view.cellview; public class WatorCellView extends CellView { public WatorCellView(double width, double height, List vertices, public void setColors(int state) } package cellsociety.view; public class SimulationGraph { public SimulationGraph(Map stateCount) public void updateGraph(Map stateCount) public void resetGraph() public StackPane getGraphSection() } package cellsociety.view; public class SimulationPage { public SimulationPage(Map params, public void resetGraph() public void toggleGraphVisibility() public void toggleOnOffCellOutlines(boolean onOffCellOutlines) public void setSpeedSliderHandler(ChangeListener speedSliderHandler) public double getSliderValue() public void updateSpeedLabel(int speed) public Scene getSimulationScene() public void updateView(Iterator gridIterator) public Integer configInt(String key) public Double configDouble(String key) public void switchTextConfig(ResourceBundle textConfig) public void switchButtonLanguage(String language) } package cellsociety.view; public class Controller { public static final String DATA_FILE_FOLDER public Controller() public void showMessage(AlertType type, String message) } package cellsociety.view; public class Save { public Save(String title, String author, String description, String saveLocation, public void showSavePanel() public void hideSavePanel() public void updateValues() public String getTitle() public String getAuthor() public String getDescription() public String getSaveLocation() } package cellsociety.view; public class Settings { public Settings(String defaultLanguage, String defaultEdge, Map parameters, public void saveChanges() public boolean getOutlineType() public void showSettingsPanel() public void closeSettingsPanel() public Map getNewParameters() public String getNewEdgeType() public String getNewLanguage() } package cellsociety.exception; public class InvalidCellStateException extends RuntimeException { public InvalidCellStateException(String message) public InvalidCellStateException(String message, Throwable cause) } package cellsociety.exception; public class InvalidGridBoundsException extends RuntimeException { public InvalidGridBoundsException(String message) public InvalidGridBoundsException(String message, Throwable cause) } package cellsociety.exception; public class InvalidFileFormatException extends RuntimeException { public InvalidFileFormatException(String message) public InvalidFileFormatException(String message, Throwable cause) } package cellsociety.exception; public class SavingFileException extends RuntimeException { public SavingFileException(String message) public SavingFileException(String message, Throwable cause) } package cellsociety.exception; public class InputMissingParametersException extends RuntimeException { public InputMissingParametersException(String message) public InputMissingParametersException(String message, Throwable cause) } package cellsociety.exception; public class InvalidValueException extends RuntimeException { public InvalidValueException(String message) public InvalidValueException(String message, Throwable cause) }