java.lang.Object
java.io.OutputStream
de.grogra.util.OutputQueue
de.grogra.util.HierarchicalQueue
de.grogra.xl.impl.base.GraphQueue
de.grogra.xl.impl.base.GraphQueueImpl
- All Implemented Interfaces:
Queue
,ObjectConsumer
,Closeable
,DataOutput
,Flushable
,ObjectOutput
,AutoCloseable
,Executor
-
Nested Class Summary
Nested classes/interfaces inherited from class de.grogra.xl.impl.base.GraphQueue
GraphQueue.AddEdgeDescriptor, GraphQueue.AddNodeDescriptor, GraphQueue.AddUndirectedEdgeDescriptor, GraphQueue.ConnectDescriptor, GraphQueue.DeleteEdgeDescriptor, GraphQueue.DeleteNodeDescriptor, GraphQueue.ExecuteDescriptor, GraphQueue.Processor
Nested classes/interfaces inherited from class de.grogra.util.HierarchicalQueue
HierarchicalQueue.Cursor, HierarchicalQueue.Data, HierarchicalQueue.Reader
-
Field Summary
Fields inherited from class de.grogra.xl.impl.base.GraphQueue
ADD_EDGE_DESCRIPTOR, ADD_NODE_DESCRIPTOR, ADD_UNDIRECTED_EDGE_DESCRIPTOR, CONNECT_DESCRIPTOR, DELETE_EDGE_DESCRIPTOR, DELETE_NODE_DESCRIPTOR, EXECUTE_DESCRIPTOR, FIRST_QUEUE, LAST_QUEUE
Fields inherited from class de.grogra.util.HierarchicalQueue
BEGIN_LEVEL, IS_FINISHED, ITEM_AND_BITS_MASK, ITEM_MASK, MAX_UNUSED_BIT, MIN_UNUSED_BIT, MIN_UNUSED_ITEM, NEXT_EXISTS, out
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addEdgeBits
(Object source, Object target, int edges) void
void
addUndirectedEdgeBits
(Object source, Object target, int edges) void
clearSegmentsToExclude
(int[] segs) void
void
connectAdjacent
(Object start, Object end, int edges) void
connectIncoming
(Object source, Object target, Operator op) void
connectOutgoing
(Object source, Object target, Operator op) void
Receives a value of typeT
.void
copyIncoming
(Object source, Object target, int edges) void
copyIncoming
(Object source, Object target, int edges, int copyMask, int addMask) void
copyOutgoing
(Object source, Object target, int edges) void
copyOutgoing
(Object source, Object target, int edges, int copyMask, int addMask) protected GraphQueue.Processor
void
deleteCurrentEdges
(Object node, int edges, boolean outgoing) void
deleteEdgeBits
(Object source, Object target, int edges) void
deleteNode
(Object node) void
embedInterpretive
(Object interpreted, Object start, Object end) void
protected RuntimeModel
getModel()
protected TypeLoader
protected int
maskConnectionEdges
(int edges) void
moveIncoming
(Object source, Object target, int edges) void
moveOutgoing
(Object source, Object target, int edges) boolean
process
(int[] segs) Processes all queued tasks.Methods inherited from class de.grogra.xl.impl.base.GraphQueue
clear, clearSegmentsToExcludeImpl, getDescriptor, markSegment, resetToSegment
Methods inherited from class de.grogra.util.HierarchicalQueue
beginLevel, beginSkipBlock, cloneData, createData, discardLevel, endLevel, endSkipBlock, getCursor, getData, hasItems, hasItemsInCurrentLevel, moveTo, restore, setItemSize, writeItem, writeObject, writeObjectInStream
Methods inherited from class de.grogra.util.OutputQueue
close, dump, flush, write, write, write, writeBoolean, writeByte, writeBytes, writeChar, writeChars, writeDouble, writeFloat, writeInt, writeLong, writeObjectInQueue, writeShort, writeUTF
Methods inherited from class java.io.OutputStream
nullOutputStream
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface java.io.DataOutput
writeBoolean, writeByte, writeBytes, writeChar, writeChars, writeDouble, writeFloat, writeInt, writeLong, writeShort, writeUTF
-
Field Details
-
INCOMING
public static final int INCOMING- See Also:
-
OUTGOING
public static final int OUTGOING- See Also:
-
-
Constructor Details
-
GraphQueueImpl
-
-
Method Details
-
getModel
- Specified by:
getModel
in classGraphQueue
-
addNode
- Specified by:
addNode
in classGraphQueue
-
addEdgeBits
- Specified by:
addEdgeBits
in classGraphQueue
-
addUndirectedEdgeBits
- Specified by:
addUndirectedEdgeBits
in classGraphQueue
-
deleteEdgeBits
- Specified by:
deleteEdgeBits
in classGraphQueue
-
deleteCurrentEdges
- Specified by:
deleteCurrentEdges
in classGraphQueue
-
deleteNode
- Specified by:
deleteNode
in classGraphQueue
-
copyIncoming
- Specified by:
copyIncoming
in classGraphQueue
-
moveIncoming
- Specified by:
moveIncoming
in classGraphQueue
-
copyIncoming
- Specified by:
copyIncoming
in classGraphQueue
-
copyOutgoing
- Specified by:
copyOutgoing
in classGraphQueue
-
moveOutgoing
- Specified by:
moveOutgoing
in classGraphQueue
-
copyOutgoing
- Specified by:
copyOutgoing
in classGraphQueue
-
connectIncoming
- Specified by:
connectIncoming
in classGraphQueue
-
connectOutgoing
- Specified by:
connectOutgoing
in classGraphQueue
-
connect
- Specified by:
connect
in classGraphQueue
-
connectAdjacent
- Specified by:
connectAdjacent
in classGraphQueue
-
embedInterpretive
- Specified by:
embedInterpretive
in classGraphQueue
-
execute
-
maskConnectionEdges
protected int maskConnectionEdges(int edges) -
getTypeLoader
-
clearSegmentsToExclude
public void clearSegmentsToExclude(int[] segs) - Specified by:
clearSegmentsToExclude
in interfaceQueue
-
createProcessor
- Specified by:
createProcessor
in classGraphQueue
-
consume
Description copied from interface:ObjectConsumer
Receives a value of typeT
.- Specified by:
consume
in interfaceObjectConsumer
-
process
Description copied from interface:Queue
Processes all queued tasks. This method is invoked byQueueCollection.process(int[])
.- Specified by:
process
in interfaceQueue
- Overrides:
process
in classGraphQueue
- Returns:
true
iff the execution of tasks resulted in modifications to theGraph
- Throws:
RuntimeModelException
- if some error occurs during execution
-