To prevent spam users, you can only post on this forum after registration, which is by invitation. If you want to post on the forum, please send me a mail (h DOT m DOT w DOT verbeek AT tue DOT nl) and I'll send you an invitation in return for an account.

removing Events from log

Hi everyone

I have a log and some pattern and I want to delete every occurrence of this pattern in the log. for example the log is [<a,b,c,d,e,f,g>,<a,c,d,c,d,e,g>,<a,c,c,b,c,e,e,g>] and the pattern is "d,e". The desirable log would be [<a,b,c,f,g>,<a,c,d,c,g>,<a,c,c,b,c,e,e,g>]. It is possible to check if a trace includes the pattern or not. But is there anyway for removing a special pattern or an event from a trace?

Any tip would be appreciated.

Comments

  • try 
    list.subList(from, to).clear<span>();
    
    </span> ;) <span>
    </span>
Sign In or Register to comment.