Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
G
gs-algo
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
graphstream
gs-algo
Commits
c382562f
Commit
c382562f
authored
May 18, 2012
by
sbalev
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix #62
parent
b65ee66f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
1 deletion
+11
-1
src/org/graphstream/algorithm/ConnectedComponents.java
src/org/graphstream/algorithm/ConnectedComponents.java
+11
-1
No files found.
src/org/graphstream/algorithm/ConnectedComponents.java
View file @
c382562f
...
...
@@ -743,7 +743,17 @@ public class ConnectedComponents extends SinkAdapter implements
*/
@Override
public
void
graphCleared
(
String
graphId
,
long
timeId
)
{
terminate
();
// terminate();
if
(
started
)
{
connectedComponents
=
0
;
ids
.
clear
();
ids
.
add
(
""
);
components
.
clear
();
components
.
add
(
new
ConnectedComponent
(
0
));
connectedComponentsMap
.
clear
();
connectedComponentsSize
.
clear
();
}
}
/*
...
...
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