forked from rcpoison/jgrapht
-
Notifications
You must be signed in to change notification settings - Fork 6
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
implement a random graph generator : layer by layer method #6
Open
huggingstar
wants to merge
2,655
commits into
lingeringsocket:master
Choose a base branch
from
jgrapht:master
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
huggingstar
commented
Feb 11, 2018
* Implemented BK flow algorithm * Corrected the typo
* implemented transit node routing * prereview1 * remove unrelated changes * review 1 * proper code formatting in CHManyToManyShortestPaths * review 2 * lazy computation of TransitNodeRouting in TNRShortestPath; made TransitNodeRouting package-private * review 3 * review 4
* Added new random walk iterator * Replaced with new iterator * Deprecated old class * Fixed typos
* added ZhangShasha tree edit distance algorithm * decumentation improvements * added package info * review 1
* Enhanced DOTImporter to allow creating edges and vertices with all attributes * Fixed missing update * Fixed typo
#1187) Bumps [org.apache.maven.plugins:maven-javadoc-plugin](https://github.com/apache/maven-javadoc-plugin) from 3.5.0 to 3.6.3. - [Release notes](https://github.com/apache/maven-javadoc-plugin/releases) - [Commits](apache/maven-javadoc-plugin@maven-javadoc-plugin-3.5.0...maven-javadoc-plugin-3.6.3) --- updated-dependencies: - dependency-name: org.apache.maven.plugins:maven-javadoc-plugin dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
…1188) Bumps [org.apache.maven.plugins:maven-shade-plugin](https://github.com/apache/maven-shade-plugin) from 3.4.1 to 3.5.1. - [Release notes](https://github.com/apache/maven-shade-plugin/releases) - [Commits](apache/maven-shade-plugin@maven-shade-plugin-3.4.1...maven-shade-plugin-3.5.1) --- updated-dependencies: - dependency-name: org.apache.maven.plugins:maven-shade-plugin dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
….5 (#1190) Bumps [org.apache.maven.plugins:maven-failsafe-plugin](https://github.com/apache/maven-surefire) from 3.2.3 to 3.2.5. - [Release notes](https://github.com/apache/maven-surefire/releases) - [Commits](apache/maven-surefire@surefire-3.2.3...surefire-3.2.5) --- updated-dependencies: - dependency-name: org.apache.maven.plugins:maven-failsafe-plugin dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps `maven-surefire-plugin.version` from 3.2.3 to 3.2.5. Updates `org.apache.maven.surefire:surefire-junit-platform` from 3.2.3 to 3.2.5 Updates `org.apache.maven.plugins:maven-surefire-plugin` from 3.2.3 to 3.2.5 - [Release notes](https://github.com/apache/maven-surefire/releases) - [Commits](apache/maven-surefire@surefire-3.2.3...surefire-3.2.5) --- updated-dependencies: - dependency-name: org.apache.maven.surefire:surefire-junit-platform dependency-type: direct:production update-type: version-update:semver-patch - dependency-name: org.apache.maven.plugins:maven-surefire-plugin dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
….0 (#1192) Bumps [org.apache.maven.plugins:maven-assembly-plugin](https://github.com/apache/maven-assembly-plugin) from 3.5.0 to 3.6.0. - [Commits](apache/maven-assembly-plugin@maven-assembly-plugin-3.5.0...maven-assembly-plugin-3.6.0) --- updated-dependencies: - dependency-name: org.apache.maven.plugins:maven-assembly-plugin dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps org.apache.felix:maven-bundle-plugin from 5.1.8 to 5.1.9. --- updated-dependencies: - dependency-name: org.apache.felix:maven-bundle-plugin dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Added a variable defining the literal "isFeasiblePair" instead of writing the literal several times
* Restore deque interface This reverts commit b627ca6 (#1159). * Implement DoublyLinkedList.reversed() Ref: #1154 * Move anonymous inner class to ReversedDoublyLinkedList class * Block inverts in the reversed view * Make iterators from reversed view unmodifiable * Block node modification operations * Add basic tests for reversed view * Make iterator impl work with reversed view * Remove redundant override * Add more iterator tests * Avoid using size variable for iterator creation * Fix incorrect test design * Make Surefire happier with test discovery * Add common ancestor for list nodes * Update Javadoc * Document exceptions for list nodes * Reorder methods in AbstractListNode * Move node value to the AbstractListNode * Hide internal methods in implementation * Minimize amount of casting involved with ListNode * Make ListNode an abstract class * Adjust setter method visibilities of list nodes * Test that DoublyLinkedList implements both List and Deque Ref: #1169 (review)
* first version * details implementation changed to NI Previous implementation was based on the jgrapht implementation of Nearest Neighbor. Now it was changed and now is based on Nearest Insertion. * unit tests added * coding conventions * unit tests updated to jUnit5 * swap functions moved to ArrayUtil * headers updated * Apply suggestions from code review Co-authored-by: Sung Ho Yoon <[email protected]> --------- Co-authored-by: John Sichi <[email protected]> Co-authored-by: Sung Ho Yoon <[email protected]>
* Use latest build of MathJax v2 * Remove Javadoc build workaround Issue resolved in v3.1.0 * Use same versioning key for Surefire and Failsafe * Add Java version property in pom
* Update README - Fix broken link to CI status badge - Update dependency descriptions - Update links to wiki pages - Update links to licenses * Add module Javadocs * Javadoc: Document exceptions better * Clarify exception Javadoc * Further improve exception Javadoc
* Block edge weight modification in unmodifiable view * Add tests for unmodiable view
Modify the parsing rules for DOT language according to https://graphviz.org/doc/info/lang.html. In summary, I modify three files: 1. Modify the DOT.g4 to enable JGraphT identify legal text in DOT language which is omitted in current verions 2. Modify the DOTEventDerivenImporter to update the lookupMap rule to parse corresponding element. 3. Update existing unit test in DOTImporter2Test to obey the current grammar, and add a new unit test.
* Add license header to module-info * Add license headers to package-info * Fix incorrect license header The original header contained the year added, but not the current year. This commit fixes it. * Add license header to org.jgrapht.graph.concurrent package-info * Add license header to org.jgrapht.generate.netgen package-info * Add license header to org.jgrapht.alg.flow.mincost package-info * Add license header to org.jgrapht.alg.drawing package-info * Add license header to org.jgrapht.alg.scoring package-info * Add license header to org.jgrapht.alg.matching.blossom.v5 package-info * Add license header to org.jgrapht.alg.matching package-info * Add license header to org.jgrapht.alg.spanning package-info * Add license header to org.jgrapht.alg.similarity package-info * Add license header to org.jgrapht.alg.color package-info * Add license header to org.jgrapht.alg.linkprediction package-info * Add license header to org.jgrapht.alg.transform package-info * Add license header to org.jgrapht.alg.tour package-info * Add license header to org.jgrapht.alg.independentset package-info * Add license header to remaining algorithm package infos * Add license header to nio packages * Add license header to remaining nio packages * Add license header to opt packages * Add license header to org.jgrapht.graph.guava package-info * Add license header to Unimi dsi packages * Enable Checkstyle on package-info * Enable checks for module-info files * Disable checks for module-info files This reverts commit bd4bdd9.
* Update existing Javadoc - Add undocumented exception conditions - Cleanup Javadoc syntax * Update Javadoc for NotDirectedAcyclicGraphException * Correctly document CrossComponentIterator behavior Ref: #1223 * Clarify exception for CrossComponentIterator * Update graph iterator Javadoc * Move exception description * Add missing exception description * Document exceptions for Guava adapters
* Clone: Include caught exception as cause * Make removeAllEdges(E[]) use the collection version * Ensure that TraversalListener extends java.util.Listener * Mark WeightCombiner as a functional interface * Make ArrayUtil.reverse rely on swap * Add explicit tests for null at beginning of method * Remove unnecessary warning suppression * Cleanup JUnit Assertions imports The JUnit Team recommends the assertions to used via static imports.
* Uses BigDecimal to calculate modified weights in order to avoid floating point precision errors * Adds unit test covering bug scenatio
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.