Skip to content
Snippets Groups Projects
Commit 6fda92b6 authored by Srinivasan Ramasubramanian's avatar Srinivasan Ramasubramanian
Browse files

Initialization for parentDFSIndex added.

parent f27c4475
No related branches found
No related tags found
No related merge requests found
......@@ -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;
}
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment