Dependencies:
 - boost libary (boost.org) 1.74.0 (higher probably also works)


Build (requires cmake):
cmake CMakeList.txt
make 

Input File Format:
First Line: Event Sequence X, events as whole numbers starting with 0. End of Sequence X has to marked with -1
Second Line: Y Sequence, ordered location of Interesting Events
Example:
0 4 1 0 3 4 2 -1
2 6

represents X Sequence of Length 7 with 5 different Events and the following Y sequence: 0 0 1 0 0 0 1 i.e. Interesting Events at index 2 and 6. 

Usage:
./omen -i input_file.txt -o output_folder -g 1

Program Attributes:
-g <int>  relative max window i.e. length of  pattern length times 'g' argument 
-w <int>  (optional, default 0) max window length offset i.e. max_window_length = patten_length * g + w

-a optional, uses AlignFar instead 
-s optional, uses fOmen instead 
-m optional min overlap threshold for fOmen, default 0.01


