| Package | Description |
|---|---|
| com.mastfrog.graph | |
| com.mastfrog.graph.algorithm |
| Modifier and Type | Method and Description |
|---|---|
IntGraph |
IntGraphBuilder.build() |
static IntGraph |
IntGraph.create(Bits[] references) |
static IntGraph |
IntGraph.create(Bits[] reverseReferences,
Bits[] references) |
static IntGraph |
IntGraph.create(BitSet[] references) |
static IntGraph |
IntGraph.create(BitSet[] reverseReferences,
BitSet[] references) |
static IntGraph |
IntGraph.load(ObjectInputStream objectInputStream) |
IntGraph |
PairSet.toGraph() |
| Modifier and Type | Method and Description |
|---|---|
static StringGraph |
StringGraph.create(IntGraph graph,
String[] sortedArray)
Create a graph from the passed bit set graph, and a pre-sorted array of
unique strings where integer nodes in the passed graph correspond to
offsets within the array.
|
| Modifier and Type | Method and Description |
|---|---|
double[] |
PageRank.apply(IntGraph graph) |
double[] |
EigenvectorCentrality.apply(IntGraph graph) |
abstract R |
Algorithm.apply(IntGraph graph) |
<T> List<Score<T>> |
RankingAlgorithm.apply(IntGraph graph,
IntFunction<T> toObject) |
Copyright © 2010–2019 Mastfrog Technologies. All rights reserved.