-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathNoncodingQueue.H
34 lines (28 loc) · 1.08 KB
/
NoncodingQueue.H
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
/****************************************************************
NoncodingQueue.H
Copyright (C)2013 William H. Majoros ([email protected]).
This is OPEN SOURCE SOFTWARE governed by the Gnu General Public
License (GPL) version 3, as described at www.opensource.org.
****************************************************************/
#ifndef INCL_NoncodingQueue_H
#define INCL_NoncodingQueue_H
#include "IntronQueue.H"
/*
This is a special type of SignalQueue in which there can be multiple
(overlapping) signals in the holding queue, but there can be only
one signal in the main queue. When a signal is ready to graduate
from the holding queue to the main queue we see if it is better than
the one in the main queue (i.e., has a better inductive score), and
if so, move it there; otherwise we discard it.
*/
class NoncodingQueue : public SignalQueue
{
public:
NoncodingQueue(ContentType,
int capacity,
NoncodingComparator *);
virtual void updateHoldingQueue(int position);
virtual void switchToIsochore(Isochore *);
virtual void resetQueue(Isochore *);
};
#endif