Skip to content
Snippets Groups Projects
Commit 0f51360d authored by Armin Co's avatar Armin Co
Browse files

Add suffix to Doubel Agent

parent 086bad11
No related branches found
No related tags found
No related merge requests found
...@@ -75,7 +75,7 @@ class DQAgent(QAgent): ...@@ -75,7 +75,7 @@ class DQAgent(QAgent):
def __init__(self, conf): def __init__(self, conf):
super().__init__(conf) super().__init__(conf)
self.q2 = QNet(conf) self.q2 = QNet(conf)
self.name = 'D_' + str(self.name) self.name = str(self.name) + 'DBL'
def get_action(self, state): def get_action(self, state):
if np.random.rand() <= self.epsilon: if np.random.rand() <= self.epsilon:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment