Class Index | File Index

Classes


Class de.aitools.js.ClusterAlgorithm

Implementation of ClusterAlgorithm
Defined in: Clustering.js.

Class Summary
Constructor Attributes Constructor Name and Description
 
de.aitools.js.ClusterAlgorithm(nodeIdClusterMapping)
Implementation of ClusterAlgorithm - algorithms are implemented as a singleton patterns with an input: Graph and output: Clustering.
Method Summary
Method Attributes Method Name and Description
 
Method to compute a clustering using a graph.
Class Detail
de.aitools.js.ClusterAlgorithm(nodeIdClusterMapping)
Implementation of ClusterAlgorithm - algorithms are implemented as a singleton patterns with an input: Graph and output: Clustering.
Example:
MajorClust, creates a clustering through comparing weights of single clusters / node connections. Usage:
de.aitools.js.MajorClust.setThreshold(value);
var MajorClust = new de.aitools.js.MajorClust();
var ca = new de.aitools.js.ClusterAlgorithm(MajorClust);
var cluster = ca.computeClustering(graph);
Author: Christian Fricke [email protected].
Parameters:
{Object} nodeIdClusterMapping
mapping: key[nodeId]=>value[clusterId]
Method Detail
{de.aitools.js.Clustering} computeClustering(graph)
Method to compute a clustering using a graph.
Parameters:
{de.aitools.js.Graph} graph
The graph to be clusterd
Returns:
{de.aitools.js.Clustering} A clustering

Documentation generated by JsDoc Toolkit 2.4.0 on Wed May 30 2012 16:21:04 GMT+0200 (CEST)