Search in sources :

Example 6 with Node

use of au.gov.asd.tac.constellation.plugins.algorithms.clustering.infomap.Node in project constellation by constellation-app.

the class InfomapGreedy method transformNodeFlowToEnterFlow.

@Override
protected void transformNodeFlowToEnterFlow(final NodeBase parent) {
    for (final NodeBase moduleBase : parent.getChildren()) {
        final Node module = getNode(moduleBase);
        module.getData().setFlow(module.getData().getEnterFlow());
    }
}
Also used : NodeBase(au.gov.asd.tac.constellation.plugins.algorithms.clustering.infomap.NodeBase) Node(au.gov.asd.tac.constellation.plugins.algorithms.clustering.infomap.Node)

Aggregations

Node (au.gov.asd.tac.constellation.plugins.algorithms.clustering.infomap.Node)6 NodeBase (au.gov.asd.tac.constellation.plugins.algorithms.clustering.infomap.NodeBase)6