Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove phrase 'Abstract' from abstract class names #135

Merged
merged 6 commits into from
Apr 11, 2019

Conversation

darthegg
Copy link
Collaborator

@darthegg darthegg commented Apr 8, 2019

Issue #131
Author: Chaehyeuk Lee

  1. Remove phrase 'Abstract' from abstract Agent class (algorithms.common.abstract.agent)
  2. Remove phrase 'Abstract' from abstract HER class (algorithms.common.abstract.her)
  3. Remove phrase 'Abstract' from abstract RewardFn class (algorithms.common.abstract.reward_fn)

Error : Class name is same with Abstract Class name
ex) class Agent(Agent)

Fix : Change name of Agent class to include algorithm name
ex) class DQNAgent(Agent)
Change input name 'HER' to 'her'

Test all algorithms and Environments running

@darthegg darthegg self-assigned this Apr 8, 2019
@@ -7,11 +7,11 @@

import numpy as np

from algorithms.common.abstract.her import AbstractHER
from algorithms.common.abstract.reward_fn import AbstractRewardFn
from algorithms.common.abstract.her import HER as AbstractHER
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why HER's class name is declared as AbstractHER, while RewardFn is not AbstractRewardFn?

@Curt-Park
Copy link
Collaborator

  1. Link the issue number.
  2. would be good if you add a little description.
  3. The PR title will possibly make a misunderstanding. More details needed.
  4. Have you checked all algorithms run well?

@darthegg darthegg changed the title Remove abstract Remove phrase 'Abstract' from abstract Class Apr 10, 2019
@darthegg darthegg changed the title Remove phrase 'Abstract' from abstract Class Remove phrase 'Abstract' from abstract class Apr 10, 2019
@Curt-Park
Copy link
Collaborator

Curt-Park commented Apr 10, 2019

How about "Remove phrase 'Abstract' from abstract class names"?

@darthegg darthegg changed the title Remove phrase 'Abstract' from abstract class Remove phrase 'Abstract' from abstract class names Apr 10, 2019
README.md Outdated Show resolved Hide resolved
Copy link
Collaborator

@Curt-Park Curt-Park left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good job

@darthegg darthegg merged commit 3861ebf into master Apr 11, 2019
@darthegg darthegg deleted the feature/remove_abstract branch April 11, 2019 08:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants