Skip to content

Commit

Permalink
Major code refactoring
Browse files Browse the repository at this point in the history
Removed unecessary packages (leftovers from InSynth)
Changed all packages names from insynth to scife
  • Loading branch information
ikuraj committed Sep 15, 2014
1 parent 6d65867 commit 89469ec
Show file tree
Hide file tree
Showing 176 changed files with 293 additions and 2,401 deletions.
5 changes: 5 additions & 0 deletions TODO.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
### Features

### Metadata

Add header checking to ScalaStyle config when add appropriate licence to the project
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package insynth.enumeration.benchmarks
package scife.enumeration.benchmarks

import org.scalameter._

Expand Down
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
package insynth
package scife
package enumeration
package benchmarks

import dependent._
import memoization._
import insynth.{ enumeration => e }
import insynth.util._
import scife.{ enumeration => e }
import scife.util._

import insynth.util.logging._
import scife.util.logging._

import Structures._
import BSTrees._
Expand All @@ -21,8 +21,7 @@ class BinarySearchTreeBenchmark
extends StructuresBenchmark[Depend[(Int, Range), Tree]]
// extends PerformanceTest.OfflineReport with HasLogger with ProfileLogger
{
import common._


type EnumType = Depend[(Int, Range), Tree]

def measureCode(tdEnum: EnumType) = {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
package insynth
package scife
package enumeration
package benchmarks

import dependent._
import memoization._
import insynth.{ enumeration => e }
import insynth.util._
import scife.{ enumeration => e }
import scife.util._

import insynth.util.logging._
import scife.util.logging._

import Structures._
import TreeShapes._
Expand All @@ -21,8 +21,7 @@ class BinarySearchTreeComp
extends StructuresBenchmark[Depend[Int, Tree]]
// extends PerformanceTest.OfflineReport with HasLogger with ProfileLogger
{
import common._


type EnumType = Depend[Int, Tree]

def measureCode(tdEnum: EnumType) = {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
//package insynth
//package scife
//package enumeration
//package benchmarks
//
//import dependent._
//import insynth.{ enumeration => e }
//import scife.{ enumeration => e }
//import memoization._
//
//import insynth.util._
//import insynth.util.logging._
//import scife.util._
//import scife.util.logging._
//import Structures.BSTrees._
//
//import org.scalatest._
Expand All @@ -30,8 +30,7 @@
// type Output = List[(Int, List[Int], List[Int], List[Int])]
// type EnumType = Depend[Input, Output]
//
// import common._
// import e.Enum
// // import e.Enum
//
// override def name = "ClassDAG"
//
Expand Down
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
package insynth
package scife
package enumeration
package benchmarks

import dependent._
import insynth.{ enumeration => e }
import scife.{ enumeration => e }
import memoization._

import insynth.util._
import insynth.util.logging._
import scife.util._
import scife.util.logging._
import Structures.BSTrees._

import org.scalatest._
Expand All @@ -29,8 +29,7 @@ class ClassInterfaceDAGBenchmark
type Output = List[(Int, List[Int], List[Int], List[Int])]
type EnumType = Depend[Input, Output]

import common._
import e.Enum
import e.Enum

// def fromSizeToPair(s: Int) = {
// val actual = s - 1
Expand Down
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
package insynth
package scife
package enumeration
package benchmarks

import dependent._
import insynth.{ enumeration => e }
import scife.{ enumeration => e }
import memoization._

import insynth.util._
import insynth.util.logging._
import scife.util._
import scife.util.logging._
import Structures.BSTrees._

import org.scalatest._
Expand All @@ -28,8 +28,7 @@ class DAGStructureBenchmark
type Output = List[List[Int]]
type EnumType = Depend[Input, Output]

import common._
import e.Enum
import e.Enum

def measureCode(tdEnum: EnumType) = {
{ (size: Int) =>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
package insynth
package scife
package enumeration
package benchmarks

import dependent._
import insynth.{ enumeration => e }
import scife.{ enumeration => e }
import memoization._

import insynth.util._
import insynth.util.logging._
import scife.util._
import scife.util.logging._
import Structures.BSTrees._

import org.scalatest._
Expand All @@ -20,8 +20,7 @@ class HeapArrayBenchmark
extends StructuresBenchmark[Depend[(Int, Range), Tree]]
// extends DependentMemoizedBenchmark[Int, Depend[(Int, List[Int]), Tree]]
with java.io.Serializable with HasLogger {
import common._
import e.Enum
import e.Enum

type EnumType = Depend[(Int, Range), Tree]

Expand Down
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
package insynth
package scife
package enumeration
package benchmarks

import dependent._
import insynth.{ enumeration => e }
import scife.{ enumeration => e }
import memoization._

import insynth.util._
import insynth.util.logging._
import scife.util._
import scife.util.logging._
import Structures.BSTrees._

import org.scalatest._
Expand All @@ -20,8 +20,7 @@ class HeapArrayBenchmark2
extends StructuresBenchmark[Depend[(Int, Range), Tree]]
// extends DependentMemoizedBenchmark[Int, Depend[(Int, List[Int]), Tree]]
with java.io.Serializable with HasLogger {
import common._
import e.Enum
import e.Enum

type EnumType = Depend[(Int, Range), Tree]

Expand Down
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
package insynth
package scife
package enumeration
package benchmarks

import dependent._
import insynth.{ enumeration => e }
import scife.{ enumeration => e }
import memoization._

import insynth.util._
import insynth.util.logging._
import scife.util._
import scife.util.logging._
import Structures.RedBlackTrees._

import org.scalatest._
Expand Down
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
package insynth
package scife
package enumeration
package benchmarks

import dependent._
import insynth.{ enumeration => e }
import scife.{ enumeration => e }
import memoization._

import insynth.util._
import insynth.util.logging._
import scife.util._
import scife.util.logging._
import Structures.RedBlackTrees._

import org.scalatest._
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package insynth.enumeration.benchmarks
package scife.enumeration.benchmarks

import org.scalameter._

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package insynth.enumeration.benchmarks
package scife.enumeration.benchmarks

import org.scalameter._

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package insynth.enumeration.benchmarks
package scife.enumeration.benchmarks

import org.scalameter._

Expand Down
73 changes: 0 additions & 73 deletions src/main/scala/insynth/Solver.scala

This file was deleted.

27 changes: 0 additions & 27 deletions src/main/scala/insynth/engine/Cluster.scala

This file was deleted.

Loading

0 comments on commit 89469ec

Please sign in to comment.