Formatting (unit test).
This commit is contained in:
parent
15dad0b047
commit
24e2c246ce
|
@ -220,9 +220,9 @@ public class NeuronSquareMesh2DTest {
|
||||||
public void test3x2CylinderNetwork2() {
|
public void test3x2CylinderNetwork2() {
|
||||||
final FeatureInitializer[] initArray = { init };
|
final FeatureInitializer[] initArray = { init };
|
||||||
final Network net = new NeuronSquareMesh2D(2, false,
|
final Network net = new NeuronSquareMesh2D(2, false,
|
||||||
3, true,
|
3, true,
|
||||||
SquareNeighbourhood.MOORE,
|
SquareNeighbourhood.MOORE,
|
||||||
initArray).getNetwork();
|
initArray).getNetwork();
|
||||||
Collection<Neuron> neighbours;
|
Collection<Neuron> neighbours;
|
||||||
|
|
||||||
// All neurons.
|
// All neurons.
|
||||||
|
@ -345,9 +345,9 @@ public class NeuronSquareMesh2DTest {
|
||||||
public void test3x3TorusNetwork2() {
|
public void test3x3TorusNetwork2() {
|
||||||
final FeatureInitializer[] initArray = { init };
|
final FeatureInitializer[] initArray = { init };
|
||||||
final Network net = new NeuronSquareMesh2D(3, true,
|
final Network net = new NeuronSquareMesh2D(3, true,
|
||||||
3, true,
|
3, true,
|
||||||
SquareNeighbourhood.MOORE,
|
SquareNeighbourhood.MOORE,
|
||||||
initArray).getNetwork();
|
initArray).getNetwork();
|
||||||
Collection<Neuron> neighbours;
|
Collection<Neuron> neighbours;
|
||||||
|
|
||||||
// All neurons.
|
// All neurons.
|
||||||
|
@ -569,9 +569,9 @@ public class NeuronSquareMesh2DTest {
|
||||||
public void testConcentricNeighbourhood() {
|
public void testConcentricNeighbourhood() {
|
||||||
final FeatureInitializer[] initArray = { init };
|
final FeatureInitializer[] initArray = { init };
|
||||||
final Network net = new NeuronSquareMesh2D(5, true,
|
final Network net = new NeuronSquareMesh2D(5, true,
|
||||||
5, true,
|
5, true,
|
||||||
SquareNeighbourhood.VON_NEUMANN,
|
SquareNeighbourhood.VON_NEUMANN,
|
||||||
initArray).getNetwork();
|
initArray).getNetwork();
|
||||||
|
|
||||||
Collection<Neuron> neighbours;
|
Collection<Neuron> neighbours;
|
||||||
Collection<Neuron> exclude = new HashSet<>();
|
Collection<Neuron> exclude = new HashSet<>();
|
||||||
|
|
Loading…
Reference in New Issue