blob: 3efd5bcd6dc117ed6769494588dfb4ae1c3c77bb [file] [log] [blame]
Umesh Krishnaswamy345ee992012-12-13 20:29:48 -08001package net.floodlightcontroller.util;
2
3public class ClusterDFS {
4 long dfsIndex;
5 long parentDFSIndex;
6 long lowpoint;
7 boolean visited;
8
9 public ClusterDFS() {
10 visited = false;
11 dfsIndex = Long.MAX_VALUE;
12 parentDFSIndex = Long.MAX_VALUE;
13 lowpoint = Long.MAX_VALUE;
14 }
15
16 public long getDfsIndex() {
17 return dfsIndex;
18 }
19
20 public void setDfsIndex(long dfsIndex) {
21 this.dfsIndex = dfsIndex;
22 }
23
24 public long getParentDFSIndex() {
25 return parentDFSIndex;
26 }
27
28 public void setParentDFSIndex(long parentDFSIndex) {
29 this.parentDFSIndex = parentDFSIndex;
30 }
31
32 public long getLowpoint() {
33 return lowpoint;
34 }
35
36 public void setLowpoint(long lowpoint) {
37 this.lowpoint = lowpoint;
38 }
39
40 public boolean isVisited() {
41 return visited;
42 }
43
44 public void setVisited(boolean visited) {
45 this.visited = visited;
46 }
47}