diff --git a/solutions/RSync/src/main/scala/ttc2019/worksync/BddSyncIntegration.scala b/solutions/RSync/src/main/scala/ttc2019/worksync/BddSyncIntegration.scala index 219b8598cdfb888cfbec4f85343d8800876a7da2..c53602aeb17bc4791e141ed0270ebf2dcedea671 100644 --- a/solutions/RSync/src/main/scala/ttc2019/worksync/BddSyncIntegration.scala +++ b/solutions/RSync/src/main/scala/ttc2019/worksync/BddSyncIntegration.scala @@ -67,7 +67,6 @@ object BddSyncIntegration extends IIntegrationCompartment { //find next inputport for subtree truthTable.getPorts().filter(p => p.isInstanceOf[sync.tt.InputPort] && !finishPorts.contains(p)).foreach(ttip => { val newCells = ttip.getCells().filter(c => rows.contains(c.getOwner())) - //println("Looking Port: " + ttip.getName() + " S: " + newCells.size) if (newCells.size >= max) { var setTrue: Set[Set[String]] = Set.empty var setFalse: Set[Set[String]] = Set.empty @@ -95,11 +94,9 @@ object BddSyncIntegration extends IIntegrationCompartment { portTT = ttip max = newCells.size } - //println("############################## " + newCells.size + " || T: " + p1 + " F: " + p2) } }) - //println("Used Port: " + portTT) var portBDD: sync.bddg.InputPort = null val oppo: PlayerSync = +portTT getRelatedClassFromName ("InputPort") if (oppo != null) { diff --git a/solutions/RSync/src/main/scala/ttc2019/worksync/BddSyncIntegrationWithoutOrder.scala b/solutions/RSync/src/main/scala/ttc2019/worksync/BddSyncIntegrationWithoutOrder.scala index 58882020e7f3839d449cfe0f135e4f6335020131..39a916e931202ca47ac15342a8475d111c6faa14 100644 --- a/solutions/RSync/src/main/scala/ttc2019/worksync/BddSyncIntegrationWithoutOrder.scala +++ b/solutions/RSync/src/main/scala/ttc2019/worksync/BddSyncIntegrationWithoutOrder.scala @@ -85,7 +85,6 @@ object BddSyncIntegrationWithoutOrder extends IIntegrationCompartment { }) } - //println("Used Port: " + portTT) var portBDD: sync.bddg.InputPort = null val oppo: PlayerSync = +portTT getRelatedClassFromName ("InputPort") if (oppo != null) { diff --git a/solutions/RSync/src/main/scala/ttc2019/worksync/BdtAndBddSyncIntegration.scala b/solutions/RSync/src/main/scala/ttc2019/worksync/BdtAndBddSyncIntegration.scala index 9e58e6341e3a8d53f0fc92f0e54604dec8c8e471..692771e1572bfb889ad5e84ca94a005b0d8fc424 100644 --- a/solutions/RSync/src/main/scala/ttc2019/worksync/BdtAndBddSyncIntegration.scala +++ b/solutions/RSync/src/main/scala/ttc2019/worksync/BdtAndBddSyncIntegration.scala @@ -45,7 +45,6 @@ object BdtAndBddSyncIntegration extends IIntegrationCompartment { } def finalEditFunction(): Unit = { - println("FINISH FUNCTION") var ttNode: sync.tt.TruthTable = null createdBdds.foreach(bddNode => { @@ -60,8 +59,7 @@ object BdtAndBddSyncIntegration extends IIntegrationCompartment { connectTargetElementWithSourceElementes(tree, rows.asInstanceOf[Set[PlayerSync]]) }) - printManager() - println("END FINISH FUNCTION") + //printManager() } def createOutputLookSubtree(bdd: sync.bddg.BDD, truthTable: sync.tt.TruthTable, rows: Set[sync.tt.Row], finishPorts: Set[sync.tt.Port]): sync.bddg.Tree = { @@ -74,7 +72,6 @@ object BdtAndBddSyncIntegration extends IIntegrationCompartment { //find next inputport for subtree truthTable.getPorts().filter(p => p.isInstanceOf[sync.tt.InputPort] && !finishPorts.contains(p)).foreach(ttip => { val newCells = ttip.getCells().filter(c => rows.contains(c.getOwner())) - println("Looking Port: " + ttip.getName() + " S: " + newCells.size) if (newCells.size >= max) { var setTrue: Set[Set[String]] = Set.empty var setFalse: Set[Set[String]] = Set.empty @@ -102,11 +99,9 @@ object BdtAndBddSyncIntegration extends IIntegrationCompartment { portTT = ttip max = newCells.size } - println("############################## " + newCells.size + " || T: " + p1 + " F: " + p2) } }) - println("Used Port: " + portTT) var portBDD: sync.bddg.InputPort = null val oppo: PlayerSync = +portTT getRelatedClassFromName ("InputPort") if (oppo != null) { @@ -120,7 +115,6 @@ object BdtAndBddSyncIntegration extends IIntegrationCompartment { val rowsOne = cellis.filter(_.getValue()).map(_.getOwner()) val rowsZero = cellis.filter(!_.getValue()).map(_.getOwner()) - println("Rows (1) " + rowsOne.size + " (2) " + rowsZero.size) var treeZero: sync.bddg.Tree = null var treeOne: sync.bddg.Tree = null @@ -193,8 +187,6 @@ object BdtAndBddSyncIntegration extends IIntegrationCompartment { class OutputPortConstruct() extends IIntegrator { def integrate(comp: PlayerSync): PlayerSync = { - println("OutputPort Integration " + comp); - //Step 1: Get construction values val name: String = +this getName () @@ -214,8 +206,6 @@ object BdtAndBddSyncIntegration extends IIntegrationCompartment { class InputPortConstruct() extends IIntegrator { def integrate(comp: PlayerSync): PlayerSync = { - println("InputPort Integration " + comp); - //Step 1: Get construction values val name: String = +this getName () @@ -235,8 +225,6 @@ object BdtAndBddSyncIntegration extends IIntegrationCompartment { class TruthTableConstruct() extends IIntegrator { def integrate(comp: PlayerSync): PlayerSync = { - println("TruthTable Integration " + comp); - //Step 1: Get construction values val name: String = +this getName () val ports: Set[sync.tt.Port] = +this getPorts () diff --git a/solutions/RSync/src/main/scala/ttc2019/worksync/BdtSyncIntegration.scala b/solutions/RSync/src/main/scala/ttc2019/worksync/BdtSyncIntegration.scala index 706de0172a8a45c819474ee397e10a7b9d1eada4..058d6dd89b7094d2aae296ddff7721ec7adebbc9 100644 --- a/solutions/RSync/src/main/scala/ttc2019/worksync/BdtSyncIntegration.scala +++ b/solutions/RSync/src/main/scala/ttc2019/worksync/BdtSyncIntegration.scala @@ -58,7 +58,6 @@ object BdtSyncIntegration extends IIntegrationCompartment { truthTable.getPorts().filter(p => p.isInstanceOf[sync.tt.InputPort] && !finishPorts.contains(p)).foreach(ttip => { val newCells = ttip.getCells().filter(c => rows.contains(c.getOwner())) - //println("Looking Port: " + ttip.getName() + " S: " + newCells.size) if (newCells.size >= max) { var setTrue: Set[Set[String]] = Set.empty var setFalse: Set[Set[String]] = Set.empty @@ -86,11 +85,9 @@ object BdtSyncIntegration extends IIntegrationCompartment { portTT = ttip max = newCells.size } - //println("############################## " + newCells.size + " || T: " + p1 + " F: " + p2) } }) - //println("Used Port: " + portTT) var portBDD: sync.bdd.InputPort = null val oppo: PlayerSync = +portTT getRelatedClassFromName ("InputPort") if (oppo != null) { diff --git a/solutions/RSync/src/main/scala/ttc2019/worksync/BdtSyncIntegrationWithoutOrder.scala b/solutions/RSync/src/main/scala/ttc2019/worksync/BdtSyncIntegrationWithoutOrder.scala index 483194acb05d0f207e55aad1d655df64bab4b6fe..a9558ddbf10f8bca3061aadb021b2f716c21d1d3 100644 --- a/solutions/RSync/src/main/scala/ttc2019/worksync/BdtSyncIntegrationWithoutOrder.scala +++ b/solutions/RSync/src/main/scala/ttc2019/worksync/BdtSyncIntegrationWithoutOrder.scala @@ -80,12 +80,10 @@ object BdtSyncIntegrationWithoutOrder extends IIntegrationCompartment { numberFalse = setFalse.size cellis = newCells portTT = ttip - println("in row") break }) } - println("Used Port: " + portTT) var portBDD: sync.bdd.InputPort = null val oppo: PlayerSync = +portTT getRelatedClassFromName ("InputPort") if (oppo != null) { @@ -98,7 +96,6 @@ object BdtSyncIntegrationWithoutOrder extends IIntegrationCompartment { val rowsOne = cellis.filter(_.getValue()).map(_.getOwner()) val rowsZero = cellis.filter(!_.getValue()).map(_.getOwner()) - //println("Rows (1) " + rowsOne.size + " (2) " + rowsZero.size) var treeZero: sync.bdd.Tree = null var treeOne: sync.bdd.Tree = null