A B C D E G H I L M N P R S V

A

add(Object) - Method in class com.cogent.util.MinHeap
 
addDataPayload(Vector) - Method in class com.cogent.graph.Vertex
 
addDestination(SimProcessingElement) - Method in class com.cogent.SimPacket
 
addEdge(Edge) - Method in class com.cogent.graph.EdgeList
adds an edge to the edge list
addEdgeList(EdgeList) - Method in class com.cogent.graph.Vertex
 
addVertexLable(String) - Method in class com.cogent.graph.Vertex
 
addVertexReference(VertexReference) - Method in class com.cogent.graph.EdgeList
adds vertexReference to its owner graph
ADMIN_MESSAGE - Static variable in class com.cogent.SimPacket
 
ATTACHED_INSTRUCTION - Static variable in class com.cogent.SimPacket
 

B

bst_find(Node, int) - Static method in class com.cogent.instructions.PIM_instrs
 
bst_insert(Node, int) - Static method in class com.cogent.instructions.PIM_instrs
 

C

com.cogent - package com.cogent
 
com.cogent.events - package com.cogent.events
 
com.cogent.graph - package com.cogent.graph
 
com.cogent.instructions - package com.cogent.instructions
 
com.cogent.util - package com.cogent.util
 
comparator - Variable in class com.cogent.util.MinHeap
 

D

data - Variable in class com.cogent.graph.Node
 
dequeue() - Method in class com.cogent.SimEventQueue
Remove and return the next item from the priority queue.
dequeueNextPriorityLevel() - Method in class com.cogent.SimEventQueue
This method returns a vector of all events that occur with the next lowest priority, removing them all from the queue

E

Edge - class com.cogent.graph.Edge.
edge
Edge() - Constructor for class com.cogent.graph.Edge
 
Edge(VertexReference, VertexReference) - Constructor for class com.cogent.graph.Edge
creates an edge of a meaning and destination vertexReference
EdgeList - class com.cogent.graph.EdgeList.
edgeList
EdgeList() - Constructor for class com.cogent.graph.EdgeList
 
enqueue(SimEvent, long) - Method in class com.cogent.SimEventQueue
Adds a single event to the event queue with the given priority

G

getCodePayload() - Method in class com.cogent.SimPacket
 
getCreationTime() - Method in class com.cogent.events.SimEvent
 
getDataPayload() - Method in class com.cogent.graph.Vertex
 
getDestination() - Method in class com.cogent.events.SimPacketEvent
 
getDestination() - Method in class com.cogent.graph.Edge
 
getDestinations() - Method in class com.cogent.SimPacket
 
getDestinationSize() - Method in class com.cogent.SimPacket
 
getEdgeList() - Method in class com.cogent.graph.Vertex
 
getEdges() - Method in class com.cogent.graph.EdgeList
 
getInstance() - Method in class com.cogent.SimInstrumentationElement
 
getInstance() - Static method in class com.cogent.SimDispatchElement
 
getInstruction() - Method in class com.cogent.SimPacket
 
getMeaning() - Method in class com.cogent.graph.Edge
 
getMin() - Method in class com.cogent.util.MinHeap
 
getOwner() - Method in class com.cogent.graph.EdgeList
 
getPacket() - Method in class com.cogent.events.SimPacketEvent
 
getProcessingElement() - Method in class com.cogent.events.SimProcessingElementFinishedEvent
 
getVertex() - Method in class com.cogent.graph.VertexReference
 
getVertexLabel() - Method in class com.cogent.graph.VertexReference
 
getVertexLabel() - Method in class com.cogent.graph.Vertex
 

H

heap - Variable in class com.cogent.util.MinHeap
 
hello() - Static method in class com.cogent.instructions.PIM_instrs
 

I

isEmpty() - Method in class com.cogent.SimEventQueue
Returns whether the queue has more elements or not

L

left - Variable in class com.cogent.graph.Node
 

M

MinHeap - class com.cogent.util.MinHeap.
A Min Heap for a priority queue implementation.
MinHeap() - Constructor for class com.cogent.util.MinHeap
 
MinHeap(Comparator) - Constructor for class com.cogent.util.MinHeap
 
myCreationTime - Variable in class com.cogent.events.SimEvent
 
myDestination - Variable in class com.cogent.events.SimPacketEvent
 
myPacket - Variable in class com.cogent.events.SimPacketEvent
 
myProcessingElement - Variable in class com.cogent.events.SimProcessingElementFinishedEvent
 

N

Node - class com.cogent.graph.Node.
 
Node() - Constructor for class com.cogent.graph.Node
 

P

peek() - Method in class com.cogent.SimEventQueue
Return the next element in the queue by priority without removing it
percolateDown(int) - Method in class com.cogent.util.MinHeap
 
percolateUp() - Method in class com.cogent.util.MinHeap
 
PIM_instrs - class com.cogent.instructions.PIM_instrs.
The base class of all PIM instructions.
PIM_instrs() - Constructor for class com.cogent.instructions.PIM_instrs
 
postEvent(SimEvent, long) - Method in class com.cogent.SimDispatchElement
Callback from Processing elements to add events to the event queue.
PREDEFINED_INSTRUCTION - Static variable in class com.cogent.SimPacket
 
processEvent(SimEvent) - Method in class com.cogent.SimProcessingElement
 
processEvent(SimEvent) - Method in class com.cogent.SimPIM
Receives events from the dispatcher.

R

recordEvent(SimEvent) - Method in class com.cogent.SimInstrumentationElement
 
removeMin() - Method in class com.cogent.util.MinHeap
 
