public class GraphGenerator extends Object
Modifier and Type | Field and Description |
---|---|
static String |
FIRST_NODE_AS_ACTIVITY |
static String |
FIRST_NODE_AS_ENTITY |
static String |
TERM_NS |
static String |
TERM_PREFIX |
Constructor and Description |
---|
GraphGenerator(GeneratorDetails details,
ProvFactory pf) |
GraphGenerator(int noOfNodes,
int noOfEdges,
String firstNode,
String namespace,
ProvFactory pf) |
GraphGenerator(int noOfNodes,
int noOfEdges,
String firstNode,
String namespace,
ProvFactory pf,
Long seed,
String term) |
Modifier and Type | Method and Description |
---|---|
void |
addSeed(Document doc,
long seed,
String name) |
void |
generateElements() |
int |
getCount() |
GeneratorDetails |
getDetails() |
Document |
getDocument() |
long |
getSeed() |
public static final String TERM_PREFIX
public static final String TERM_NS
public static final String FIRST_NODE_AS_ACTIVITY
public static final String FIRST_NODE_AS_ENTITY
public GraphGenerator(GeneratorDetails details, ProvFactory pf)
public GraphGenerator(int noOfNodes, int noOfEdges, String firstNode, String namespace, ProvFactory pf)
public GraphGenerator(int noOfNodes, int noOfEdges, String firstNode, String namespace, ProvFactory pf, Long seed, String term)
public long getSeed()
public void generateElements()
public int getCount()
public Document getDocument()
public GeneratorDetails getDetails()
Copyright © 2016. All rights reserved.