Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/apache/commons-graph
/ functions
Functions
838 in github.com/apache/commons-graph
⨍
Functions
838
◇
Types & classes
179
↓ 5 callers
Method
equals
{@inheritDoc}
src/main/java/org/apache/commons/graph/model/InMemoryPath.java:145
↓ 5 callers
Method
getDegree
The degree (or valency) of a vertex of a {@link Graph} is the number of edges incident to the vertex. <b>NOTE</b>: implementors have to take in consi
src/main/java/org/apache/commons/graph/Graph.java:79
↓ 5 callers
Method
hasWeight
Checks if there is a weight related to the input {@code Vertex}. @param vertex the input {@code Vertex} @return true if there is a weight for the inp
src/main/java/org/apache/commons/graph/spanning/ShortestEdges.java:164
↓ 5 callers
Method
hashCode
{@inheritDoc}
src/main/java/org/apache/commons/graph/model/BaseGraph.java:226
↓ 5 callers
Method
includingAllVertices
Find all the connected components included into the specified graph @return the connectivity algorithm selector.
src/main/java/org/apache/commons/graph/connectivity/ConnectivityBuilder.java:36
↓ 5 callers
Method
iterator
()
src/main/java/org/apache/commons/graph/coloring/UncoloredOrderedVertices.java:62
↓ 5 callers
Method
offer
{@inheritDoc}
src/main/java/org/apache/commons/graph/collections/FibonacciHeap.java:519
↓ 5 callers
Method
removeEdge
Removed the edge from the {@code MutableGraph} object. <b>NOTE</b>: implementors have to take in consideration throwing a {@link GraphException} if a
src/main/java/org/apache/commons/graph/MutableGraph.java:62
↓ 4 callers
Method
addEdgeProperty
( String propertyName, Mapper<E, ?> edgeProperty )
src/main/java/org/apache/commons/graph/export/AbstractExporter.java:65
↓ 4 callers
Method
applyingDepthFirstSearch
Depth-first search algorithm implementation. @return the depth first search tree
src/main/java/org/apache/commons/graph/visit/VisitAlgorithmsSelector.java:53
↓ 4 callers
Method
applyingEdmondsKarp
Calculates the maximum flow using the Edmonds-Karp algorithm. @param <WO> the type of weight operations @param weightOperations the class responsible
src/main/java/org/apache/commons/graph/flow/MaxFlowAlgorithmSelector.java:41
↓ 4 callers
Method
buildWeightedGraphConnections
()
src/test/java/org/apache/commons/graph/model/GraphSerializationTestCase.java:74
↓ 4 callers
Method
equals
{@inheritDoc}
src/test/java/org/apache/commons/graph/model/BaseLabeledEdge.java:44
↓ 4 callers
Method
equals
{@inheritDoc}
src/test/java/org/apache/commons/graph/model/BaseLabeledVertex.java:44
↓ 4 callers
Method
find
Performs the @code{ find} operation by applying the <i>path compression</i>. @param node the input DisjointSet node for the @code{ find} operation @r
src/main/java/org/apache/commons/graph/collections/DisjointSet.java:44
↓ 4 callers
Method
getLabel
{@inheritDoc}
src/test/java/org/apache/commons/graph/model/BaseLabeledEdge.java:65
↓ 4 callers
Method
getLowLink
()
src/main/java/org/apache/commons/graph/scc/TarjanVertexMetaInfo.java:36
↓ 4 callers
Method
getWriter
()
src/main/java/org/apache/commons/graph/export/AbstractExporter.java:98
↓ 4 callers
Method
hasShortestDistance
Checks if there is a shortest distance between source and target. @param source The source Vertex @param target The target Vertex @return Returns tru
src/main/java/org/apache/commons/graph/shortestpath/AllVertexPairsShortestPath.java:132
↓ 4 callers
Method
moveToRoot
Moves the target node in the {@code H} root nodes. @param node the node has to be moved in the {@code H} root nodes @see #add(Object) @see #consolida
src/main/java/org/apache/commons/graph/collections/FibonacciHeap.java:488
↓ 4 callers
Method
setMarked
Flags the current node as marked. @param marked the current node mark status.
src/main/java/org/apache/commons/graph/collections/FibonacciHeapNode.java:205
↓ 3 callers
Method
addEdge
( BaseLabeledVertex src, BaseLabeledVertex dst )
src/test/java/org/apache/commons/graph/shortestpath/BidirDijkstraTestCase.java:73
↓ 3 callers
Method
addEdge
( BaseLabeledVertex src, BaseLabeledVertex dst )
src/benchmarks/java/org/apache/commons/graph/shortestpath/UniVsBiDijkstraBenchmarkTestCase.java:96
↓ 3 callers
Method
addEdge
( BaseLabeledVertex src, BaseLabeledVertex dst )
src/benchmarks/java/org/apache/commons/graph/spanning/MinimumSpanningTreeBenchmarkTestCase.java:76
↓ 3 callers
Method
addShortestDistance
@param source @param target @param distance
src/main/java/org/apache/commons/graph/shortestpath/AllVertexPairsShortestPath.java:60
↓ 3 callers
Method
addVertex
Adds a feature to the Vertex attribute of the Contract object
base/src/main/java/org/apache/commons/graph/contract/Contract.java:65
↓ 3 callers
Method
addVertexProperty
( String propertyName, Mapper<V, ?> vertexProperty )
src/main/java/org/apache/commons/graph/export/AbstractExporter.java:70
↓ 3 callers
Method
applying
Just calculates the SCC depending on the selected algorithm. @param algorithm @return
src/main/java/org/apache/commons/graph/scc/DefaultSccAlgorithmSelector.java:55
↓ 3 callers
Method
applyingBreadthFirstSearch
Breadth-first search algorithm implementation. @return the breadth first search tree
src/main/java/org/apache/commons/graph/visit/VisitAlgorithmsSelector.java:39
↓ 3 callers
Method
buildSudokuGraph
Creates a graph that contains all classic sudoku contratints. @return
src/test/java/org/apache/commons/graph/utils/GraphUtils.java:166
↓ 3 callers
Method
compare
{@inheritDoc}
src/main/java/org/apache/commons/graph/spanning/ShortestEdges.java:90
↓ 3 callers
Method
containsVertex
{@inheritDoc}
src/main/java/org/apache/commons/graph/model/BaseGraph.java:95
↓ 3 callers
Method
export
Export the graph in DOT or GraphML format. @param <V> The Graph vertices type @param <E> The Graph edges type @param <G> The Graph type @param graph
src/main/java/org/apache/commons/graph/CommonsGraph.java:94
↓ 3 callers
Method
getDegree
{@inheritDoc}
src/main/java/org/apache/commons/graph/model/DirectedMutableGraph.java:93
↓ 3 callers
Method
getGraph
()
src/main/java/org/apache/commons/graph/export/AbstractExporter.java:93
↓ 3 callers
Method
getInDegree
{@inheritDoc}
src/main/java/org/apache/commons/graph/model/DirectedMutableGraph.java:109
↓ 3 callers
Method
getInbound
Returns the set of edges which are inbound to the vertex. @param v the vertex which inbound vertexs have to be returned @return the set of vertexs wh
src/main/java/org/apache/commons/graph/DirectedGraph.java:42
↓ 3 callers
Method
getIndexedEdges
Returns the {@code Map} of indexed edges. @return the {@link Map} of indexed edges
src/main/java/org/apache/commons/graph/model/BaseGraph.java:176
↓ 3 callers
Method
getIndexedVertices
Returns the {@code Map} of indexed vertices. @return the indexed vertices {@link Map}
src/main/java/org/apache/commons/graph/model/BaseGraph.java:186
↓ 3 callers
Method
getMetaInfo
( V vertex, Map<V, TarjanVertexMetaInfo> verticesMetaInfo )
src/main/java/org/apache/commons/graph/scc/TarjanAlgorithm.java:44
↓ 3 callers
Method
getNode
Retrieves the {@code DisjointSetNode} from the {@link #disjointSets}, if already previously set, creates a new one and push it in {@link #disjointSets
src/main/java/org/apache/commons/graph/collections/DisjointSet.java:80
↓ 3 callers
Method
getOutDegree
For a vertex, the number of tail endpoints adjacent to a node is called the outdegree. @param v the vertex which indegree has to be returned. @return
src/main/java/org/apache/commons/graph/DirectedGraph.java:66
↓ 3 callers
Method
getOutDegree
{@inheritDoc}
src/main/java/org/apache/commons/graph/model/DirectedMutableGraph.java:125
↓ 3 callers
Method
getTarget
Returns the target of the path. @return the target of the path.
src/main/java/org/apache/commons/graph/Path.java:45
↓ 3 callers
Method
getWeight
Returns the distance related to input vertex, or null if it does not exist. <b>NOTE</b>: the method {@link hasWeight} should be used first to check i
src/main/java/org/apache/commons/graph/spanning/ShortestEdges.java:141
↓ 3 callers
Method
includingVertices
Specifies the set of vertices included into a connected component. @param vertices the set of vertices included into a connected component. @return t
src/main/java/org/apache/commons/graph/connectivity/ConnectivityBuilder.java:44
↓ 3 callers
Method
populate
Allows populate the given {@link MutableGraph}. @param <V> The Graph vertices type @param <E> The Graph edges type @param <G> The Graph type @param g
src/main/java/org/apache/commons/graph/CommonsGraph.java:212
↓ 3 callers
Method
remove
()
src/main/java/org/apache/commons/graph/coloring/UncoloredOrderedVertices.java:104
↓ 3 callers
Method
searchRecursive
Searches a directed graph in iterative depth-first order, while adding the visited vertices in a recursive manner, i.e. a vertex is added to the resul
src/main/java/org/apache/commons/graph/scc/KosarajuSharirAlgorithm.java:178
↓ 3 callers
Method
setLowLink
( int lowLink )
src/main/java/org/apache/commons/graph/scc/TarjanVertexMetaInfo.java:51
↓ 3 callers
Method
synchronize
Returns a synchronized (thread-safe) {@link DirectedGraph} backed by the specified Graph. It is imperative that the user manually synchronize on the
src/main/java/org/apache/commons/graph/CommonsGraph.java:241
↓ 3 callers
Method
withConnections
Connects the graph. @param graphConnection the {@link GraphConnection} @return the {@link org.apache.commons.graph.Graph} built from the connections.
src/main/java/org/apache/commons/graph/builder/LinkedConnectionBuilder.java:40
↓ 2 callers
Method
addConnection
( V head, E edge, V tail )
src/main/java/org/apache/commons/graph/model/InMemoryPath.java:77
↓ 2 callers
Method
addConnectionInHead
{@inheritDoc}
src/main/java/org/apache/commons/graph/model/InMemoryWeightedPath.java:70
↓ 2 callers
Method
addEdgeIgnoringExceptions
( V vertex, MutableSpanningTree<V, WE, W> spanningTree )
src/main/java/org/apache/commons/graph/spanning/ShortestEdges.java:46
↓ 2 callers
Method
addPredecessor
Add an edge in the predecessor list associated to the input vertex. @param tail the predecessor vertex @param head the edge that succeeds to the inpu
src/main/java/org/apache/commons/graph/spanning/ShortestEdges.java:82
↓ 2 callers
Method
addShortestPath
@param source @param target @param weightedPath
src/main/java/org/apache/commons/graph/shortestpath/AllVertexPairsShortestPath.java:74
↓ 2 callers
Method
applyHeuristic
Applies the <i>h(x)</i> "heuristic estimate" of the distance from the start to the goal. @param current the current visited Vertex in the Graph. @par
src/main/java/org/apache/commons/graph/shortestpath/Heuristic.java:39
↓ 2 callers
Method
applyingFloydWarshall
Calculates all vertices shortest paths using the FloydWarshall's algorithm. @param <WO> the type of weight operations @param weightOperations the wei
src/main/java/org/apache/commons/graph/shortestpath/PathSourceSelector.java:40
↓ 2 callers
Method
applyingSearch
A generalized graph search algorithm to be used to implement depth-first and breadth-first searches. Depending on the used collection, the algorithm t
src/main/java/org/apache/commons/graph/visit/DefaultVisitAlgorithmsSelector.java:108
↓ 2 callers
Method
buildBipartedGraph
Create a Biparted graph @param nVertices number of vertices @param g graph
src/test/java/org/apache/commons/graph/utils/GraphUtils.java:46
↓ 2 callers
Method
buildCrownGraph
( int nVertices, UndirectedMutableGraph<BaseLabeledVertex, BaseLabeledEdge> g )
src/test/java/org/apache/commons/graph/utils/GraphUtils.java:131
↓ 2 callers
Method
buildGraphConnections
()
src/test/java/org/apache/commons/graph/model/GraphSerializationTestCase.java:53
↓ 2 callers
Method
calculateEFactor
( double qA, double qB )
src/main/java/org/apache/commons/graph/elo/DefaultKFactorBuilder.java:36
↓ 2 callers
Method
calculateQFactor
( P player )
src/main/java/org/apache/commons/graph/elo/DefaultKFactorBuilder.java:52
↓ 2 callers
Method
checkArgument
Ensures the truth of an expression involving one or more parameters to the calling method. @param expression a boolean expression @param errorMessage
src/main/java/org/apache/commons/graph/utils/Assertions.java:49
↓ 2 callers
Method
compare
Compare the given objects according to the specified comparator if not null, according to their natural ordering otherwise. @param o1 the first {@lin
src/main/java/org/apache/commons/graph/collections/FibonacciHeap.java:214
↓ 2 callers
Method
element
{@inheritDoc}
src/main/java/org/apache/commons/graph/collections/FibonacciHeap.java:414
↓ 2 callers
Method
enlistProperty
( String name, Class<?> type, String element )
src/main/java/org/apache/commons/graph/export/GraphMLExporter.java:167
↓ 2 callers
Method
equals
{@inheritDoc}
src/main/java/org/apache/commons/graph/VertexPair.java:60
↓ 2 callers
Method
findShortestPathAndVerify
( Graph<BaseLabeledVertex, BaseLabeledWeightedEdge<Double>> weighted )
src/test/java/org/apache/commons/graph/shortestpath/FloydWarshallTestCase.java:45
↓ 2 callers
Method
getAllEdges
Return the edge {@link Set} @return the edge {@link Set}
src/main/java/org/apache/commons/graph/model/BaseGraph.java:137
↓ 2 callers
Method
getExpandedVertexList
Performs a depth-first search to create a recursive vertex list. @param source the starting vertex @param visitedVertices a {@link Set} containing al
src/main/java/org/apache/commons/graph/scc/KosarajuSharirAlgorithm.java:67
↓ 2 callers
Method
getIndex
()
src/main/java/org/apache/commons/graph/scc/TarjanVertexMetaInfo.java:31
↓ 2 callers
Method
getRanking
Returns the ranking for the player @param player the player @return Returns the ranking for the player
src/main/java/org/apache/commons/graph/elo/PlayersRank.java:36
↓ 2 callers
Method
getWrapped
()
src/main/java/org/apache/commons/graph/flow/DefaultMaxFlowAlgorithmSelector.java:58
↓ 2 callers
Method
hasAugmentingPath
Checks whether there is an augmenting path in the flow network, given the current residual capacities. @return true if there is an augmenting path, f
src/main/java/org/apache/commons/graph/flow/FlowNetworkHandler.java:141
↓ 2 callers
Method
hasUndefinedIndex
()
src/main/java/org/apache/commons/graph/scc/TarjanVertexMetaInfo.java:41
↓ 2 callers
Method
increaseWeight
Increase the path weight with the weight of the input weighted edge. @param edge the edge whose weight is used to increase the path weight
src/main/java/org/apache/commons/graph/model/InMemoryWeightedPath.java:138
↓ 2 callers
Method
internalAddEdge
Performs the internal operations to add the edge @param head the head vertex @param e the edge @param tail the tail vertex
src/main/java/org/apache/commons/graph/model/BaseMutableGraph.java:111
↓ 2 callers
Method
internalPrimAssertion
( UndirectedMutableGraph<BaseLabeledVertex, BaseLabeledWeightedEdge<Double>> input,
src/test/java/org/apache/commons/graph/spanning/PrimTestCase.java:38
↓ 2 callers
Method
internalRemoveEdge
Performs the internal operations to remove the edge. @param head the head vertex @param e the edge @param tail the tail vertex
src/main/java/org/apache/commons/graph/model/BaseMutableGraph.java:131
↓ 2 callers
Method
inverse
Returns the inverse of the input element. @param element the input element @return the inverse of the input element
src/main/java/org/apache/commons/graph/weight/Monoid.java:56
↓ 2 callers
Method
newFlowNetwok
( final DirectedGraph<V, WE> graph,
src/main/java/org/apache/commons/graph/flow/DefaultMaxFlowAlgorithmSelector.java:163
↓ 2 callers
Method
onCompleted
()
src/main/java/org/apache/commons/graph/flow/FlowNetworkHandler.java:146
↓ 2 callers
Method
perform
()
src/main/java/org/apache/commons/graph/scc/SccAlgorithm.java:27
↓ 2 callers
Method
printVertexOrEdgeProperties
( Map<String, Object> properties )
src/main/java/org/apache/commons/graph/export/DotExporter.java:126
↓ 2 callers
Method
removeAll
{@inheritDoc}
src/main/java/org/apache/commons/graph/collections/FibonacciHeap.java:648
↓ 2 callers
Method
runRunnables
()
src/test/java/org/apache/commons/graph/utils/MultiThreadedTestRunner.java:55
↓ 2 callers
Method
setChild
Sets the reference to the first child node. @param child the reference to the first child node.
src/main/java/org/apache/commons/graph/collections/FibonacciHeapNode.java:185
↓ 2 callers
Method
size
Returns the number of vertices degrees in the graph. @return the number of vertices degrees in the graph.
src/main/java/org/apache/commons/graph/coloring/UncoloredOrderedVertices.java:117
↓ 2 callers
Method
toString
{@inheritDoc}
src/test/java/org/apache/commons/graph/model/BaseLabeledEdge.java:82
↓ 2 callers
Method
updateRanking
( P player, double kFactor, double sFactor, double eFactor )
src/main/java/org/apache/commons/graph/elo/DefaultKFactorBuilder.java:90
↓ 2 callers
Method
updateResidualNetworkWithCurrentAugmentingPath
Updates the residual capacities in the flow network, based on the most recent augmenting path.
src/main/java/org/apache/commons/graph/flow/FlowNetworkHandler.java:156
↓ 2 callers
Method
usingGraphMLFormat
Export Graphs in <a href="https://graphml.graphdrawing.org/">GraphML file format</a>. @return {@link GraphMLExporter} instance @throws GraphExportExc
src/main/java/org/apache/commons/graph/export/ExportSelector.java:46
↓ 2 callers
Method
withEdgeLabels
( Mapper<E, String> edgeLabels )
src/main/java/org/apache/commons/graph/export/DotExporter.java:180
↓ 2 callers
Method
withEdgeWeights
( Mapper<E, N> edgeWeights )
src/main/java/org/apache/commons/graph/export/DotExporter.java:186
↓ 2 callers
Method
withName
Use the given name when exporting the {@link org.apache.commons.graph.Graph} to a resource. @param name the name to identify the {@link org.apache.co
src/main/java/org/apache/commons/graph/export/NamedExportSelector.java:38
↓ 2 callers
Method
withVertexLabels
( Mapper<V, String> vertexLabels )
src/main/java/org/apache/commons/graph/export/DotExporter.java:192
↓ 1 callers
Method
addException
@param e
src/test/java/org/apache/commons/graph/utils/MultiThreadedTestRunner.java:50
← previous
next →
101–200 of 838, ranked by callers