Commit 9a725fb7 authored by Robin Oppermann's avatar Robin Oppermann
Browse files

Next improvements according to Britta's review

parent b1c4be76
Pipeline #16272 passed with stages
in 4 minutes and 49 seconds
......@@ -60,14 +60,13 @@ class EnergyData:
self.currentTotalHosts += 1
if energyLevel < 0.1:
self.currentHostsThatEverReachedLowEnergyLimit.add(host)
if(energyLevel == 0 ):
# Draws two functions over the same x values.
if energyLevel == 0:
self.currentHostsThatEverReachedZeroEnergy.add(host)
self.currentZeroEnergyHosts += 1
else:
self.currentLowEnergyHosts += 1
# Draws two functions over the same x values.
# Draws the four functions over the same x values.
# Labels are selected as appropriate for energy analysis.
# In the end saves the plot
def drawAndSafePlots(x, y_lowEnergy, y_noEnergy, y_totalLowEnergy, y_totalNoEnergy, graphicFileName):
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment