Safe HaskellSafe-Infered



Implementation of the cluster metric



detailedCVInfoExt :: [((Double, String), ([AggregateComponent] -> Statistics, Bool))]Source

optimalCVScore :: List -> DoubleSource

Compute the lower bound of the cluster score, i.e., the sum of the minimal values for all cluster score values that are not 0 on a perfectly balanced cluster.

detailedCVInfo :: [(Double, String)]Source

compClusterStatistics :: [Node] -> [Statistics]Source

Compute the statistics of a cluster.

updateClusterStatisticsTwice :: [Statistics] -> (Node, Node) -> (Node, Node) -> [Statistics]Source

Update a cluster statistics twice.

compDetailedCV :: [Node] -> [Double]Source

compCVfromStats :: [Statistics] -> DoubleSource

Compute the cluster score from its statistics

compCVNodes :: [Node] -> DoubleSource

Compute the total variance.

compCV :: List -> DoubleSource

Wrapper over compCVNodes for callers that have a List.

printStats :: String -> List -> StringSource

Shows statistics for a given node list.