Questions tagged as 'algoritmo'

1
answer

Calculation of the Shannon entropy in a network traffic (saved in CAP file) using Python

I have a dump file (CAP format) of a network traffic capture made with the Ubuntu tcp dump. Until a certain time, it is attack-free traffic. Then a series of TCP SYN flooding attacks begin. My goal is to calculate the entropy of each of the traf...
asked by 01.03.2017 / 15:17
1
answer

Search in graphs to solve the theorem of euler

Hello, I would like some help to do a search on a graph and check if it satisfies the euler theorem. Theorem says: " A connected graph will contain an Euler cycle if, and only if, each of the vertices has an even number of edges falling on it...
asked by 24.08.2016 / 18:07
1
answer

Adjacent values

I need to create an algorithm that calculates the minimum distance value between the indexes of an array containing adjacent values . But what are adjacent values could anyone give me examples? For example, in matrix A such that: A...
asked by 11.02.2016 / 20:57
1
answer

Sending a message to a local network in the broadcast style via UDP

I made a question about P2P connection , then with one of the answers came the question: How to send a message on a local network via UDP in the broadcast style, without a specific recipient? With this I would like the following solutions:...
asked by 24.06.2015 / 23:06
1
answer

What algorithm is this? [closed]

Knowing that: [] denotes an array [A|B] extracts the first element of the array in A and the rest of the array in B [X, Y] ++ [Z] creates a concatenated array [X, Y, Z] [ X || X <- [1, 2, 3, 4]...
asked by 06.10.2016 / 02:16
1
answer

Queue implementation in ANSI C

I have a code (end of question) that allows the handling of a queue in ANSI C , my question is as follows: The code declares a data type itself to store the queue data and has a function to create a queue, however it uses in the integer exampl...
asked by 18.08.2016 / 22:47
1
answer

Autocorrelation function in Python

Hello, everyone! I have a data .txt file with two columns (in X I have the values in days of observations and in Y the Measured Flow of a sample) I want to calculate the Period with which this data is repeated and I would like to do this u...
asked by 24.01.2018 / 17:53
1
answer

Recombination algorithm

Imagine the following scenario: a gas station is sued for tax evasion by issuing an invoice of tax coupons already issued - what happens is that each vehicle of the companies agreed to the station supplied and at the end of the month the station...
asked by 05.04.2016 / 22:02
1
answer

Algorithm for connecting points in a graph with curved lines

I need to develop an algorithm that connects points in a nonlinear way, that is, with smooth curves, as in the image below: TheproblemisthatIcannotfindthebestsolution,eitherusing Bezier curves , Polimonial Interpolation , Curve Adjustmen...
asked by 05.08.2018 / 04:03
0
answers

Error in decryption code using vb.net! [closed]

I'm having trouble decrypting with the code below that I found on the net: When you debug it is possible to see that in the TripleDES.Key property has the value 16 in length and Buffer 15, is it for this reason? How t...
asked by 13.06.2015 / 23:44