public class GraphTransformer<T extends SequenceElement> extends java.lang.Object implements java.lang.Iterable<Sequence<T>>
Modifier and Type | Class and Description |
---|---|
static class |
GraphTransformer.Builder<T extends SequenceElement> |
Modifier and Type | Field and Description |
---|---|
protected java.util.concurrent.atomic.AtomicInteger |
counter |
protected LabelsProvider<T> |
labelsProvider |
protected static org.slf4j.Logger |
log |
protected boolean |
shuffle |
protected IGraph<T,?> |
sourceGraph |
protected VocabCache<T> |
vocabCache |
protected GraphWalker<T> |
walker |
Modifier | Constructor and Description |
---|---|
protected |
GraphTransformer() |
Modifier and Type | Method and Description |
---|---|
protected void |
initialize()
This method handles required initialization for GraphTransformer
|
java.util.Iterator<Sequence<T>> |
iterator() |
protected IGraph<T extends SequenceElement,?> sourceGraph
protected GraphWalker<T extends SequenceElement> walker
protected LabelsProvider<T extends SequenceElement> labelsProvider
protected java.util.concurrent.atomic.AtomicInteger counter
protected boolean shuffle
protected VocabCache<T extends SequenceElement> vocabCache
protected static final org.slf4j.Logger log
protected void initialize()
public java.util.Iterator<Sequence<T>> iterator()
iterator
in interface java.lang.Iterable<Sequence<T extends SequenceElement>>