Security and Communication Networks / 2019 / Article / Alg 6

Research Article

Efficient Extraction of Network Event Types from NetFlows

Algorithm 6

Heuristic driven flow subset with limited average search.
1: function SUBSETSEARCH(formulaavg, Flows)
2:  flows sort(flows, flows.Bytes)           optional pre-sorting
3:  while flows   do
4:   if avg(flows.Bytes)     formulaavg.range then
5:    flow  min(flows, flows.Bytes)
6:    flows    flows    flow
7:   else if avg(flows.Bytes)  formulaavg.range then
8:   flow max(flows, flows.Bytes)
9:   flows   flows    flow
10:   else
11:   break
12:   end if
13: end while
14: return flows
15: end function

We are committed to sharing findings related to COVID-19 as quickly as possible. We will be providing unlimited waivers of publication charges for accepted research articles as well as case reports and case series related to COVID-19. Review articles are excluded from this waiver policy. Sign up here as a reviewer to help fast-track new submissions.