Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Simonstrator
PeerfactSim.KOM
Commits
5e9789af
Commit
5e9789af
authored
May 29, 2017
by
Simon Luser
Browse files
fix assertions
parent
5ee2eab0
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/de/tud/kom/p2psim/impl/churn/MaxPeerCountChurnGenerator.java
View file @
5e9789af
...
@@ -361,8 +361,6 @@ public class MaxPeerCountChurnGenerator
...
@@ -361,8 +361,6 @@ public class MaxPeerCountChurnGenerator
// Insanity Checks
// Insanity Checks
assert
startTime
>=
previousEndTime
:
"Start time for next fluctuation must be greater than previous end time."
;
assert
startTime
>=
previousEndTime
:
"Start time for next fluctuation must be greater than previous end time."
;
assert
burstLength
>=
_minBurstLength
:
"The minimal length of the burst must be at least 1m."
;
assert
numberOfClients
>
0
:
"Number of nodes must be positive."
;
assert
numberOfClients
>
0
:
"Number of nodes must be positive."
;
assert
numberOfClients
<=
maxNumberOfNodes
:
"Cannot configure more nodes than configured in configuration."
;
assert
numberOfClients
<=
maxNumberOfNodes
:
"Cannot configure more nodes than configured in configuration."
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment