1. Smith Dhumbumroong
  2. PyCGA

Commits

Smith Dhumbumroong  committed 182116c

Yet another minor code refactor

  • Participants
  • Parent commits 80a788f
  • Branches default
  • Tags 0.1.1

Comments (0)

Files changed (2)

File PyCGA.py

View file
 
 def update_pvector(pvector, winner, loser, pop_size):
     for i in xrange(len(pvector)):
-
         if not args.fix_trap5:
             # classic
             if winner[i] != loser[i]:

File graph_plotter.py

View file
     plt.grid(True)
 
     plt.xlabel("generations")
-    plt.ylabel("probability of each entry of the probability vector")
+    plt.ylabel("probability of each member in the probability vector")
 
     for e in pvector_entries:
         plt.plot(e)