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

Refactored subgraphstack and eulertrail related .h and .cpp files #80

Closed
wants to merge 2 commits into from

Conversation

jmeintrup
Copy link
Collaborator

No description provided.

@coveralls
Copy link

Coverage Status

Coverage increased (+0.005%) to 83.514% when pulling c727488 on 1yay1:refactoring into 9000a73 on thm-mni-ii:master.

Copy link

@shsr04 shsr04 left a comment

Choose a reason for hiding this comment

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

There should not be additional subdirectories in the include folder. We only want these four:

  • collection
  • dictionary
  • graph
  • iterator

Please try to fit all your classes in one of these categories (and remove include/eulertrail and include/rankselect). Inside the src directory, we can create many subdirectories for our convenience.

#include <sealib/localdycktable.h>
#include <sealib/dyckmatchingstructure.h>
#include <sealib/dictionary/rankselect.h>
#include "../../../src/eulertrail/localdycktable.h"
Copy link

Choose a reason for hiding this comment

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

You can't reference the src folder from a public header file. Either make this file private or the other one public.

#ifndef SEALIB_BYTECOUNTER_H_
#define SEALIB_BYTECOUNTER_H_
#ifndef SEALIB_MEASUREMENT_BYTECOUNTER_H_
#define SEALIB_MEASUREMENT_BYTECOUNTER_H_
Copy link

Choose a reason for hiding this comment

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

The ByteCounter does not fit into any of our 4 categories, so it can be put directly in the include/ folder.

@jmeintrup jmeintrup closed this Dec 5, 2018
@jmeintrup jmeintrup deleted the refactoring branch February 1, 2019 08:51
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.

3 participants