right - Variable in class com.cogent.graph.Node
 
run() - Method in class com.cogent.SimPIM
While the PIM is alive, sleep until the dispatcher sends an event.
run() - Method in class com.cogent.SimDispatchElement
While there are no events to process, wait.

S

setCodePayload(SimRunnable) - Method in class com.cogent.SimPacket
 
setCreationTime(long) - Method in class com.cogent.events.SimEvent
 
setInstruction(int) - Method in class com.cogent.SimPacket
 
setPIMInstrLatency(int) - Static method in class com.cogent.instructions.PIM_instrs
 
setVertex(Vertex) - Method in class com.cogent.graph.VertexReference
creates a reference to a vertex
setVertexLabel(String) - Method in class com.cogent.graph.VertexReference
creates a label of the referenced vertex add
Sim_Exit(long) - Method in class com.cogent.SimPIM
Indicates the PIM is done processing
Sim_receive() - Method in class com.cogent.SimPIM
This method returns the next event from the queue.
Sim_send(SimEvent) - Method in class com.cogent.SimPIM
This method sends an event to the dispatcher.
SimBootEvent - class com.cogent.events.SimBootEvent.
Represents an simulator (Packetless) event that indicates the system has finished booting.
SimBootEvent() - Constructor for class com.cogent.events.SimBootEvent
 
SimBSTExample - class com.cogent.SimBSTExample.
A simulated Hello World.
SimBSTExample() - Constructor for class com.cogent.SimBSTExample
 
SimDispatchElement - class com.cogent.SimDispatchElement.
The dispatcher.
SimElement - class com.cogent.SimElement.
The base class of all simulation elements.
SimElement() - Constructor for class com.cogent.SimElement
 
SimEvent - class com.cogent.events.SimEvent.
The base class of all events.
SimEvent() - Constructor for class com.cogent.events.SimEvent
 
SimEventQueue - class com.cogent.SimEventQueue.
The event queue contains a MinHeap to implement a priority queue.
SimEventQueue() - Constructor for class com.cogent.SimEventQueue
Constructor, creates an empty EventQueue
SimHelloWorld - class com.cogent.SimHelloWorld.
A simulated Hello World.
SimHelloWorld() - Constructor for class com.cogent.SimHelloWorld
 
SimInstrumentationElement - class com.cogent.SimInstrumentationElement.
 
SimInstrumentationEvent - class com.cogent.events.SimInstrumentationEvent.
Skeleton for an instrumentation event to be logged
SimInstrumentationEvent() - Constructor for class com.cogent.events.SimInstrumentationEvent
 
SimNullEvent - class com.cogent.events.SimNullEvent.
The base class of all simulator (Packetless) events.
SimNullEvent(long) - Constructor for class com.cogent.events.SimNullEvent
 
SimPacket - class com.cogent.SimPacket.
Skeleton for a Hardware Packet - Still under construction
SimPacket() - Constructor for class com.cogent.SimPacket
 
SimPacketArriveEvent - class com.cogent.events.SimPacketArriveEvent.
Indicates an message arrived at a processing element
SimPacketArriveEvent(SimPacket, long, SimProcessingElement) - Constructor for class com.cogent.events.SimPacketArriveEvent
 
SimPacketDepartEvent - class com.cogent.events.SimPacketDepartEvent.
Indicates a message is leaving a processing element
SimPacketDepartEvent(SimPacket, long) - Constructor for class com.cogent.events.SimPacketDepartEvent
 
SimPacketEvent - class com.cogent.events.SimPacketEvent.
The base class of all simulated (contain packet) events.
SimPacketEvent() - Constructor for class com.cogent.events.SimPacketEvent
 
SimPIM - class com.cogent.SimPIM.
The PIM.
SimPIM(int) - Constructor for class com.cogent.SimPIM
Constructor, starts the thread running
SimProcessingElement - class com.cogent.SimProcessingElement.
The base class of all simulation processing elements.
SimProcessingElement() - Constructor for class com.cogent.SimProcessingElement
 
SimProcessingElementFinishedEvent - class com.cogent.events.SimProcessingElementFinishedEvent.
Simulator (packetless) event that indicates a processing element is done with its workload and has sent all messages that it needs to.
SimProcessingElementFinishedEvent(long, SimProcessingElement) - Constructor for class com.cogent.events.SimProcessingElementFinishedEvent
 
SimRunnable - interface com.cogent.SimRunnable.
This interface represents a program that can be run on a PIM.
SimRunnableMain(SimPIM) - Method in class com.cogent.SimBSTExample
This method fulfills the contract of the SimRunnable interface.
SimRunnableMain(SimPIM) - Method in class com.cogent.SimHelloWorld
This method fulfills the contract of the SimRunnable interface.
SimRunnableMain(SimPIM) - Method in interface com.cogent.SimRunnable
Implement this method to define a program
size - Variable in class com.cogent.util.MinHeap
 
STATUS_REPORT - Static variable in class com.cogent.SimPacket
 
STORE_DATA - Static variable in class com.cogent.SimPacket
 
STORE_METHOD - Static variable in class com.cogent.SimPacket
 

V

Vertex - class com.cogent.graph.Vertex.
vertex
Vertex() - Constructor for class com.cogent.graph.Vertex
default constructor
VertexReference - class com.cogent.graph.VertexReference.
vertexReferences
VertexReference() - Constructor for class com.cogent.graph.VertexReference
default constructor
VertexReference(Vertex, String) - Constructor for class com.cogent.graph.VertexReference
 

A B C D E G H I L M N P R S V