Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Simonstrator
API
Commits
328b1b99
Commit
328b1b99
authored
Aug 05, 2016
by
Augustin Wilberg
Browse files
adaption of constraint
parent
f2721898
Changes
2
Hide whitespace changes
Inline
Side-by-side
src/de/tudarmstadt/maki/simonstrator/api/common/graph/BasicGraph.java
View file @
328b1b99
...
...
@@ -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
;
...
...
src/de/tudarmstadt/maki/simonstrator/api/component/topology/Constraint.java
View file @
328b1b99
...
...
@@ -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
);
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment