1 25 package classycle.graph; 26 27 38 public class AtomicVertex extends Vertex { 39 private boolean _graphVertexDefaultValue = true; 40 private boolean _graphVertex; 41 private int _order; 42 private int _low; 43 44 45 public AtomicVertex(Attributes attributes) { 46 super(attributes); 47 } 48 49 55 public void reset() { 56 super.reset(); 57 _graphVertex = _graphVertexDefaultValue; 58 _order = -1; 59 _low = -1; 60 } 61 62 63 public boolean isGraphVertex() { 64 return _graphVertex; 65 } 66 67 71 public void setDefaultValueOfGraphVertexFlag(boolean flag) { 72 _graphVertexDefaultValue = flag; 73 } 74 75 76 public int getOrder() { 77 return _order; 78 } 79 80 81 public void setOrder(int order) { 82 _order = order; 83 } 84 85 86 public int getLow() { 87 return _low; 88 } 89 90 91 public void setLow(int low) { 92 _low = low; 93 } 94 } | Popular Tags |