Skip to content

Commit

Permalink
Merge branch 'genetical_agent_2_0' of https://github.com/CogitoNTNU/T…
Browse files Browse the repository at this point in the history
…etrisAI into genetical_agent_2_0
  • Loading branch information
Eduard-Prokhorikhin committed Jul 7, 2024
2 parents 282cdba + 6291b7c commit ae997de
Showing 1 changed file with 5 additions and 7 deletions.
12 changes: 5 additions & 7 deletions test.py
Original file line number Diff line number Diff line change
@@ -1,10 +1,8 @@
from src.agents.agent_factory import *
from src.agents.geneticAlgAgentJon import GeneticAlgAgentJM
from src.game.TetrisGameManager import *
from src.game.block import Block
from src.game.tetris import *
from src.agents.geneticAlgAgent import GeneticAgent, train_genetic_algorithm

import numpy as np

agents = train_genetic_algorithm(50)

genAgent = GeneticAlgAgentJM()

genAgent.number_of_selection(10)

0 comments on commit ae997de

Please sign in to comment.