Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
F
floodlight
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
croft1
floodlight
Commits
6fda92b6
Commit
6fda92b6
authored
13 years ago
by
Srinivasan Ramasubramanian
Browse files
Options
Downloads
Patches
Plain Diff
Initialization for parentDFSIndex added.
parent
f27c4475
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/main/java/net/floodlightcontroller/util/ClusterDFS.java
+11
-12
11 additions, 12 deletions
src/main/java/net/floodlightcontroller/util/ClusterDFS.java
with
11 additions
and
12 deletions
src/main/java/net/floodlightcontroller/util/ClusterDFS.java
+
11
−
12
View file @
6fda92b6
...
...
@@ -4,11 +4,12 @@ public class ClusterDFS {
long
dfsIndex
;
long
parentDFSIndex
;
long
lowpoint
;
boolean
visited
;
boolean
visited
;
public
ClusterDFS
()
{
visited
=
false
;
visited
=
false
;
dfsIndex
=
Long
.
MAX_VALUE
;
parentDFSIndex
=
Long
.
MAX_VALUE
;
lowpoint
=
Long
.
MAX_VALUE
;
}
...
...
@@ -20,6 +21,14 @@ public class ClusterDFS {
this
.
dfsIndex
=
dfsIndex
;
}
public
long
getParentDFSIndex
()
{
return
parentDFSIndex
;
}
public
void
setParentDFSIndex
(
long
parentDFSIndex
)
{
this
.
parentDFSIndex
=
parentDFSIndex
;
}
public
long
getLowpoint
()
{
return
lowpoint
;
}
...
...
@@ -35,14 +44,4 @@ public class ClusterDFS {
public
void
setVisited
(
boolean
visited
)
{
this
.
visited
=
visited
;
}
public
long
getParentDFSIndex
()
{
return
parentDFSIndex
;
}
public
void
setParentDFSIndex
(
long
parentDFSIndex
)
{
this
.
parentDFSIndex
=
parentDFSIndex
;
}
}
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment