}
//Set results in columns
Table nodeTable = attributeModel.getNodeTable();
Column clusteringCol = nodeTable.getColumn(CLUSTERING_COEFF);
if (clusteringCol == null) {
clusteringCol = nodeTable.addColumn(CLUSTERING_COEFF, "Clustering Coefficient", Double.class, new Double(0));
}
Column triCount = null;
if (!isDirected) {
triCount = nodeTable.getColumn("Triangles");
if (triCount == null) {
triCount = nodeTable.addColumn("Triangles", "Number of triangles", Integer.class, new Integer(0));
}