public interface StringGraph extends ObjectGraph<String>
| Modifier and Type | Method and Description |
|---|---|
static 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.
|
static StringGraph |
load(ObjectInput in) |
void |
save(ObjectOutput out)
Optimized serialization support.
|
apply, bottomLevelNodes, byClosureSize, byReverseClosureSize, children, closureOf, closureSize, disjunctionOfClosureOfHighestRankedNodes, distance, edgeStrings, eigenvectorCentrality, inboundReferenceCount, isUnreferenced, omitting, outboundReferenceCount, pageRank, parents, pathsBetween, reverseClosureOf, reverseClosureSize, size, toIntGraph, toNode, toNodeId, topLevelOrOrphanNodes, walk, walk, walkUpwardsstatic StringGraph create(IntGraph graph, String[] sortedArray)
graph - A graphsortedArray - An array of strings matching the requirements stated
abovevoid save(ObjectOutput out) throws IOException
save in interface ObjectGraph<String>out - The outputIOException - If something goes wrongstatic StringGraph load(ObjectInput in) throws IOException, ClassNotFoundException
IOExceptionClassNotFoundExceptionCopyright © 2010–2020 Mastfrog Technologies. All rights reserved.