Commit 328b1b99 authored by Augustin Wilberg's avatar Augustin Wilberg
Browse files

adaption of constraint

parent f2721898
......@@ -492,6 +492,7 @@ public class BasicGraph implements Graph {
newNeighbors.addAll(getNeighbors(neighbor, directedNeighborhood));
}
neighbors = new HashSet<INodeID>(newNeighbors);
newNeighbors.clear();
}
visited.addAll(neighbors);
return visited;
......
......@@ -42,5 +42,5 @@ public interface Constraint {
*/
public boolean isConform(Graph oldValue, Graph newValue);
public boolean isConformOperation(Graph oldValue, Graph newValue, Set<OperationalEdge> curOption);
public boolean isConformOperation(Graph newValue, Set<OperationalEdge> curOption);
}
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