ml.sparkling.graph.api.operators.measures.GraphIndependentMeasure.scala Maven / Gradle / Ivy
The newest version!
package ml.sparkling.graph.api.operators.measures
import org.apache.spark.graphx.Graph
import scala.reflect.ClassTag
/**
* Measure computed for whole graph, that is independent from values of vertices and edges
* Created by Roman Bartusiak ([email protected] http://riomus.github.io).
*/
trait GraphIndependentMeasure[OV] {
def compute[V:ClassTag,E:ClassTag](graph:Graph[V,E]):OV
}