Adjusted few things to all
This commit is contained in:
@ -1,7 +1,6 @@
|
||||
package machine_learning.perceptron;
|
||||
|
||||
import java.util.List;
|
||||
import java.util.stream.IntStream;
|
||||
|
||||
public class Perceptron
|
||||
{
|
||||
|
@ -6,7 +6,7 @@ import java.util.stream.IntStream;
|
||||
|
||||
public class Vector
|
||||
{
|
||||
private List<Double> values;
|
||||
private final List<Double> values;
|
||||
|
||||
public Vector(int dim)
|
||||
{
|
||||
|
@ -15,11 +15,6 @@ public abstract class Node<T>
|
||||
this(value, null, 0);
|
||||
}
|
||||
|
||||
protected Node(final T value, final Node<T> parent)
|
||||
{
|
||||
this(value, parent, 0);
|
||||
}
|
||||
|
||||
protected Node(final T value, final Node<T> parent, final int heuristicCosts)
|
||||
{
|
||||
this.value = Objects.requireNonNull(value);
|
||||
|
Reference in New Issue
Block a user