Uses of Interface
com.gengoai.graph.Graph
-
Packages that use Graph Package Description com.gengoai.graph com.gengoai.graph.algorithms com.gengoai.graph.clustering com.gengoai.graph.io com.gengoai.graph.scoring -
-
Uses of Graph in com.gengoai.graph
Classes in com.gengoai.graph that implement Graph Modifier and Type Class Description class
DefaultGraphImpl<V>
Methods in com.gengoai.graph that return Graph Modifier and Type Method Description static <V> Graph<V>
Graph. create(EdgeFactory<V> edgeFactory)
Creates a graph with verticesV
and edges defined by the givenEdgeFactory
.static <V> Graph<V>
Graph. directed()
Creates a graph with verticesV
and edges defined byDirectedEdgeFactory
.static <V> Graph<V>
Graph. undirected()
Creates a graph with verticesV
and edges defined byUndirectedEdgeFactory
.Methods in com.gengoai.graph with parameters of type Graph Modifier and Type Method Description default void
Graph. merge(Graph<V> other)
Merges another graph into this one ignoring any duplicate edgesdefault void
Graph. merge(Graph<V> other, EdgeMergeFunction<V> mergeFunction)
Merges another graph into this one combining edges using the supplied merge function -
Uses of Graph in com.gengoai.graph.algorithms
Methods in com.gengoai.graph.algorithms that return Graph Modifier and Type Method Description protected Graph<V>
AbstractGraphTraversal. getGraph()
Constructors in com.gengoai.graph.algorithms with parameters of type Graph Constructor Description AbstractGraphTraversal(Graph<V> graph)
Instantiates a new Abstract graph traversal.BreadthFirstSearch(Graph<V> graph)
Instantiates a new BreadthFirstSearch.BreadthFirstTraversal(Graph<V> graph)
Instantiates a new Breadth first visitor.DepthFirstSearch(Graph<V> graph)
Instantiates a new DepthFirstSearch.DepthFirstTraversal(Graph<V> graph)
Instantiates a new Depth first visitor.DijkstraShortestPath(Graph<V> graph)
Instantiates a new Dijkstra shortest path.DijkstraShortestPath(Graph<V> graph, boolean treatUndirected)
Instantiates a new Dijkstra shortest path.RandomWalk(Graph<V> graph)
Default Constructor testPath(source);RandomWalk(Graph<V> graph, boolean isWeighted)
Default Constructor -
Uses of Graph in com.gengoai.graph.clustering
Methods in com.gengoai.graph.clustering with parameters of type Graph Modifier and Type Method Description List<Set<V>>
ChineseWhispers. cluster(Graph<V> g)
List<Set<V>>
Clusterer. cluster(Graph<V> g)
Clusters the vertices of the given graph and returns a list of clusters (sets).List<Set<V>>
ConnectedComponents. cluster(Graph<V> g)
List<Set<V>>
StronglyConnectedComponents. cluster(Graph<V> g)
-
Uses of Graph in com.gengoai.graph.io
Methods in com.gengoai.graph.io that return Graph Modifier and Type Method Description Graph<V>
GraphJson. read(Resource location)
Graph<V>
GraphReader. read(Resource location)
Reads a graph in from a resourceMethods in com.gengoai.graph.io with parameters of type Graph Modifier and Type Method Description default void
GraphRenderer. render(Graph<V> graph, Resource location)
Renders the given graph to the give location, using the defined vertex and edge encoders.void
GraphRenderer. render(Graph<V> graph, Resource location, Multimap<String,String> parameters)
Renders the given graph to the give location, using the defined vertex and edge encoders.void
GraphViz. render(Graph<V> graph, Resource location, Multimap<String,String> parameters)
void
GraphJson. write(Graph<V> graph, Resource location, Multimap<String,String> parameters)
void
GraphViz. write(Graph<V> graph, Resource location, Multimap<String,String> parameters)
void
GraphVizWriter. write(@NonNull Graph<V> graph, @NonNull Resource location)
default void
GraphWriter. write(Graph<V> graph, Resource location)
Writes the given graph to the give location in this format, using the defined vertex and edge encoders.void
GraphWriter. write(Graph<V> graph, Resource location, Multimap<String,String> parameters)
Writes the given graph to the give location in this format, using the defined vertex and edge encoders. -
Uses of Graph in com.gengoai.graph.scoring
Methods in com.gengoai.graph.scoring with parameters of type Graph Modifier and Type Method Description List<Map.Entry<V,Double>>
AbstractVertexScorer. rank(Graph<V> g)
List<Map.Entry<V,Double>>
VertexScorer. rank(Graph<V> g)
Ranks the vertices based on the scoreCounter<V>
DegreeScorer. score(Graph<V> g)
Counter<V>
PageRank. score(Graph<V> g)
Counter<V>
RandomWalkScorer. score(Graph<V> g)
Counter<V>
VertexScorer. score(Graph<V> g)
Scores the vertices in the graph
-