Skip to content

Commit

Permalink
adding latest algorithm
Browse files Browse the repository at this point in the history
  • Loading branch information
Soapalin authored Jun 4, 2024
1 parent 47aacdd commit bd96094
Showing 1 changed file with 11 additions and 11 deletions.
22 changes: 11 additions & 11 deletions utils/algorithm_grapher.py
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ def reading_increase(self):
readingSpeed = 2
readingSpeed_item = 2
else:
readingSpeed = (readingSpeed+IQ)/IQ
readingSpeed = 2 + (readingSpeed+IQ)/IQ
readingSpeed_item = (readingSpeed + (readingSpeed+IQ)/IQ)*1.2

print(f"================================================")
Expand All @@ -73,16 +73,16 @@ def reading_increase(self):
reading_speed_item.append(readingSpeed_item)
knowledge_PerMin.append(knowledgePerMin)

# x = [i for i in range(0, 600)]
# plt.plot(x, knowledge_cost, label="knowledge_cost")
# plt.plot(x, knowledge_inc, label="knowledge_inc")
# plt.plot(x, reading_speed, label="reading_speed")
# plt.plot(x, reading_speed_item, label="reading_speed_item")
# plt.plot(x, knowledge_PerMin, label="knowledge_PerMin")
# plt.yscale("log")
# plt.legend()
# plt.title('Log values graph')
# plt.show()
x = [i for i in range(0, 600)]
plt.plot(x, knowledge_cost, label="knowledge_cost")
plt.plot(x, knowledge_inc, label="knowledge_inc")
plt.plot(x, reading_speed, label="reading_speed")
plt.plot(x, reading_speed_item, label="reading_speed_item")
plt.plot(x, knowledge_PerMin, label="knowledge_PerMin")
plt.yscale("log")
plt.legend()
plt.title('Log values graph')
plt.show()



Expand Down

0 comments on commit bd96094

Please sign in to comment.