blob: 73ae988bd457025df3117d9c8a5be1cbe648ec06 (
plain)
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
|
-- File: GraphTools_SC.cdl
-- Created: Thu Sep 30 15:41:02 1993
-- Author: Denis PASCAL
-- <dp@bravox>
---Copyright: Matra Datavision 1993
class SC from GraphTools inherits TShared from MMgt
---Purpose: This class is used to identify a Strong Component.
-- The user has not to used its methods.
uses SCList from GraphTools,
SequenceOfInteger from TColStd
raises OutOfRange from Standard,
NoSuchObject from Standard
is
Create returns mutable SC;
Reset (me : mutable);
---Level: Public
AddVertex (me : mutable; V : Integer from Standard);
---Level: Public
NbVertices (me) returns Integer from Standard;
---Level: Public
GetVertex (me; index: Integer from Standard)
---Level: Public
returns Integer from Standard;
AddFrontSC (me : mutable; SC : SC from GraphTools);
---Level: Public
GetFrontSC (me) returns SCList from GraphTools;
---Level: Public
---C++: return const &
AddBackSC (me : mutable; SC : SC from GraphTools);
---Level: Public
GetBackSC (me) returns SCList from GraphTools;
---Level: Public
---C++: return const &
fields
myBackSC : SCList from GraphTools;
myVertices : SequenceOfInteger from TColStd;
myFrontSC : SCList from GraphTools;
end SC;
|