Commit 14935d8a authored by h2b's avatar h2b

Scala version and dependencies updated.

parent 0145b2a1
name := "SimGraf"
scalaVersion := "2.12.2"
scalaVersion := "2.12.5"
libraryDependencies ++= Seq(
"de.h2b.scala.lib.math" %% "linalg" % "2.1.0",
"de.h2b.scala.lib.math" %% "linalg" % "3.1.0",
"de.h2b.scala.lib" %% "utilib" % "0.4.1",
"com.typesafe.akka" %% "akka-actor" % "2.5.1",
"org.scalatest" %% "scalatest" % "3.0.3" % Test,
"com.typesafe.akka" %% "akka-actor" % "2.5.11",
"org.scalatest" %% "scalatest" % "3.0.5" % Test,
"junit" % "junit" % "4.12" % Test
)
......@@ -19,7 +19,9 @@ package de.h2b.scala.lib.simgraf
import scala.collection.IterableLike
import de.h2b.scala.lib.math.linalg.{ IntVector, VectorBuilder, VectorCanBuildFrom, VectorLike }
import de.h2b.scala.lib.math.linalg.VectorLike
import de.h2b.scala.lib.math.linalg.building.{ VectorBuilder, VectorCanBuildFrom }
import de.h2b.scala.lib.math.linalg.factory.IntVector
case class Pixel private (val x: Int, val y: Int) extends
IntVector(1, Seq(x,y)) with IterableLike[Int, Pixel] with VectorLike[Int, Pixel] with
......
......@@ -19,7 +19,9 @@ package de.h2b.scala.lib.simgraf
import scala.collection.IterableLike
import de.h2b.scala.lib.math.linalg.{ DoubleVector, VectorBuilder, VectorCanBuildFrom, VectorLike }
import de.h2b.scala.lib.math.linalg.VectorLike
import de.h2b.scala.lib.math.linalg.building.{ VectorBuilder, VectorCanBuildFrom }
import de.h2b.scala.lib.math.linalg.factory.DoubleVector
case class Point private (val x: Double, val y: Double) extends
DoubleVector(1, Seq(x,y)) with IterableLike[Double, Point] with VectorLike[Double, Point] with
......
......@@ -17,7 +17,8 @@
*/
package de.h2b.scala.lib.simgraf
import de.h2b.scala.lib.math.linalg.{ Index, Vector, VectorStore }
import de.h2b.scala.lib.math.linalg.{ Index, Vector }
import de.h2b.scala.lib.math.linalg.storage.VectorStore
trait PointStore [E] extends VectorStore[E] {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment