-
Notifications
You must be signed in to change notification settings - Fork 23
/
Copy pathcPMFG_VertexRec.cls
90 lines (68 loc) · 1.87 KB
/
cPMFG_VertexRec.cls
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
VERSION 1.0 CLASS
BEGIN
MultiUse = -1 'True
END
Attribute VB_Name = "cPMFG_VertexRec"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = False
Attribute VB_Exposed = False
Option Explicit
Private pleastAncestor As Long
Private pLowpoint As Long
Private pDFSParent As Long
Private padjacentTo As Long
Private ppertinentBicompList As Long
Private pseparatedDFSChildList As Long
Private pfwdArcList As Long
Sub InitVertexRec(i As Long)
pleastAncestor = 0
pLowpoint = i
pDFSParent = -1
padjacentTo = -1
ppertinentBicompList = -1
pseparatedDFSChildList = -1
pfwdArcList = -1
End Sub
Public Property Get DFSParent() As Long
DFSParent = pDFSParent
End Property
Public Property Let DFSParent(v As Long)
pDFSParent = v
End Property
Public Property Get leastAncestor() As Long
leastAncestor = pleastAncestor
End Property
Public Property Let leastAncestor(v As Long)
pleastAncestor = v
End Property
Public Property Get Lowpoint() As Long
Lowpoint = pLowpoint
End Property
Public Property Let Lowpoint(v As Long)
pLowpoint = v
End Property
Public Property Get separatedDFSChildList() As Long
separatedDFSChildList = pseparatedDFSChildList
End Property
Public Property Let separatedDFSChildList(i As Long)
pseparatedDFSChildList = i
End Property
Public Property Get fwdArcList() As Long
fwdArcList = pfwdArcList
End Property
Public Property Let fwdArcList(i As Long)
pfwdArcList = i
End Property
Public Property Get adjacentTo() As Long
adjacentTo = padjacentTo
End Property
Public Property Let adjacentTo(v As Long)
padjacentTo = v
End Property
Public Property Get pertinentBicompList() As Long
pertinentBicompList = ppertinentBicompList
End Property
Public Property Let pertinentBicompList(v As Long)
ppertinentBicompList = v
End Property