public class RMATGenerator
extends org.apache.hadoop.conf.Configured
implements org.apache.hadoop.util.Tool
Modifier and Type | Class and Description |
---|---|
static class |
RMATGenerator.RMATGeneratorMapper |
Constructor and Description |
---|
RMATGenerator() |
Modifier and Type | Method and Description |
---|---|
static void |
main(java.lang.String[] args)
The main entry point
|
int |
run(java.lang.String[] args)
Submit the hadoop job of RMAT generator.
|
public static void main(java.lang.String[] args) throws java.lang.Exception
args
- [0]: level of recursion. [1]: the number of edges. [2]: degree of parallelism (the
number of tasks to run). [3], [4], [5], [6]: probabilities of quarters. [7]: noise
for smoothing. [8]: output file pathjava.lang.Exception
public int run(java.lang.String[] args) throws java.lang.Exception
run
in interface org.apache.hadoop.util.Tool
args
- [0]: level of recursion. [1]: the number of edges. [2]: degree of parallelism (the
number of tasks to run). [3], [4], [5], [6]: probabilities of quarters. [7]: noise
for smoothing. [8]: output file pathjava.lang.Exception
- by hadoop