www.sdmetrics.com

com.sdmetrics.metrics
Class MatrixEngine

java.lang.Object
  extended by com.sdmetrics.metrics.MatrixEngine

public class MatrixEngine
extends java.lang.Object

Calculates relation matrices.


Constructor Summary
MatrixEngine(MetricsEngine me)
          Creates a new matrix engine.
 
Method Summary
 MatrixData calculate(Matrix matrix)
          Calculates a relation matrix.
 MetricsEngine getMetricsEngine()
          Returns the metrics engine that this matrix engine uses.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MatrixEngine

public MatrixEngine(MetricsEngine me)
Creates a new matrix engine.

Parameters:
me - The metrics engine to be used for the calculation.
Method Detail

getMetricsEngine

public MetricsEngine getMetricsEngine()
Returns the metrics engine that this matrix engine uses.

Returns:
Metrics engine of the matrix engine.

calculate

public MatrixData calculate(Matrix matrix)
                     throws SDMetricsException
Calculates a relation matrix.

Parameters:
matrix - Definition of the matrix to calculate.
Returns:
The matrix
Throws:
SDMetricsException - An error occurred during the calculation of the matrix.

www.sdmetrics.com