forked from rcpoison/jgrapht
-
Notifications
You must be signed in to change notification settings - Fork 6
implement a random graph generator : layer by layer method #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
Open
huggingstar
wants to merge
2,668
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 hidden or 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
* 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
* Added first version of default methods in graph interface for "big" graph support. * Added two versions for numberOfEdges and numberOfVertices * Make all new methods accessible using a single iterables() method * Added forgotten classes * Added default implementations for all methods in GraphIterables * Fix for identation * Added graph iterables using specifics (without any optimization yet) and removed use if iterables() across the codebase. * Fixed styling issues * Cleanup * Removed specifics graph iterable until it is really needed. * Improved javadoc of new interface * Enhanced GraphIterables with live views * Moved `LiveIterableWrapper` to utils and added default constructors.
- Fix addEdge(V source, V target, E edge, double weight) to add vertices
* Create CODE_OF_CONDUCT.md
* Add documentation for thread-safety, and update documentation for graph equality. * Avoid fragile link.
* 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
* Version upgrades * Bumped antlr to 4.13.2
* Boilerplate for steiner tree * Added algorithm KouMarkowskyBermanAlgorithm * Changed vertex names * Fixed example * KouMarkowskyBerman cleanups * Update KouMarkowskyBermanAlgorithmTest.java * Update KouMarkowskyBermanAlgorithmTest.java * Minor test fixes * Added module export * Fixed styling problems * Improved leaf pruning --------- Co-authored-by: Lena2000sophia <[email protected]>
* Added greedy and naive modularity algorithms * Remove system out statements * Changed test imports * Changed test imports * Fixed documentation in greedy modularity algorithms.
An idea of this optimisation is adding a special case when subgroup has vertex set which is smaller than base's edge set. For example when you have huge graph which very each vertex has a few connection, this optimisation allows to not wols across all edges, just across all desired vertexes.
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.