This commit is contained in:
Gilles 2015-09-04 14:06:42 +02:00
parent 69b5c82140
commit 23f469e4eb

View File

@ -218,9 +218,9 @@ public class NeuronSquareMesh2DTest {
public void test3x2CylinderNetwork2() {
final FeatureInitializer[] initArray = { init };
final Network net = new NeuronSquareMesh2D(2, false,
3, true,
SquareNeighbourhood.MOORE,
initArray).getNetwork();
3, true,
SquareNeighbourhood.MOORE,
initArray).getNetwork();
Collection<Neuron> neighbours;
// All neurons.
@ -343,9 +343,9 @@ public class NeuronSquareMesh2DTest {
public void test3x3TorusNetwork2() {
final FeatureInitializer[] initArray = { init };
final Network net = new NeuronSquareMesh2D(3, true,
3, true,
SquareNeighbourhood.MOORE,
initArray).getNetwork();
3, true,
SquareNeighbourhood.MOORE,
initArray).getNetwork();
Collection<Neuron> neighbours;
// All neurons.
@ -567,9 +567,9 @@ public class NeuronSquareMesh2DTest {
public void testConcentricNeighbourhood() {
final FeatureInitializer[] initArray = { init };
final Network net = new NeuronSquareMesh2D(5, true,
5, true,
SquareNeighbourhood.VON_NEUMANN,
initArray).getNetwork();
5, true,
SquareNeighbourhood.VON_NEUMANN,
initArray).getNetwork();
Collection<Neuron> neighbours;
Collection<Neuron> exclude = new HashSet<Neuron>();