#include <DESunorderedSerial.h>
Private Member Functions | |
virtual bool | isSerial () const |
return true in serial versions and false in Galois versions | |
virtual void | runLoop (const SimInit &simInit) |
Run loop. |
virtual bool DESunorderedSerial::isSerial | ( | ) | const [inline, private, virtual] |
return true in serial versions and false in Galois versions
Implements DESabstractMain.
virtual void DESunorderedSerial::runLoop | ( | const SimInit & | simInit | ) | [inline, private, virtual] |
Run loop.
Does not use GaloisRuntime or Galois worklists
To ensure uniqueness of items on the worklist, we keep a list of boolean flags for each node, which indicate whether the node is on the worklist. When adding a node to the worklist, the flag corresponding to a node is set to True if it was previously False. The flag reset to False when the node is removed from the worklist. This list of flags provides a cheap way of implementing set semantics.
Implements DESabstractMain.