Class Maze3DState

java.lang.Object
mazealgo.model.algorithms.search.AState
mazealgo.model.algorithms.maze3D.Maze3DState
All Implemented Interfaces:
Serializable

public class Maze3DState extends AState
A state in the 3D maze search problem: a (depth, row, column) cell. Equality is based on the cell coordinates so the same cell reached via different paths is treated as one state.
See Also:
  • Constructor Details

    • Maze3DState

      public Maze3DState(int depth, int row, int column)
  • Method Details

    • getDepth

      public int getDepth()
    • getRow

      public int getRow()
    • getColumn

      public int getColumn()
    • equals

      public boolean equals(Object other)
      Specified by:
      equals in class AState
    • hashCode

      public int hashCode()
      Specified by:
      hashCode in class AState
    • toString

      public String toString()
      Specified by:
      toString in class AState