<< >>


3.3.1.

- . G, (. 12) G. G1 G2, .

//
public void G() {
int TerminalStatus=0, CommandStatus=0;
bool IsPresent=true, CommandFound=true;
1 Init();
2 switch (TerminalStatus) {
case 11 :
11 AddCommand();
16 switch (CommandStatus) {
case 12 :
12 GetMessage();
13 ClearQueue();
break;
case 17 :
17 ClearQueue(); break;
case 18 :
18 DumpQueue(); break;
} // switch CommandStatus
14 ProcessCommand();
15 Commit();
break;
case 3 :
3 AskTerminal();
4 if (IsPresent) {
5 Connect();
}
6 RebuildQueue();
break;
case 19 :
19 SearchValidCommand();
20 if (CommandFound) {
21 AnalyzeCommand();
}
else {
23 LogError();
}
24 MoveNextCommand();
break;
} // switch TerminalStatus
7 LogResults();
10 DisposeAll();
}

. 12. G

G , G1 G2 , G1 G2 G. G , G:

P1(G) = 1-2-3-4-5-6-7-10;
P2(G) = 1-2-3-4-6-7-10;
P3(G) = 1-2-11-16-18-14-15-7-10;
P4(G) = 1-2-11-16-17-14-15-7-10;
P5(G) = 1-2-11-16-12-13-14-15-7-10;
P6(G) = 1-2-19-20-23-22-7-10;
P7(G) = 1-2-19-20-21-22-7-10.

.

(3.3-1) TV(G,C) = (V-DV)/V = ΣPTi(G) / (ΣPi(G)),

PTi(G) - (ti) G 1, (), 0, .

, (. 12) t6 t7, P6 P7, , (3.3-1) TV(G,G) (7-2)/7 = 0.71.

 



<< >>