|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectit.unimi.dsi.webgraph.Check
public class Check
Static methods that check properties of immutable graphs.
Method Summary | |
---|---|
static void |
main(String[] args)
|
static boolean |
symmetry(ImmutableGraph graph)
Check whether a graph is symmetric using Transform.transpose(ImmutableGraph, ProgressLogger) . |
static boolean |
symmetry(ImmutableGraph graph,
ProgressLogger pl)
Check whether a graph is symmetric using Transform.transpose(ImmutableGraph, ProgressLogger) . |
static boolean |
symmetryOffline(ImmutableGraph graph,
int batchSize)
Check whether a graph is symmetric using Transform.transposeOffline(ImmutableGraph, int, File, ProgressLogger) . |
static boolean |
symmetryOffline(ImmutableGraph graph,
int batchSize,
File tempDir)
Check whether a graph is symmetric using Transform.transposeOffline(ImmutableGraph, int, File, ProgressLogger) . |
static boolean |
symmetryOffline(ImmutableGraph graph,
int batchSize,
File tempDir,
ProgressLogger pl)
Check whether a graph is symmetric using Transform.transposeOffline(ImmutableGraph, int, File, ProgressLogger) . |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static boolean symmetry(ImmutableGraph graph)
Transform.transpose(ImmutableGraph, ProgressLogger)
.
graph
- a graph.
graph
is symmetric.public static boolean symmetry(ImmutableGraph graph, ProgressLogger pl)
Transform.transpose(ImmutableGraph, ProgressLogger)
.
graph
- a graph.pl
- passed to Transform.transpose(ImmutableGraph, ProgressLogger)
.
graph
is symmetric.public static boolean symmetryOffline(ImmutableGraph graph, int batchSize) throws IOException
Transform.transposeOffline(ImmutableGraph, int, File, ProgressLogger)
.
graph
- a graph.batchSize
- passed to Transform.transposeOffline(ImmutableGraph, int, File, ProgressLogger)
.
graph
is symmetric.
IOException
public static boolean symmetryOffline(ImmutableGraph graph, int batchSize, File tempDir) throws IOException
Transform.transposeOffline(ImmutableGraph, int, File, ProgressLogger)
.
graph
- a graph.batchSize
- passed to Transform.transposeOffline(ImmutableGraph, int, File, ProgressLogger)
.tempDir
- passed to Transform.transposeOffline(ImmutableGraph, int, File, ProgressLogger)
.
graph
is symmetric.
IOException
public static boolean symmetryOffline(ImmutableGraph graph, int batchSize, File tempDir, ProgressLogger pl) throws IOException
Transform.transposeOffline(ImmutableGraph, int, File, ProgressLogger)
.
graph
- a graph.batchSize
- passed to Transform.transposeOffline(ImmutableGraph, int, File, ProgressLogger)
.tempDir
- passed to Transform.transposeOffline(ImmutableGraph, int, File, ProgressLogger)
.pl
- passed to Transform.transposeOffline(ImmutableGraph, int, File, ProgressLogger)
.
graph
is symmetric.
IOException
public static void main(String[] args) throws IOException, IllegalArgumentException, SecurityException, IllegalAccessException, InvocationTargetException, NoSuchMethodException, JSAPException
IOException
IllegalArgumentException
SecurityException
IllegalAccessException
InvocationTargetException
NoSuchMethodException
JSAPException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |