js/clusterer.js
/**
  * Constructs a clusterer
  *
  * @classdesc
  *
  * A clusterer separates the executions in the input log into different groups
  * based on a chosen metric. It then displays the results in the cluster tab in the
  * left sidebar. The clustering mechanism is performed after the visualization has
  * been drawn.
  *
  * The headingsToLabelsMap uses heading names as a key to get an array of corresponding
  * subheadings and execution labels. The first item in the array is always the subheadings
  * and the second item is always the execution labels.
  *
  * @todo cache cluster results
  *
  * @constructor
  * @param {String} metric The chosen metric for clustering executions
  */
Constructs a clusterer
@classdesc

A clusterer separates the executions in the input log into different groups
based on a chosen metric. It then displays the results in the cluster tab in the
left sidebar. The clustering mechanism is performed after the visualization has
been drawn.

The headingsToLabelsMap uses heading names as a key to get an array of corresponding
subheadings and execution labels. The first item in the array is always the subheadings
and the second item is always the execution labels.

@todo cache cluster results

@constructor
@param {String} metric The chosen metric for clustering executions
Constructs a clusterer @classdesc A clusterer separates the executions in the input log into different groups based on a chosen metric . It then displays the results in the cluster tab in the left sidebar . The clustering mechanism is performed after the visualization has been drawn . The headingsToLabelsMap uses heading names as a key to get an array of corresponding subheadings and execution labels . The first item in the array is always the subheadings and the second item is always the execution labels . @todo cache cluster results @constructor @param { String } metric The chosen metric for clustering executions
function Clusterer(metric, global) {
    this.global = global;
    this.metric = metric;
    this.table = $("<td class='lines'></td>");
    this.headings = [];
    this.headingsToLabelsMap = {};
}
function Clusterer ( metric , global ) { this . global = global ; this . metric = metric ; this . table = $ ( "<td class='lines'></td>" ) ; this . headings = [ ] ; this . headingsToLabelsMap = { } ; }
Constructs a clusterer
 @classdesc
Constructs a clusterer @classdesc
/** @private */ /** @private */ /** @private */ /** @private */ // An array of headings for clusters of executions, for example: "Same hosts as base" /** @private */