From 06927bd7889b6023503b03350aa9daeb8d10c7d3 Mon Sep 17 00:00:00 2001 From: lukas Date: Sun, 2 Dec 2018 17:48:15 +0100 Subject: [PATCH] MAX_AND_NODE_SIZE = 10 --- src/main/java/network/aika/Converter.java | 2 +- .../java/network/aika/network/PositionRelationTest.java | 7 ++----- 2 files changed, 3 insertions(+), 6 deletions(-) diff --git a/src/main/java/network/aika/Converter.java b/src/main/java/network/aika/Converter.java index 9e2b46798..554466212 100644 --- a/src/main/java/network/aika/Converter.java +++ b/src/main/java/network/aika/Converter.java @@ -32,7 +32,7 @@ */ public class Converter { - public static int MAX_AND_NODE_SIZE = 6; + public static int MAX_AND_NODE_SIZE = 10; public static Comparator SYNAPSE_COMP = (s1, s2) -> { diff --git a/src/test/java/network/aika/network/PositionRelationTest.java b/src/test/java/network/aika/network/PositionRelationTest.java index d3185d4b4..c63bde642 100644 --- a/src/test/java/network/aika/network/PositionRelationTest.java +++ b/src/test/java/network/aika/network/PositionRelationTest.java @@ -280,16 +280,13 @@ public void testOptionalRelation() { new Relation.Builder() .setFrom(1) .setTo(1) - .setRelation(new MultiRelation( - new Equals(END, BEGIN, true, true), - new LessThan(BEGIN, BEGIN, false, false, false, Integer.MAX_VALUE) - )), + .setRelation(new Equals(END, BEGIN, true, true)), new Relation.Builder() .setFrom(1) .setTo(2) .setRelation(new MultiRelation( new Equals(END, BEGIN, true, true), - new LessThan(BEGIN, BEGIN, false, false, false, Integer.MAX_VALUE) + new LessThan(END, END, false, false, false, Integer.MAX_VALUE) )), new Relation.Builder() .setFrom(0)