SPASS-XDB Implementation

Algorithm (5,4,1,2,3,6)

while (!Solved && (Usable || DeliveryPending || RequestQueue) {
    repeat {
        Accept deliveries, add to Usable;
        Dequeue requests and send
        if (!Usable && DeliveryPending) sleep(1);
    until (Usable || !DeliveryPending);
    if (!Usable) break;
    Move ChosenClause from Usable to WorkedOff;
    Enqueue requests for negative literals of ChosenClause
    Do relaxed-extended inferencing with ChosenClause
}

Controls on Retrieval