algo work on test 1
This commit is contained in:
11
readme.md
11
readme.md
@@ -15,7 +15,8 @@
|
||||
start
|
||||
:rTime = 0
|
||||
relInterval = 0
|
||||
isEnd = it == list.end();
|
||||
isEnd = it == list.end()
|
||||
lTime = 0;
|
||||
if (!isEnd) then (not end)
|
||||
:relInterval = it.getRelTicks()
|
||||
rTime += relInterval;
|
||||
@@ -24,12 +25,18 @@ if (!isEnd) then (not end)
|
||||
:isEnd = (++it == list.end());
|
||||
if (!isEnd) then (not end)
|
||||
:relInterval = it.getRelTicks()
|
||||
lTime = rTime
|
||||
rTime += relInterval;
|
||||
endif
|
||||
endwhile
|
||||
|
||||
endif
|
||||
: insert ;
|
||||
if (!isEnd) then (not end)
|
||||
: subRelTicks(dTime- lTime);
|
||||
endif
|
||||
:it.setRelTicks(dTime - rTime);
|
||||
:insert(it, timeout);
|
||||
|
||||
|
||||
@enduml
|
||||
|
||||
|
||||
Reference in New Issue
Block a user