Index
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
A
- ALGO_BEST_FIRST - Static variable in class mazealgo.viewmodel.MazeViewModel
- ALGO_BFS - Static variable in class mazealgo.viewmodel.MazeViewModel
- ALGO_DFS - Static variable in class mazealgo.viewmodel.MazeViewModel
- algorithmChoiceProperty() - Method in class mazealgo.viewmodel.MazeViewModel
- AMaze3DGenerator - Class in mazealgo.model.algorithms.maze3D
-
Base class for 3D maze generators.
- AMaze3DGenerator() - Constructor for class mazealgo.model.algorithms.maze3D.AMaze3DGenerator
- AMazeGenerator - Class in mazealgo.model.algorithms.mazeGenerators
-
Base class for maze generators.
- AMazeGenerator() - Constructor for class mazealgo.model.algorithms.mazeGenerators.AMazeGenerator
- ASearchingAlgorithm - Class in mazealgo.model.algorithms.search
-
Base class for search algorithms.
- ASearchingAlgorithm() - Constructor for class mazealgo.model.algorithms.search.ASearchingAlgorithm
- AState - Class in mazealgo.model.algorithms.search
-
A state in a search problem.
- AState() - Constructor for class mazealgo.model.algorithms.search.AState
B
- BestFirstSearch - Class in mazealgo.model.algorithms.search
-
Best First Search algorithm.
- BestFirstSearch() - Constructor for class mazealgo.model.algorithms.search.BestFirstSearch
- BreadthFirstSearch - Class in mazealgo.model.algorithms.search
-
Breadth First Search.
- BreadthFirstSearch() - Constructor for class mazealgo.model.algorithms.search.BreadthFirstSearch
- buildSolution(AState) - Method in class mazealgo.model.algorithms.search.ASearchingAlgorithm
-
Helper used by subclasses to construct a
Solutionwith the current node-evaluation count already stamped on it — so the count survives the wire when a server returns a Solution to a remote client.
C
- check3DMaze() - Static method in class mazealgo.examples.GeneralCheckingFunctions
- close() - Method in class mazealgo.model.io.MyCompressorOutputStream
- close() - Method in class mazealgo.model.io.MyDecompressorInputStream
D
- dc - Variable in enum class mazealgo.viewmodel.MovementDirection
- DepthFirstSearch - Class in mazealgo.model.algorithms.search
-
Depth First Search.
- DepthFirstSearch() - Constructor for class mazealgo.model.algorithms.search.DepthFirstSearch
- diagonal - Variable in enum class mazealgo.viewmodel.MovementDirection
- DOWN - Enum constant in enum class mazealgo.viewmodel.MovementDirection
- DOWN_LEFT - Enum constant in enum class mazealgo.viewmodel.MovementDirection
- DOWN_RIGHT - Enum constant in enum class mazealgo.viewmodel.MovementDirection
- dr - Variable in enum class mazealgo.viewmodel.MovementDirection
E
- EmptyMazeGenerator - Class in mazealgo.model.algorithms.mazeGenerators
-
Generates an empty maze (no walls).
- EmptyMazeGenerator() - Constructor for class mazealgo.model.algorithms.mazeGenerators.EmptyMazeGenerator
- equals(Object) - Method in class mazealgo.model.algorithms.maze3D.Maze3DState
- equals(Object) - Method in class mazealgo.model.algorithms.search.AState
- equals(Object) - Method in class mazealgo.model.algorithms.search.MazeState
F
- flush() - Method in class mazealgo.model.io.MyCompressorOutputStream
- focusedLayerProperty() - Method in class mazealgo.view.Maze3DDisplayer
- forNumpadDigit(int) - Static method in enum class mazealgo.viewmodel.MovementDirection
-
Maps a NumPad key (KeyCode.NUMPAD1..9) by its digit.
G
- GeneralCheckingFunctions - Class in mazealgo.examples
- GeneralCheckingFunctions() - Constructor for class mazealgo.examples.GeneralCheckingFunctions
- generate(int, int) - Method in class mazealgo.model.algorithms.mazeGenerators.AMazeGenerator
- generate(int, int) - Method in class mazealgo.model.algorithms.mazeGenerators.EmptyMazeGenerator
- generate(int, int) - Method in interface mazealgo.model.algorithms.mazeGenerators.IMazeGenerator
-
Generates a maze with the given number of rows and columns.
- generate(int, int) - Method in class mazealgo.model.algorithms.mazeGenerators.MyMazeGenerator
- generate(int, int) - Method in class mazealgo.model.algorithms.mazeGenerators.SimpleMazeGenerator
- generate(int, int) - Method in class mazealgo.model.MazeModel
- generate(int, int) - Method in class mazealgo.viewmodel.MazeViewModel
- generate(int, int, int) - Method in class mazealgo.model.algorithms.maze3D.AMaze3DGenerator
- generate(int, int, int) - Method in interface mazealgo.model.algorithms.maze3D.IMaze3DGenerator
-
Generates a 3D maze with the given depth, rows and columns.
- generate(int, int, int) - Method in class mazealgo.model.algorithms.maze3D.MyMaze3DGenerator
- generate3D(int, int, int) - Method in class mazealgo.viewmodel.MazeViewModel
- GenerateMazeStrategy - Class in mazealgo.model.server
-
Server strategy: receives requested maze dimensions as
int[] {rows, columns}, generates a maze withMyMazeGenerator, and returns it as a compressed byte array. - GenerateMazeStrategy() - Constructor for class mazealgo.model.server.GenerateMazeStrategy
- GenerateMazeStrategy(IMazeGenerator) - Constructor for class mazealgo.model.server.GenerateMazeStrategy
- get(byte[]) - Method in class mazealgo.model.server.SolutionCache
- getAllPossibleStates(AState) - Method in class mazealgo.model.algorithms.maze3D.SearchableMaze3D
- getAllPossibleStates(AState) - Method in interface mazealgo.model.algorithms.search.ISearchable
- getAllPossibleStates(AState) - Method in class mazealgo.model.algorithms.search.SearchableMaze
- getCacheDir() - Method in class mazealgo.model.server.SolutionCache
- getCameFrom() - Method in class mazealgo.model.algorithms.search.AState
- getCell(int, int) - Method in class mazealgo.model.algorithms.mazeGenerators.Maze
- getCell(int, int, int) - Method in class mazealgo.model.algorithms.maze3D.Maze3D
- getColumn() - Method in class mazealgo.model.algorithms.maze3D.Maze3DState
- getColumn() - Method in class mazealgo.model.algorithms.search.MazeState
- getColumnIndex() - Method in class mazealgo.model.algorithms.maze3D.Position3D
- getColumnIndex() - Method in class mazealgo.model.algorithms.mazeGenerators.Position
- getColumns() - Method in class mazealgo.model.algorithms.maze3D.Maze3D
- getColumns() - Method in class mazealgo.model.algorithms.mazeGenerators.Maze
- getCost() - Method in class mazealgo.model.algorithms.search.AState
- getDepth() - Method in class mazealgo.model.algorithms.maze3D.Maze3D
- getDepth() - Method in class mazealgo.model.algorithms.maze3D.Maze3DState
- getDepthIndex() - Method in class mazealgo.model.algorithms.maze3D.Position3D
- getGithubLink() - Static method in class mazealgo.examples.GeneralCheckingFunctions
- getGoalPosition() - Method in class mazealgo.model.algorithms.maze3D.Maze3D
- getGoalPosition() - Method in class mazealgo.model.algorithms.mazeGenerators.Maze
- getGoalState() - Method in class mazealgo.model.algorithms.maze3D.SearchableMaze3D
- getGoalState() - Method in interface mazealgo.model.algorithms.search.ISearchable
- getGoalState() - Method in class mazealgo.model.algorithms.search.SearchableMaze
- getMap() - Method in class mazealgo.model.algorithms.maze3D.Maze3D
-
Required by the spec (page 15): exposes the underlying 3D grid.
- getName() - Method in class mazealgo.model.algorithms.search.BestFirstSearch
- getName() - Method in class mazealgo.model.algorithms.search.BreadthFirstSearch
- getName() - Method in class mazealgo.model.algorithms.search.DepthFirstSearch
- getName() - Method in interface mazealgo.model.algorithms.search.ISearchingAlgorithm
- getNodesEvaluated() - Method in class mazealgo.model.algorithms.search.Solution
- getNumberOfNodesEvaluated() - Method in class mazealgo.model.algorithms.search.ASearchingAlgorithm
- getNumberOfNodesEvaluated() - Method in interface mazealgo.model.algorithms.search.ISearchingAlgorithm
- getPort() - Method in class mazealgo.model.server.MyServer
-
Returns the port the server is bound to (useful when port 0 was passed).
- getRow() - Method in class mazealgo.model.algorithms.maze3D.Maze3DState
- getRow() - Method in class mazealgo.model.algorithms.search.MazeState
- getRowIndex() - Method in class mazealgo.model.algorithms.maze3D.Position3D
- getRowIndex() - Method in class mazealgo.model.algorithms.mazeGenerators.Position
- getRows() - Method in class mazealgo.model.algorithms.maze3D.Maze3D
- getRows() - Method in class mazealgo.model.algorithms.mazeGenerators.Maze
- getSolutionPath() - Method in class mazealgo.model.algorithms.search.Solution
- getStartPosition() - Method in class mazealgo.model.algorithms.maze3D.Maze3D
- getStartPosition() - Method in class mazealgo.model.algorithms.mazeGenerators.Maze
- getStartState() - Method in class mazealgo.model.algorithms.maze3D.SearchableMaze3D
- getStartState() - Method in interface mazealgo.model.algorithms.search.ISearchable
- getStartState() - Method in class mazealgo.model.algorithms.search.SearchableMaze
- getVisitedCells() - Method in class mazealgo.view.Maze3DDisplayer
- getVisitedCells() - Method in class mazealgo.view.MazeDisplayer
- getVisitedStates() - Method in class mazealgo.viewmodel.MazeViewModel
H
- hashCode() - Method in class mazealgo.model.algorithms.maze3D.Maze3DState
- hashCode() - Method in class mazealgo.model.algorithms.search.AState
- hashCode() - Method in class mazealgo.model.algorithms.search.MazeState
- heuristic(AState, AState) - Method in class mazealgo.model.algorithms.maze3D.SearchableMaze3D
-
Manhattan distance scaled by the straight-step cost.
- heuristic(AState, AState) - Method in interface mazealgo.model.algorithms.search.ISearchable
-
Estimated remaining cost from
fromtoto, used by informed searchers. - heuristic(AState, AState) - Method in class mazealgo.model.algorithms.search.SearchableMaze
-
Octile distance scaled to the straight/diagonal cost weights.
I
- IMaze3DGenerator - Interface in mazealgo.model.algorithms.maze3D
-
A 3D maze generation algorithm.
- IMazeGenerator - Interface in mazealgo.model.algorithms.mazeGenerators
-
A maze generation algorithm.
- ISearchable - Interface in mazealgo.model.algorithms.search
-
A search problem: knows its start, its goal, and how to enumerate the legal successors of any given state.
- ISearchingAlgorithm - Interface in mazealgo.model.algorithms.search
-
A search algorithm: solves a problem given as an ISearchable and reports a name and the number of states it evaluated along the way.
- IServerStrategy - Interface in mazealgo.model.server
-
What the server does with a connected client's streams.
- isRemote() - Method in class mazealgo.model.MazeModel
- isResizable() - Method in class mazealgo.view.MazeDisplayer
L
- Launcher - Class in mazealgo
-
Plain-class entry point.
- LEFT - Enum constant in enum class mazealgo.viewmodel.MovementDirection
M
- main(String[]) - Static method in class mazealgo.examples.RunMaze3DGenerator
- main(String[]) - Static method in class mazealgo.examples.RunMazeClient
- main(String[]) - Static method in class mazealgo.examples.RunMazeGenerator
- main(String[]) - Static method in class mazealgo.examples.RunMazeServer
- main(String[]) - Static method in class mazealgo.examples.RunSearchOnMaze
- main(String[]) - Static method in class mazealgo.examples.RunSearchOnMaze3D
- main(String[]) - Static method in class mazealgo.Launcher
- main(String[]) - Static method in class mazealgo.MazeApp
- Maze - Class in mazealgo.model.algorithms.mazeGenerators
-
A 2D maze: an int grid where 1 is a wall and 0 is a passable cell, with a start position and a goal position.
- Maze(byte[]) - Constructor for class mazealgo.model.algorithms.mazeGenerators.Maze
-
Reconstructs a maze from
Maze.toByteArray(). - Maze(int, int) - Constructor for class mazealgo.model.algorithms.mazeGenerators.Maze
- Maze3D - Class in mazealgo.model.algorithms.maze3D
-
A 3D maze: an int cube where 1 is a wall and 0 is a passable cell, with a start position and a goal position.
- Maze3D(int, int, int) - Constructor for class mazealgo.model.algorithms.maze3D.Maze3D
- Maze3DDisplayer - Class in mazealgo.view
-
True-3D maze visualizer built on a JavaFX
SubScenewith aPerspectiveCamera. - Maze3DDisplayer() - Constructor for class mazealgo.view.Maze3DDisplayer
- maze3DProperty() - Method in class mazealgo.view.Maze3DDisplayer
- maze3DProperty() - Method in class mazealgo.viewmodel.MazeViewModel
- Maze3DState - Class in mazealgo.model.algorithms.maze3D
-
A state in the 3D maze search problem: a (depth, row, column) cell.
- Maze3DState(int, int, int) - Constructor for class mazealgo.model.algorithms.maze3D.Maze3DState
- mazealgo - package mazealgo
- mazealgo.examples - package mazealgo.examples
- mazealgo.model - package mazealgo.model
- mazealgo.model.algorithms.maze3D - package mazealgo.model.algorithms.maze3D
- mazealgo.model.algorithms.mazeGenerators - package mazealgo.model.algorithms.mazeGenerators
- mazealgo.model.algorithms.search - package mazealgo.model.algorithms.search
- mazealgo.model.io - package mazealgo.model.io
- mazealgo.model.server - package mazealgo.model.server
- mazealgo.view - package mazealgo.view
- mazealgo.viewmodel - package mazealgo.viewmodel
- MazeApp - Class in mazealgo
-
JavaFX application entry point.
- MazeApp() - Constructor for class mazealgo.MazeApp
- MazeDisplayer - Class in mazealgo.view
- MazeDisplayer() - Constructor for class mazealgo.view.MazeDisplayer
- MazeModel - Class in mazealgo.model
-
High-level model facade for the UI / ViewModel.
- MazeModel() - Constructor for class mazealgo.model.MazeModel
-
In-process mode: algorithms run on the calling thread, no sockets.
- MazeModel(int, int) - Constructor for class mazealgo.model.MazeModel
-
Remote mode: every
MazeModel.generate(int, int)/MazeModel.solve(Maze)call opens a fresh localhost socket to the given ports. - mazeProperty() - Method in class mazealgo.view.MazeDisplayer
- mazeProperty() - Method in class mazealgo.viewmodel.MazeViewModel
- MazeState - Class in mazealgo.model.algorithms.search
-
A state in the maze search problem: a (row, column) cell.
- MazeState(int, int) - Constructor for class mazealgo.model.algorithms.search.MazeState
- MazeViewController - Class in mazealgo.view
-
Controller for
MazeView.fxml. - MazeViewController() - Constructor for class mazealgo.view.MazeViewController
-
Default ctor — used when FXMLLoader has no controller factory.
- MazeViewController(MazeModel) - Constructor for class mazealgo.view.MazeViewController
-
Used by
MazeAppvia FXMLLoader.setControllerFactory to inject the server-wired model so Generate / Solution Hint go over sockets. - MazeViewModel - Class in mazealgo.viewmodel
-
Bridge between
MazeModeland the JavaFX View. - MazeViewModel(MazeModel) - Constructor for class mazealgo.viewmodel.MazeViewModel
- MazeViewModel.Mode - Enum Class in mazealgo.viewmodel
- measureAlgorithmTimeMillis(int, int) - Method in class mazealgo.model.algorithms.mazeGenerators.AMazeGenerator
- measureAlgorithmTimeMillis(int, int) - Method in interface mazealgo.model.algorithms.mazeGenerators.IMazeGenerator
-
Returns how long generate(rows, columns) takes, in milliseconds.
- measureAlgorithmTimeMillis(int, int, int) - Method in class mazealgo.model.algorithms.maze3D.AMaze3DGenerator
- measureAlgorithmTimeMillis(int, int, int) - Method in interface mazealgo.model.algorithms.maze3D.IMaze3DGenerator
-
Returns how long generate(depth, rows, columns) takes, in milliseconds.
- modeProperty() - Method in class mazealgo.viewmodel.MazeViewModel
- MovementDirection - Enum Class in mazealgo.viewmodel
-
The eight directions a player can move in a 2D maze, mapped to the numeric keypad layout so the controller can dispatch a NumPad key straight to a direction without a switch:
- movePlayer(MovementDirection) - Method in class mazealgo.viewmodel.MazeViewModel
-
Attempts to move the player one cell in the given direction.
- MyCompressorOutputStream - Class in mazealgo.model.io
-
Decorator that wraps another
OutputStreamand applies a streaming run-length encoding. - MyCompressorOutputStream(OutputStream) - Constructor for class mazealgo.model.io.MyCompressorOutputStream
- MyDecompressorInputStream - Class in mazealgo.model.io
-
Decorator that reverses
MyCompressorOutputStream: reads(count, value)pairs from the underlying stream and re-emitscountcopies ofvalueon each read. - MyDecompressorInputStream(InputStream) - Constructor for class mazealgo.model.io.MyDecompressorInputStream
- MyMaze3DGenerator - Class in mazealgo.model.algorithms.maze3D
-
Iterative randomized DFS (recursive backtracker) extended to 3D.
- MyMaze3DGenerator() - Constructor for class mazealgo.model.algorithms.maze3D.MyMaze3DGenerator
- MyMazeGenerator - Class in mazealgo.model.algorithms.mazeGenerators
-
Iterative randomized DFS (recursive backtracker).
- MyMazeGenerator() - Constructor for class mazealgo.model.algorithms.mazeGenerators.MyMazeGenerator
- MyServer - Class in mazealgo.model.server
-
A small accept-loop server that dispatches each accepted client to an
ExecutorServicethread pool. - MyServer(int, int, IServerStrategy) - Constructor for class mazealgo.model.server.MyServer
- MyServer(int, int, IServerStrategy, ExecutorService) - Constructor for class mazealgo.model.server.MyServer
N
- nodesEvaluatedProperty() - Method in class mazealgo.viewmodel.MazeViewModel
- numberOfNodesEvaluated - Variable in class mazealgo.model.algorithms.search.ASearchingAlgorithm
O
- onNodeEvaluated(AState) - Method in class mazealgo.model.algorithms.search.ASearchingAlgorithm
-
Called by subclasses each time a node is committed to the visited set.
- openList - Variable in class mazealgo.model.algorithms.search.BreadthFirstSearch
P
- panXProperty() - Method in class mazealgo.view.Maze3DDisplayer
- panXProperty() - Method in class mazealgo.view.MazeDisplayer
- panYProperty() - Method in class mazealgo.view.Maze3DDisplayer
- panYProperty() - Method in class mazealgo.view.MazeDisplayer
- playBackground() - Method in class mazealgo.view.SoundPlayer
- playerColumnProperty() - Method in class mazealgo.view.MazeDisplayer
- playerColumnProperty() - Method in class mazealgo.viewmodel.MazeViewModel
- playerRowProperty() - Method in class mazealgo.view.MazeDisplayer
- playerRowProperty() - Method in class mazealgo.viewmodel.MazeViewModel
- playVictory() - Method in class mazealgo.view.SoundPlayer
-
Plays the victory sound.
- Position - Class in mazealgo.model.algorithms.mazeGenerators
-
A row/column position inside a Maze.
- Position(int, int) - Constructor for class mazealgo.model.algorithms.mazeGenerators.Position
- Position3D - Class in mazealgo.model.algorithms.maze3D
-
A depth/row/column position inside a Maze3D.
- Position3D(int, int, int) - Constructor for class mazealgo.model.algorithms.maze3D.Position3D
- prefHeight(double) - Method in class mazealgo.view.MazeDisplayer
- prefWidth(double) - Method in class mazealgo.view.MazeDisplayer
- print() - Method in class mazealgo.model.algorithms.maze3D.Maze3D
-
Prints the maze layer by layer.
- print() - Method in class mazealgo.model.algorithms.mazeGenerators.Maze
-
Prints the maze.
- put(byte[], Solution) - Method in class mazealgo.model.server.SolutionCache
R
- read() - Method in class mazealgo.model.io.MyDecompressorInputStream
- reset() - Method in class mazealgo.model.algorithms.search.ASearchingAlgorithm
-
Resets per-solve state.
- reset() - Method in class mazealgo.model.algorithms.search.BreadthFirstSearch
- resetPan() - Method in class mazealgo.view.Maze3DDisplayer
-
Reset rotation to the default isometric pose.
- resetPan() - Method in class mazealgo.view.MazeDisplayer
-
Reset pan so the next-rendered maze sits centered.
- RIGHT - Enum constant in enum class mazealgo.viewmodel.MovementDirection
- RunMaze3DGenerator - Class in mazealgo.examples
- RunMaze3DGenerator() - Constructor for class mazealgo.examples.RunMaze3DGenerator
- RunMazeClient - Class in mazealgo.examples
-
Round-trip demo against the two servers started by
RunMazeServer: asks for a maze on port 5400, then asks port 5401 to solve it, and prints the maze + the solution length + a few node positions. - RunMazeClient() - Constructor for class mazealgo.examples.RunMazeClient
- RunMazeGenerator - Class in mazealgo.examples
- RunMazeGenerator() - Constructor for class mazealgo.examples.RunMazeGenerator
- RunMazeServer - Class in mazealgo.examples
-
Boots two
MyServerinstances: one hostingGenerateMazeStrategyon port 5400, one hostingSolveMazeStrategyon port 5401. - RunMazeServer() - Constructor for class mazealgo.examples.RunMazeServer
- RunSearchOnMaze - Class in mazealgo.examples
- RunSearchOnMaze() - Constructor for class mazealgo.examples.RunSearchOnMaze
- RunSearchOnMaze3D - Class in mazealgo.examples
- RunSearchOnMaze3D() - Constructor for class mazealgo.examples.RunSearchOnMaze3D
S
- sanitize(int, int) - Static method in class mazealgo.model.algorithms.mazeGenerators.AMazeGenerator
- sanitize(int, int, int) - Static method in class mazealgo.model.algorithms.maze3D.AMaze3DGenerator
- SearchableMaze - Class in mazealgo.model.algorithms.search
-
Object Adapter that exposes a Maze as an ISearchable.
- SearchableMaze(Maze) - Constructor for class mazealgo.model.algorithms.search.SearchableMaze
- SearchableMaze3D - Class in mazealgo.model.algorithms.maze3D
-
Object Adapter that exposes a Maze3D as an ISearchable.
- SearchableMaze3D(Maze3D) - Constructor for class mazealgo.model.algorithms.maze3D.SearchableMaze3D
- serverStrategy(InputStream, OutputStream) - Method in class mazealgo.model.server.GenerateMazeStrategy
- serverStrategy(InputStream, OutputStream) - Method in interface mazealgo.model.server.IServerStrategy
- serverStrategy(InputStream, OutputStream) - Method in class mazealgo.model.server.SolveMazeStrategy
- setCameFrom(AState) - Method in class mazealgo.model.algorithms.search.AState
- setCell(int, int, int) - Method in class mazealgo.model.algorithms.mazeGenerators.Maze
- setCell(int, int, int, int) - Method in class mazealgo.model.algorithms.maze3D.Maze3D
- setCost(double) - Method in class mazealgo.model.algorithms.search.AState
- setGoalPosition(Position3D) - Method in class mazealgo.model.algorithms.maze3D.Maze3D
- setGoalPosition(Position) - Method in class mazealgo.model.algorithms.mazeGenerators.Maze
- setNodeEvaluatedListener(Consumer<AState>) - Method in class mazealgo.model.algorithms.search.ASearchingAlgorithm
-
Registers a listener invoked once per node the algorithm visits (synchronously, on the thread running
ISearchingAlgorithm.solve(ISearchable)). - setNodesEvaluated(int) - Method in class mazealgo.model.algorithms.search.Solution
- setStartPosition(Position3D) - Method in class mazealgo.model.algorithms.maze3D.Maze3D
- setStartPosition(Position) - Method in class mazealgo.model.algorithms.mazeGenerators.Maze
- SimpleMazeGenerator - Class in mazealgo.model.algorithms.mazeGenerators
-
Scatters walls randomly across the grid, then carves a guaranteed path from start to goal so the maze always has a solution (and usually many).
- SimpleMazeGenerator() - Constructor for class mazealgo.model.algorithms.mazeGenerators.SimpleMazeGenerator
- Solution - Class in mazealgo.model.algorithms.search
-
The path returned by a search algorithm: an ordered list of states from start to goal (inclusive).
- Solution(AState) - Constructor for class mazealgo.model.algorithms.search.Solution
- SolutionCache - Class in mazealgo.model.server
-
Caches solved
Solutions on disk keyed by SHA-256 of the maze's byte representation. - SolutionCache() - Constructor for class mazealgo.model.server.SolutionCache
- SolutionCache(Path) - Constructor for class mazealgo.model.server.SolutionCache
- solutionProperty() - Method in class mazealgo.view.Maze3DDisplayer
- solutionProperty() - Method in class mazealgo.view.MazeDisplayer
- solutionProperty() - Method in class mazealgo.viewmodel.MazeViewModel
- solve(Maze) - Method in class mazealgo.model.MazeModel
- solve(ISearchable) - Method in class mazealgo.model.algorithms.search.BestFirstSearch
- solve(ISearchable) - Method in class mazealgo.model.algorithms.search.BreadthFirstSearch
- solve(ISearchable) - Method in class mazealgo.model.algorithms.search.DepthFirstSearch
- solve(ISearchable) - Method in interface mazealgo.model.algorithms.search.ISearchingAlgorithm
- solveCurrent() - Method in class mazealgo.viewmodel.MazeViewModel
-
Solves synchronously and shows the path.
- solvedProperty() - Method in class mazealgo.viewmodel.MazeViewModel
- SolveMazeStrategy - Class in mazealgo.model.server
- SolveMazeStrategy() - Constructor for class mazealgo.model.server.SolveMazeStrategy
- SolveMazeStrategy(SolutionCache, Supplier<ISearchingAlgorithm>) - Constructor for class mazealgo.model.server.SolveMazeStrategy
- SoundPlayer - Class in mazealgo.view
-
Audio playback.
- SoundPlayer() - Constructor for class mazealgo.view.SoundPlayer
- start() - Method in class mazealgo.model.server.MyServer
-
Binds the listening socket synchronously and starts the accept loop on a background daemon thread.
- start(Stage) - Method in class mazealgo.MazeApp
- stop() - Method in class mazealgo.MazeApp
- stop() - Method in class mazealgo.model.server.MyServer
-
Asks the accept loop to exit and waits up to a few seconds for in-flight client work to finish.
- stopBackground() - Method in class mazealgo.view.SoundPlayer
T
- THREE_D - Enum constant in enum class mazealgo.viewmodel.MazeViewModel.Mode
- toByteArray() - Method in class mazealgo.model.algorithms.mazeGenerators.Maze
-
Compact byte representation: six big-endian ints (rows, columns, start row/col, goal row/col) followed by rows*columns single bytes — one per cell, value 0 or 1.
- toString() - Method in class mazealgo.model.algorithms.maze3D.Maze3DState
- toString() - Method in class mazealgo.model.algorithms.maze3D.Position3D
- toString() - Method in class mazealgo.model.algorithms.mazeGenerators.Position
- toString() - Method in class mazealgo.model.algorithms.search.AState
- toString() - Method in class mazealgo.model.algorithms.search.MazeState
- TWO_D - Enum constant in enum class mazealgo.viewmodel.MazeViewModel.Mode
U
- UP - Enum constant in enum class mazealgo.viewmodel.MovementDirection
- UP_LEFT - Enum constant in enum class mazealgo.viewmodel.MovementDirection
- UP_RIGHT - Enum constant in enum class mazealgo.viewmodel.MovementDirection
V
- valueOf(String) - Static method in enum class mazealgo.viewmodel.MazeViewModel.Mode
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class mazealgo.viewmodel.MovementDirection
-
Returns the enum constant of this class with the specified name.
- values() - Static method in enum class mazealgo.viewmodel.MazeViewModel.Mode
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class mazealgo.viewmodel.MovementDirection
-
Returns an array containing the constants of this enum class, in the order they are declared.
- victoryProperty() - Method in class mazealgo.viewmodel.MazeViewModel
- visualizeSearchAsync() - Method in class mazealgo.viewmodel.MazeViewModel
-
Runs the selected algorithm on a daemon thread and feeds each visited state into
MazeViewModel.visitedStateson the JavaFX thread, with an adaptive per-cell delay so the animation always fits a bounded budget regardless of maze size. - visualizingProperty() - Method in class mazealgo.viewmodel.MazeViewModel
W
- write(int) - Method in class mazealgo.model.io.MyCompressorOutputStream
Z
- zoomProperty() - Method in class mazealgo.view.Maze3DDisplayer
- zoomProperty() - Method in class mazealgo.view.MazeDisplayer
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form