
import sys
sys.path.insert(1, '..')
sys.path.insert(1, '..\\..')
from test_data import parabola_data
import evogression
import tracemalloc
tracemalloc.start()


def main():
    # evolution = evogression.Evolution('y', parabola_data, num_creatures=10000, num_cycles=10, use_multip=False, initial_creature_creation_multip=False, optimize=3)
    evolution = evogression.Evolution('y', parabola_data, num_creatures=10000, num_cycles=5, use_multip=False, initial_creature_creation_multip=False, optimize=3)



if __name__ == '__main__':
    evolution = main()

    snapshot = tracemalloc.take_snapshot()
    top_stats = snapshot.statistics('lineno')
    print("[ Top Memory Users ]")
    for stat in top_stats[:50]:
        if 'evogression' in str(stat):
            print(stat)


import sys
sys.path.insert(1, '..')
sys.path.insert(1, '..\\..')
from test_data import parabola_data
import evogression
import tracemalloc
tracemalloc.start()


def main():
    # evolution = evogression.Evolution('y', parabola_data, num_creatures=10000, num_cycles=10, use_multip=False, initial_creature_creation_multip=False, optimize=3)
    evolution = evogression.Evolution('y', parabola_data, num_creatures=10000, num_cycles=5, use_multip=False, initial_creature_creation_multip=False, optimize=3)



if __name__ == '__main__':
    evolution = main()

    snapshot = tracemalloc.take_snapshot()
    top_stats = snapshot.statistics('lineno')
    print("[ Top Memory Users ]")
    for stat in top_stats[:50]:
        if 'evogression' in str(stat):
            print(stat)

# evolution = evogression.Evolution('y', parabola_data, num_creatures=10000, num_cycles=10, use_multip=False, initial_creature_creation_multip=False, optimize=3)