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.
29 lines
549 B
29 lines
549 B
package model
|
|
|
|
import scala.collection.immutable.ArraySeq
|
|
import scala.collection.IndexedSeqView
|
|
|
|
trait HHCTypes {
|
|
|
|
/**
|
|
* Graph in mutable adjacency matrix form
|
|
*/
|
|
type GraphMatrix[T] = Array[Array[T]]
|
|
|
|
/**
|
|
* Graph in mutable adjacency list form
|
|
*/
|
|
type MutGraph[T] = Array[Array[HHCEdge2[T]]]
|
|
|
|
/**
|
|
* Graph in immutable adjacency list form
|
|
*/
|
|
type Graph[T] = ArraySeq[List[HHCEdge2[T]]]
|
|
|
|
/**
|
|
* List of removed edges
|
|
*/
|
|
type RemovedEdges[T] = List[HHCEdge2[T]]
|
|
|
|
type Clusters = ArraySeq[List[Int]]
|
|
}
|