Skip to content

Commit

Permalink
Add timers specification
Browse files Browse the repository at this point in the history
Close #58
  • Loading branch information
BartoszChrostowski committed Mar 8, 2020
1 parent a5dc89d commit 6fd794a
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 8 deletions.
8 changes: 0 additions & 8 deletions Dokumentacja/DefinicjeWiadomosci/messageWrapper.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,6 @@
"messageID": {
"type":"integer"
},
"timeSent": {
"type":"string",
"format":"date-time"
},
"waitUntil": {
"type":"string",
"format":"date-time"
},
"agentID": {
"type":"integer"
},
Expand Down
1 change: 1 addition & 0 deletions Dokumentacja/Dokumentacja.tex
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@

% Przypadki użycia
\subfile{./PrzypadkiUzycia/PrzypadkiUzycia.tex}
\subfile{./MierzenieCzasu.tex}
\subfile{./Komunikacja.tex}
\subfile{./Konfiguracje/Konfiguracje.tex}
\subfile{./DiagramyKlas/DiagramyKlas.tex}
Expand Down
12 changes: 12 additions & 0 deletions Dokumentacja/MierzenieCzasu.tex
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
\documentclass[Dokumentacja.tex]{subfiles}

\begin{document}
\section{Mierzenie czasów}
Czasy liczone są indywidualnie przez każdy moduł,
synchronizacja czasów nie jest prowadzona.
Czasy kar podane w konfiguracji są przez GM zaokrąglane do 10ms i taka powinna być dokładność
zegarów wszystkich modułów.
Agenty powinny same być w stanie obliczyć, kiedy mogą wykonać
kolejną akcję na podstawie długości kar i czasów wysłania/odebrania wiadomości.
GM na podstawie własnego zegara decyduje czy agent odczekał karę.
\end{document}

0 comments on commit 6fd794a

Please sign in to comment.