de.grogra.rgg.model
public class VVQueue extends java.lang.Object implements Queue
g of
VVQueue, one can write:
g <== comma-separated list of GRS operations;where the operations include
v [a b c]a b in v~a in va >> b in vp <+ a +> q| Modifier and Type | Class and Description |
|---|---|
static class |
VVQueue.Descriptor |
| Modifier and Type | Field and Description |
|---|---|
static QueueDescriptor<VVQueue> |
DESCRIPTOR |
| Modifier and Type | Method and Description |
|---|---|
void |
addNeighbor(GRSVertex neighbor) |
void |
clear()
Clears the queue.
|
void |
clearSegmentsToExclude(int[] segs) |
QueueDescriptor<?> |
getDescriptor()
Returns the descriptor which was used to create this queue.
|
void |
insertAfter(GRSVertex v,
GRSVertex old,
GRSVertex in) |
void |
insertBefore(GRSVertex v,
GRSVertex old,
GRSVertex in) |
void |
makeFollower(GRSVertex a,
GRSVertex b,
GRSVertex in) |
void |
markSegment(int n) |
VVQueue |
operator$shl(GRSVertex neighbor) |
boolean |
process(int[] segs)
Processes all queued tasks.
|
void |
remove(GRSVertex old,
GRSVertex in) |
void |
replace(GRSVertex subs,
GRSVertex old,
GRSVertex in) |
void |
resetToSegment(int n) |
VVQueue |
setNeighbors(GRSVertex vertex) |
void |
splitEdge(GRSVertex v,
GRSVertex p,
GRSVertex q) |
public static final QueueDescriptor<VVQueue> DESCRIPTOR
public void addNeighbor(GRSVertex neighbor)
public void clear()
QueueQueueCollection
in order to reuse the queue for a new transformation step.public void clearSegmentsToExclude(int[] segs)
clearSegmentsToExclude in interface Queuepublic QueueDescriptor<?> getDescriptor()
QueuegetDescriptor in interface QueueQueueCollection.getQueue(QueueDescriptor),
QueueDescriptor.createQueue(QueueCollection)public void markSegment(int n)
markSegment in interface Queuepublic boolean process(int[] segs)
throws RuntimeModelException
QueueQueueCollection.process(int[]).process in interface Queuetrue iff the execution of tasks resulted
in modifications to the GraphRuntimeModelException - if some error occurs during executionpublic void resetToSegment(int n)
resetToSegment in interface Queue