You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
10 lines
244 B
10 lines
244 B
package model
|
|
|
|
import scala.math.{sqrt, pow}
|
|
import util.Util
|
|
|
|
case class HHCEdge(v1: Customer, v2: Customer) {
|
|
val weight = Util.getHaversineDistance(v1.location, v2.location)
|
|
}
|
|
|
|
case class HHCEdge2[T](fromNode: Int, toNode: Int, weight: T)
|