Commit 1b869883 authored by Johannes Salentin's avatar Johannes Salentin
Browse files

dense structure for clusters

parent ee20c6bb
Pipeline #161677 passed with stages
in 1 minute and 25 seconds
......@@ -32,8 +32,7 @@ public class DenseStructure extends Detector {
for (RelationshipType relationship : model.getRelationships()) {
ElementType target = (ElementType) relationship.getTarget();
ElementType source = (ElementType) relationship.getSource();
// maybe restrict to non-structural relations?
if (/*model.isNotStructural(relationship) &&*/ cluster.contains(source) && cluster.contains(target)) {
if (cluster.contains(source) && cluster.contains(target)) {
e++;
}
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment