Reafctored

This commit is contained in:
Niklas Birk 2019-04-04 19:00:24 +02:00
parent 3032aeeca8
commit 3a30bab4bc
2 changed files with 1 additions and 6 deletions

View File

@ -12,11 +12,6 @@ public class EightPuzzleNode extends Node<int[][]>
super(state); super(state);
} }
private EightPuzzleNode(final int[][] value, final Node<int[][]> parent)
{
super(value, parent);
}
private EightPuzzleNode(final int[][] value, final Node<int[][]> parent, final int heuristicCosts) private EightPuzzleNode(final int[][] value, final Node<int[][]> parent, final int heuristicCosts)
{ {
super(value, parent, heuristicCosts); super(value, parent, heuristicCosts);

View File

@ -6,7 +6,7 @@ import java.util.Objects;
public abstract class Node<T> public abstract class Node<T>
{ {
protected final T value; protected final T value;
protected int heuristicCosts; protected final int heuristicCosts;
private final Node<T> parent; private final Node<T> parent;
private int heuristicEstimation; private int heuristicEstimation;