Skip to content

Added an explanation to SkylineProblem #558

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

Merged
merged 9 commits into from
Oct 9, 2018
Merged

Added an explanation to SkylineProblem #558

merged 9 commits into from
Oct 9, 2018

Conversation

rmakynen
Copy link
Contributor

@rmakynen rmakynen commented Oct 8, 2018

There was no explanation for the SkylineProblem algorithm, which caused the user to have to google. Now there user gets a quick overview of what the algorithm does.

}

private void printPath()
{
Copy link
Member

Choose a reason for hiding this comment

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

The opening brace { and method declarations should be on the same line. Most of the standard source code for the Java API is written in this style.
eg.

public Vertex(String name) {
    this.name = name;
}

Copy link
Member

Choose a reason for hiding this comment

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

Also for the blocks inside a function.

if (this == this.previous) {
    System.out.printf("%s", this.name);
} 

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Updated brackets. New version here
Let me know if I missed any.

@rmakynen rmakynen changed the title Added and explanation to SkylineProblem Added an explanation to SkylineProblem Oct 9, 2018
@yanglbme yanglbme merged commit d33c84f into TheAlgorithms:master Oct 9, 2018
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