Commit ee20c6bb authored by Johannes Salentin's avatar Johannes Salentin
Browse files

minor modification

restrict to non-structural?
parent 0d06f1b8
Pipeline #161675 passed with stages
in 1 minute and 26 seconds
......@@ -32,7 +32,8 @@ public class DenseStructure extends Detector {
for (RelationshipType relationship : model.getRelationships()) {
ElementType target = (ElementType) relationship.getTarget();
ElementType source = (ElementType) relationship.getSource();
if (cluster.contains(source) && cluster.contains(target)) {
// maybe restrict to non-structural relations?
if (/*model.isNotStructural(relationship) &&*/ 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