Search in sources :

Example 1 with GraphEditDistance

use of org.iobserve.service.behavior.analysis.clustering.GraphEditDistance in project iobserve-analysis by research-iobserve.

the class TestHelper method generateMTree.

public static MTree<OpticsData> generateMTree(final List<OpticsData> models) {
    final GraphEditDistance ged = new GraphEditDistance();
    final MTree<OpticsData> mtree = new MTree<>(20, 40, OpticsData.getDistanceFunction(), null);
    for (final OpticsData model : models) {
        mtree.add(model);
    }
    return mtree;
}
Also used : GraphEditDistance(org.iobserve.service.behavior.analysis.clustering.GraphEditDistance) OpticsData(org.iobserve.service.behavior.analysis.clustering.OpticsData) MTree(mtree.MTree)

Aggregations

MTree (mtree.MTree)1 GraphEditDistance (org.iobserve.service.behavior.analysis.clustering.GraphEditDistance)1 OpticsData (org.iobserve.service.behavior.analysis.clustering.OpticsData)1